Pull request #14 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-hcl for edgexfoundry/device-uart Loading trusted files from base branch main at 45a931a0542841c366d3c8b3b227d12dead9e8fd rather than 745fcda9006c1fb0566371198e638298a3789750 Obtained Jenkinsfile from 45a931a0542841c366d3c8b3b227d12dead9e8fd 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-ssh8398353571175568911.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-ssh5162815324443590914.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-14/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-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12244073876134322668.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-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16569110919712857605.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-ssh9602245726913040481.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-14/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-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4318532214516114634.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 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 Running on prd-ubuntu20.04-docker-8c-8g-127 in /w/workspace/edgexfoundry_device-uart_PR-14 [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-14 # 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 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 745fcda9006c1fb0566371198e638298a3789750 > 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/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 > git remote # timeout=10 Merge succeeded, producing 745fcda9006c1fb0566371198e638298a3789750 Checking out Revision 745fcda9006c1fb0566371198e638298a3789750 (PR-14) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 Commit message: "Merge branch 'main' into main" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-28T13:28:04.780Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-28T13:28:04.960Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-28T13:28:05.059Z] ========================================================= [2023-06-28T13:28:05.059Z] EdgeX Global Pipelines Version Info [2023-06-28T13:28:05.059Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:28:05.815Z] ------------------- [2023-06-28T13:28:05.815Z] stable info: [2023-06-28T13:28:05.815Z] ------------------- [2023-06-28T13:28:05.815Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-28T13:28:05.815Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-28T13:28:05.815Z] Message: update stable to v1.0.250 [2023-06-28T13:28:06.383Z] ------------------- [2023-06-28T13:28:06.383Z] experimental info: [2023-06-28T13:28:06.383Z] ------------------- [2023-06-28T13:28:06.383Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-28T13:28:06.383Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-28T13:28:06.383Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-28T13:28:06.671Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-06-28T13:28:06.716Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-06-28T13:28:06.758Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-28T13:28:06.800Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-28T13:28:06.846Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-28T13:28:06.887Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-28T13:28:06.925Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-28T13:28:06.968Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-28T13:28:07.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-28T13:28:07.047Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-28T13:28:07.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-28T13:28:07.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-06-28T13:28:07.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-28T13:28:07.291Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-28T13:28:07.334Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-28T13:28:07.413Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-28T13:28:07.456Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-28T13:28:07.570Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-28T13:28:07.708Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-28T13:28:07.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-28T13:28:07.794Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-28T13:28:07.838Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-28T13:28:07.878Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-28T13:28:07.919Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-28T13:28:07.969Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-28T13:28:08.013Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-28T13:28:08.055Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-28T13:28:08.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo [2023-06-28T13:28:08.129Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo [2023-06-28T13:28:08.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo [2023-06-28T13:28:08.216Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo [2023-06-28T13:28:08.258Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 745fcda [Pipeline] echo [2023-06-28T13:28:08.297Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-28T13:28:08.414Z] provisioning config files... [2023-06-28T13:28:08.431Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config7647825886981287604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:28:08.775Z] ---> docker-login.sh [2023-06-28T13:28:08.775Z] nexus3.edgexfoundry.org:10001 [2023-06-28T13:28:08.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:09.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:09.035Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:09.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:09.035Z] [2023-06-28T13:28:09.035Z] Login Succeeded [2023-06-28T13:28:09.035Z] nexus3.edgexfoundry.org:10002 [2023-06-28T13:28:09.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:09.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:09.295Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:09.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:09.295Z] [2023-06-28T13:28:09.295Z] Login Succeeded [2023-06-28T13:28:09.295Z] nexus3.edgexfoundry.org:10003 [2023-06-28T13:28:09.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:09.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:09.295Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:09.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:09.295Z] [2023-06-28T13:28:09.295Z] Login Succeeded [2023-06-28T13:28:09.295Z] nexus3.edgexfoundry.org:10004 [2023-06-28T13:28:09.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:09.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:09.295Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:09.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:09.295Z] [2023-06-28T13:28:09.295Z] Login Succeeded [2023-06-28T13:28:09.295Z] docker.io [2023-06-28T13:28:09.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:09.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:09.815Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:09.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:09.815Z] [2023-06-28T13:28:09.815Z] Login Succeeded [2023-06-28T13:28:09.815Z] ---> docker-login.sh ends [Pipeline] } [2023-06-28T13:28:09.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-28T13:28:10.439Z] + git rev-list -1 --merges 745fcda9006c1fb0566371198e638298a3789750~1..745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo [2023-06-28T13:28:10.497Z] -----------> git rev-list -1 --merges 745fcda9006c1fb0566371198e638298a3789750~1..745fcda9006c1fb0566371198e638298a3789750 745fcda9006c1fb0566371198e638298a3789750 [2023-06-28T13:28:10.497Z] 745fcda9006c1fb0566371198e638298a3789750 [false] [Pipeline] sh [2023-06-28T13:28:10.850Z] + git log --format=format:%s -1 745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo [2023-06-28T13:28:10.883Z] ========================================================= [2023-06-28T13:28:10.883Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-28T13:28:10.883Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-28T13:28:11.317Z] + git log --format=format:%s -1 745fcda9006c1fb0566371198e638298a3789750 [Pipeline] echo [2023-06-28T13:28:11.348Z] [semverPrep] GIT_COMMIT: 745fcda9006c1fb0566371198e638298a3789750, Commit Message: Merge branch 'main' into main [Pipeline] echo [2023-06-28T13:28:11.419Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-28T13:28:11.817Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-28T13:28:11.817Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-28T13:28:11.817Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-28T13:28:11.817Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-28T13:28:11.817Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-28T13:28:11.817Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-28T13:28:11.817Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:28:12.297Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-28T13:28:12.297Z] [2023-06-28T13:28:12.297Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:28:12.662Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-28T13:28:12.662Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-28T13:28:12.662Z] b85a868b505f: Pulling fs layer [2023-06-28T13:28:12.662Z] e2be974225ed: Pulling fs layer [2023-06-28T13:28:12.662Z] 339a4e72a1f5: Pulling fs layer [2023-06-28T13:28:12.662Z] 988bab9f4d93: Pulling fs layer [2023-06-28T13:28:12.662Z] 1469e6f7b9e6: Pulling fs layer [2023-06-28T13:28:12.662Z] eaf3925da568: Pulling fs layer [2023-06-28T13:28:12.662Z] 988bab9f4d93: Waiting [2023-06-28T13:28:12.662Z] eaf3925da568: Waiting [2023-06-28T13:28:12.662Z] bab4dde63d76: Pulling fs layer [2023-06-28T13:28:12.662Z] bde34c3a00c8: Pulling fs layer [2023-06-28T13:28:12.662Z] b352a97aabf1: Pulling fs layer [2023-06-28T13:28:12.662Z] 4872d77fe225: Pulling fs layer [2023-06-28T13:28:12.662Z] 5851b861e8e6: Pulling fs layer [2023-06-28T13:28:12.662Z] b352a97aabf1: Waiting [2023-06-28T13:28:12.662Z] bde34c3a00c8: Waiting [2023-06-28T13:28:12.662Z] 4872d77fe225: Waiting [2023-06-28T13:28:12.662Z] 5851b861e8e6: Waiting [2023-06-28T13:28:12.662Z] bab4dde63d76: Waiting [2023-06-28T13:28:12.662Z] e2be974225ed: Download complete [2023-06-28T13:28:12.662Z] 988bab9f4d93: Verifying Checksum [2023-06-28T13:28:12.662Z] 988bab9f4d93: Download complete [2023-06-28T13:28:12.662Z] 1469e6f7b9e6: Verifying Checksum [2023-06-28T13:28:12.662Z] 1469e6f7b9e6: Download complete [2023-06-28T13:28:12.662Z] eaf3925da568: Verifying Checksum [2023-06-28T13:28:12.662Z] eaf3925da568: Download complete [2023-06-28T13:28:12.921Z] 339a4e72a1f5: Verifying Checksum [2023-06-28T13:28:12.921Z] 339a4e72a1f5: Download complete [2023-06-28T13:28:12.921Z] bde34c3a00c8: Verifying Checksum [2023-06-28T13:28:12.921Z] bde34c3a00c8: Download complete [2023-06-28T13:28:12.921Z] b352a97aabf1: Download complete [2023-06-28T13:28:12.921Z] 4872d77fe225: Verifying Checksum [2023-06-28T13:28:12.921Z] 4872d77fe225: Download complete [2023-06-28T13:28:12.921Z] 5851b861e8e6: Verifying Checksum [2023-06-28T13:28:12.921Z] 5851b861e8e6: Download complete [2023-06-28T13:28:12.921Z] b85a868b505f: Verifying Checksum [2023-06-28T13:28:12.921Z] b85a868b505f: Download complete [2023-06-28T13:28:13.180Z] bab4dde63d76: Verifying Checksum [2023-06-28T13:28:13.180Z] bab4dde63d76: Download complete [2023-06-28T13:28:14.115Z] b85a868b505f: Pull complete [2023-06-28T13:28:14.115Z] e2be974225ed: Pull complete [2023-06-28T13:28:14.686Z] 339a4e72a1f5: Pull complete [2023-06-28T13:28:14.686Z] 988bab9f4d93: Pull complete [2023-06-28T13:28:14.686Z] 1469e6f7b9e6: Pull complete [2023-06-28T13:28:14.946Z] eaf3925da568: Pull complete [2023-06-28T13:28:16.321Z] bab4dde63d76: Pull complete [2023-06-28T13:28:16.581Z] bde34c3a00c8: Pull complete [2023-06-28T13:28:16.581Z] b352a97aabf1: Pull complete [2023-06-28T13:28:16.581Z] 4872d77fe225: Pull complete [2023-06-28T13:28:18.077Z] 5851b861e8e6: Pull complete [2023-06-28T13:28:18.077Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-28T13:28:18.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-28T13:28:18.077Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:28:18.304Z] prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container [2023-06-28T13:28:18.344Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-28T13:28:21.917Z] $ docker top 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a -eo pid,comm [2023-06-28T13:28:21.971Z] 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-06-28T13:28:21.971Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-28T13:28:22.097Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-28T13:28:22.097Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-28T13:28:22.211Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-28T13:28:22.217Z] $ docker exec 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent [2023-06-28T13:28:22.305Z] SSH_AUTH_SOCK=/tmp/ssh-dKsJoKsmgSi6/agent.32 [2023-06-28T13:28:22.305Z] SSH_AGENT_PID=38 [2023-06-28T13:28:22.312Z] Running ssh-add (command line suppressed) [2023-06-28T13:28:22.414Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_10067879337501820143.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_10067879337501820143.key) [2023-06-28T13:28:22.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-28T13:28:22.747Z] + git tag --points-at HEAD [Pipeline] } [2023-06-28T13:28:22.781Z] $ docker exec --env ******** --env ******** 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent -k [2023-06-28T13:28:22.879Z] unset SSH_AUTH_SOCK; [2023-06-28T13:28:22.879Z] unset SSH_AGENT_PID; [2023-06-28T13:28:22.879Z] echo Agent pid 38 killed; [2023-06-28T13:28:22.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-28T13:28:22.964Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-28T13:28:22.964Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-28T13:28:23.071Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-28T13:28:23.077Z] $ docker exec 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent [2023-06-28T13:28:23.184Z] SSH_AUTH_SOCK=/tmp/ssh-QRYUsUigPKH8/agent.70 [2023-06-28T13:28:23.184Z] SSH_AGENT_PID=76 [2023-06-28T13:28:23.189Z] Running ssh-add (command line suppressed) [2023-06-28T13:28:23.301Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_13081820908613776918.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_13081820908613776918.key) [2023-06-28T13:28:23.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-28T13:28:23.638Z] + git semver init [2023-06-28T13:28:23.898Z] 2023-06-28 13:28:23,830 [run_init] DEBUG init version:0.0.0 force:False [2023-06-28T13:28:23.898Z] 2023-06-28 13:28:23,830 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-28T13:28:23.898Z] 2023-06-28 13:28:23,831 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-28T13:28:23.898Z] 2023-06-28 13:28:23,831 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-14/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14, universal_newlines=False, shell=None, istream=None) [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,640 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,640 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,641 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,644 [execute] INFO git cat-file --batch-check [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,645 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,652 [execute] INFO git cat-file --batch [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,652 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-28T13:28:24.837Z] 2023-06-28 13:28:24,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-28T13:28:24.837Z] 0.0.0 [Pipeline] } [2023-06-28T13:28:24.864Z] $ docker exec --env ******** --env ******** 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a ssh-agent -k [2023-06-28T13:28:24.955Z] unset SSH_AUTH_SOCK; [2023-06-28T13:28:24.955Z] unset SSH_AGENT_PID; [2023-06-28T13:28:24.955Z] echo Agent pid 76 killed; [2023-06-28T13:28:24.962Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-28T13:28:25.367Z] + git semver [Pipeline] } [2023-06-28T13:28:25.652Z] $ docker stop --time=1 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a [2023-06-28T13:28:26.940Z] $ docker rm -f --volumes 1cc6a0dfa5ad8774567bb8ae2f8a8899f536d764945923bb3bb438e36e8d022a [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-28T13:28:27.333Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-28T13:28:27.593Z] Stashed 1 file(s) [Pipeline] echo [2023-06-28T13:28:27.613Z] [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-06-28T13:28:28.216Z] provisioning config files... [2023-06-28T13:28:28.228Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config13463518025485471465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:28:28.570Z] ---> docker-login.sh [2023-06-28T13:28:28.570Z] nexus3.edgexfoundry.org:10001 [2023-06-28T13:28:28.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:28.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:28.570Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:28.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:28.570Z] [2023-06-28T13:28:28.570Z] Login Succeeded [2023-06-28T13:28:28.570Z] nexus3.edgexfoundry.org:10002 [2023-06-28T13:28:28.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:28.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:28.570Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:28.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:28.570Z] [2023-06-28T13:28:28.570Z] Login Succeeded [2023-06-28T13:28:28.570Z] nexus3.edgexfoundry.org:10003 [2023-06-28T13:28:28.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:28.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:28.829Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:28.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:28.829Z] [2023-06-28T13:28:28.829Z] Login Succeeded [2023-06-28T13:28:28.829Z] nexus3.edgexfoundry.org:10004 [2023-06-28T13:28:28.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:28.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:28.829Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:28.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:28.829Z] [2023-06-28T13:28:28.829Z] Login Succeeded [2023-06-28T13:28:28.829Z] docker.io [2023-06-28T13:28:28.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:28:29.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:28:29.089Z] Configure a credential helper to remove this warning. See [2023-06-28T13:28:29.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:28:29.089Z] [2023-06-28T13:28:29.089Z] Login Succeeded [2023-06-28T13:28:29.089Z] ---> docker-login.sh ends [Pipeline] } [2023-06-28T13:28:29.117Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-28T13:28:29.304Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T13:28:29.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T13:28:29.368Z] ========================================================= [2023-06-28T13:28:29.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-28T13:28:29.368Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:28:29.818Z] + 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-06-28T13:28:29.818Z] Sending build context to Docker daemon 11.09MB [2023-06-28T13:28:29.818Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-28T13:28:29.818Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-28T13:28:29.818Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-28T13:28:29.818Z] f56be85fc22e: Pulling fs layer [2023-06-28T13:28:29.818Z] 85791d961cd3: Pulling fs layer [2023-06-28T13:28:29.818Z] d694b5ae8c79: Pulling fs layer [2023-06-28T13:28:29.818Z] 9f32a84ed3da: Pulling fs layer [2023-06-28T13:28:29.818Z] 4d19c01a9841: Pulling fs layer [2023-06-28T13:28:29.818Z] 9325e15d5711: Pulling fs layer [2023-06-28T13:28:29.818Z] 556b6ee489ea: Pulling fs layer [2023-06-28T13:28:29.818Z] c5a4b2cf53e6: Pulling fs layer [2023-06-28T13:28:29.818Z] 9f32a84ed3da: Waiting [2023-06-28T13:28:29.818Z] 9325e15d5711: Waiting [2023-06-28T13:28:29.818Z] 556b6ee489ea: Waiting [2023-06-28T13:28:29.818Z] c5a4b2cf53e6: Waiting [2023-06-28T13:28:29.818Z] 4d19c01a9841: Waiting [2023-06-28T13:28:29.818Z] 85791d961cd3: Download complete [2023-06-28T13:28:30.078Z] 9f32a84ed3da: Download complete [2023-06-28T13:28:30.078Z] 4d19c01a9841: Verifying Checksum [2023-06-28T13:28:30.078Z] 4d19c01a9841: Download complete [2023-06-28T13:28:30.078Z] f56be85fc22e: Verifying Checksum [2023-06-28T13:28:30.078Z] f56be85fc22e: Download complete [2023-06-28T13:28:30.078Z] 9325e15d5711: Verifying Checksum [2023-06-28T13:28:30.078Z] 9325e15d5711: Download complete [2023-06-28T13:28:30.078Z] f56be85fc22e: Pull complete [2023-06-28T13:28:30.339Z] 85791d961cd3: Pull complete [2023-06-28T13:28:30.600Z] c5a4b2cf53e6: Verifying Checksum [2023-06-28T13:28:30.600Z] c5a4b2cf53e6: Download complete [2023-06-28T13:28:30.600Z] d694b5ae8c79: Download complete [2023-06-28T13:28:30.860Z] 556b6ee489ea: Verifying Checksum [2023-06-28T13:28:30.860Z] 556b6ee489ea: Download complete [2023-06-28T13:28:34.143Z] d694b5ae8c79: Pull complete [2023-06-28T13:28:34.143Z] 9f32a84ed3da: Pull complete [2023-06-28T13:28:34.143Z] 4d19c01a9841: Pull complete [2023-06-28T13:28:34.143Z] 9325e15d5711: Pull complete [2023-06-28T13:28:36.045Z] 556b6ee489ea: Pull complete [2023-06-28T13:28:36.981Z] c5a4b2cf53e6: Pull complete [2023-06-28T13:28:36.981Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-28T13:28:36.981Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-28T13:28:36.981Z] ---> c4be618373d6 [2023-06-28T13:28:36.981Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-28T13:28:41.175Z] ---> Running in 7c9b79e6db5e [2023-06-28T13:28:41.433Z] Removing intermediate container 7c9b79e6db5e [2023-06-28T13:28:41.433Z] ---> f94b7cb02412 [2023-06-28T13:28:41.433Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-28T13:28:41.433Z] ---> Running in ae5e514bccf7 [2023-06-28T13:28:41.433Z] Removing intermediate container ae5e514bccf7 [2023-06-28T13:28:41.433Z] ---> 3bc07eb97bec [2023-06-28T13:28:41.433Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-28T13:28:41.433Z] ---> Running in ba73993f2695 [2023-06-28T13:28:41.691Z] Removing intermediate container ba73993f2695 [2023-06-28T13:28:41.691Z] ---> 76a672463357 [2023-06-28T13:28:41.691Z] Step 6/12 : WORKDIR /device-uart [2023-06-28T13:28:41.691Z] ---> Running in 477c420ce087 [2023-06-28T13:28:41.691Z] Removing intermediate container 477c420ce087 [2023-06-28T13:28:41.691Z] ---> 95c1441936ce [2023-06-28T13:28:41.691Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-28T13:28:41.691Z] ---> Running in 67400c93f773 [2023-06-28T13:28:41.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-28T13:28:42.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-28T13:28:42.208Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-28T13:28:42.208Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-28T13:28:42.208Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-28T13:28:42.468Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-28T13:28:42.468Z] Executing busybox-1.35.0-r29.trigger [2023-06-28T13:28:42.468Z] OK: 269 MiB in 57 packages [2023-06-28T13:28:43.029Z] Still waiting to schedule task [2023-06-28T13:28:43.030Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-28T13:28:43.037Z] Removing intermediate container 67400c93f773 [2023-06-28T13:28:43.037Z] ---> 7fb633fe1764 [2023-06-28T13:28:43.037Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-28T13:28:43.037Z] ---> 8a41ee593366 [2023-06-28T13:28:43.037Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-28T13:28:43.037Z] ---> Running in 3c147b785147 [2023-06-28T13:29:21.771Z] Removing intermediate container 3c147b785147 [2023-06-28T13:29:21.771Z] ---> 616b2e07a0d0 [2023-06-28T13:29:21.771Z] Step 10/12 : COPY . . [2023-06-28T13:29:21.771Z] ---> 728f811914f8 [2023-06-28T13:29:21.771Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-28T13:29:21.771Z] ---> Running in ed8f64cb1584 [2023-06-28T13:29:21.771Z] Removing intermediate container ed8f64cb1584 [2023-06-28T13:29:21.771Z] ---> 5378c0b1c8d0 [2023-06-28T13:29:21.771Z] Step 12/12 : RUN ${MAKE} [2023-06-28T13:29:21.771Z] ---> Running in fe9acf0b1d6b [2023-06-28T13:29:21.771Z] noop [2023-06-28T13:29:21.771Z] Removing intermediate container fe9acf0b1d6b [2023-06-28T13:29:21.771Z] ---> 37535294cab1 [2023-06-28T13:29:21.771Z] Successfully built 37535294cab1 [2023-06-28T13:29:21.771Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:29:22.202Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-28T13:29:22.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:29:22.345Z] prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container [2023-06-28T13:29:22.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** ci-base-image-x86_64 cat [2023-06-28T13:29:22.697Z] $ docker top f5414bc4d84966db32210c76f548d0a3784682f52b02ee6545b1dfb01f28bc4c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T13:29:23.077Z] + go version [2023-06-28T13:29:23.077Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-28T13:29:23.112Z] $ docker stop --time=1 f5414bc4d84966db32210c76f548d0a3784682f52b02ee6545b1dfb01f28bc4c [2023-06-28T13:29:24.368Z] $ docker rm -f --volumes f5414bc4d84966db32210c76f548d0a3784682f52b02ee6545b1dfb01f28bc4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:29:25.065Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-28T13:29:25.065Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:29:25.213Z] prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container [2023-06-28T13:29:25.247Z] $ 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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 ******** ci-base-image-x86_64 cat [2023-06-28T13:29:25.561Z] $ docker top cd8d2b6d09976fa56926219efdb1a70b70b9365f74107d0c9868412d8502e51c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T13:29:25.945Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh [2023-06-28T13:29:26.306Z] + make test [2023-06-28T13:29:26.306Z] go test ./... -coverprofile=coverage.out [2023-06-28T13:29:30.492Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-28T13:29:40.467Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-28T13:29:40.467Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-28T13:29:44.645Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-28T13:29:47.925Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-28T13:29:47.925Z] ./internal/driver/driver.go [2023-06-28T13:29:47.925Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-28T13:29:47.925Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2023-06-28T13:29:47.969Z] $ docker stop --time=1 cd8d2b6d09976fa56926219efdb1a70b70b9365f74107d0c9868412d8502e51c [2023-06-28T13:29:50.998Z] $ docker rm -f --volumes cd8d2b6d09976fa56926219efdb1a70b70b9365f74107d0c9868412d8502e51c [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 [2023-06-28T13:29:52.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T13:29:52.165Z] [2023-06-28T13:29:52.165Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:29:52.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T13:29:52.540Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-28T13:29:52.540Z] 5eb5b503b376: Pulling fs layer [2023-06-28T13:29:52.540Z] 5c69ac0246d0: Pulling fs layer [2023-06-28T13:29:52.540Z] ec43610c2a17: Pulling fs layer [2023-06-28T13:29:52.540Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-28T13:29:52.540Z] 33b1e0a273af: Pulling fs layer [2023-06-28T13:29:52.540Z] 5d3b04190fa2: Pulling fs layer [2023-06-28T13:29:52.540Z] 2f39f015ded8: Pulling fs layer [2023-06-28T13:29:52.540Z] 5d3b04190fa2: Waiting [2023-06-28T13:29:52.540Z] 3a2ae6a8a46f: Waiting [2023-06-28T13:29:52.540Z] 33b1e0a273af: Waiting [2023-06-28T13:29:52.540Z] 5c69ac0246d0: Verifying Checksum [2023-06-28T13:29:52.540Z] 5c69ac0246d0: Download complete [2023-06-28T13:29:52.540Z] 3a2ae6a8a46f: Download complete [2023-06-28T13:29:52.540Z] 33b1e0a273af: Verifying Checksum [2023-06-28T13:29:52.540Z] 33b1e0a273af: Download complete [2023-06-28T13:29:52.800Z] ec43610c2a17: Verifying Checksum [2023-06-28T13:29:52.800Z] ec43610c2a17: Download complete [2023-06-28T13:29:52.800Z] 5d3b04190fa2: Verifying Checksum [2023-06-28T13:29:52.800Z] 5d3b04190fa2: Download complete [2023-06-28T13:29:52.800Z] 5eb5b503b376: Verifying Checksum [2023-06-28T13:29:52.800Z] 5eb5b503b376: Download complete [2023-06-28T13:29:53.367Z] 2f39f015ded8: Download complete [2023-06-28T13:29:53.936Z] 5eb5b503b376: Pull complete [2023-06-28T13:29:54.197Z] 5c69ac0246d0: Pull complete [2023-06-28T13:29:54.456Z] ec43610c2a17: Pull complete [2023-06-28T13:29:54.715Z] 3a2ae6a8a46f: Pull complete [2023-06-28T13:29:54.715Z] 33b1e0a273af: Pull complete [2023-06-28T13:29:54.972Z] 5d3b04190fa2: Pull complete [2023-06-28T13:29:59.156Z] 2f39f015ded8: Pull complete [2023-06-28T13:29:59.156Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-28T13:29:59.156Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T13:29:59.156Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:29:59.366Z] prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container [2023-06-28T13:29:59.398Z] $ 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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@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 [2023-06-28T13:30:04.197Z] $ docker top 2b3bc057c10f82e60c18532bac1a70a626896bc04df9d3052fab6917c7156794 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:30:04.641Z] ---> job-cost.sh [2023-06-28T13:30:04.641Z] lf-activate-venv: SKIPPING [2023-06-28T13:30:04.641Z] INFO: No Stack... [2023-06-28T13:30:04.900Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-28T13:30:05.158Z] INFO: Archiving Costs [Pipeline] sh [2023-06-28T13:30:05.472Z] + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv [2023-06-28T13:30:05.472Z] + cut -d, -f6 [Pipeline] lock [2023-06-28T13:30:05.508Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [2023-06-28T13:30:05.512Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] did not exist. Created. [2023-06-28T13:30:05.512Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-28T13:30:05.901Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-28T13:30:05.951Z] Stashed 1 file(s) [Pipeline] } [2023-06-28T13:30:05.975Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-28T13:30:06.056Z] $ docker stop --time=1 2b3bc057c10f82e60c18532bac1a70a626896bc04df9d3052fab6917c7156794 [2023-06-28T13:30:07.203Z] $ docker rm -f --volumes 2b3bc057c10f82e60c18532bac1a70a626896bc04df9d3052fab6917c7156794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-28T13:30:07.561Z] Failed in branch amd64 [2023-06-28T13:30:13.509Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-128 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws [2023-06-28T13:30:13.565Z] Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout [2023-06-28T13:30:13.641Z] The recommended git tool is: git [2023-06-28T13:30:18.406Z] using credential edgex-jenkins-ssh [2023-06-28T13:30:18.426Z] Cloning the remote Git repository [2023-06-28T13:30:18.468Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-06-28T13:30:18.555Z] > git init /w/workspace/device-uart/4 # timeout=10 [2023-06-28T13:30:18.690Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-28T13:30:18.690Z] > git --version # timeout=10 [2023-06-28T13:30:18.709Z] > git --version # 'git version 2.25.1' [2023-06-28T13:30:18.712Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-28T13:30:18.842Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-28T13:30:19.885Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-28T13:30:19.905Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-28T13:30:20.684Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-28T13:30:20.720Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-28T13:30:20.721Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-28T13:30:20.734Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-28T13:30:21.233Z] Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 745fcda9006c1fb0566371198e638298a3789750 [2023-06-28T13:30:21.500Z] Merge succeeded, producing 745fcda9006c1fb0566371198e638298a3789750 [2023-06-28T13:30:21.501Z] Checking out Revision 745fcda9006c1fb0566371198e638298a3789750 (PR-14) [2023-06-28T13:30:21.256Z] > git config core.sparsecheckout # timeout=10 [2023-06-28T13:30:21.329Z] > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 [2023-06-28T13:30:21.405Z] > git remote # timeout=10 [2023-06-28T13:30:21.422Z] > git config --get remote.origin.url # timeout=10 [2023-06-28T13:30:21.445Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-28T13:30:21.459Z] > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [2023-06-28T13:30:21.484Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-28T13:30:21.511Z] > git config core.sparsecheckout # timeout=10 [2023-06-28T13:30:21.531Z] > git checkout -f 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 [2023-06-28T13:30:24.967Z] Commit message: "Merge branch 'main' into main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-28T13:30:26.029Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-28T13:30:26.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-28T13:30:26.029Z] Dload Upload Total Spent Left Speed [2023-06-28T13:30:26.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12726 100 12726 0 0 65937 0 --:--:-- --:--:-- --:--:-- 65937 [Pipeline] sh [2023-06-28T13:30:26.697Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-28T13:30:27.043Z] + sudo tee /etc/docker/daemon.new [2023-06-28T13:30:27.044Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-28T13:30:27.044Z] { [2023-06-28T13:30:27.044Z] "registry-mirrors": [ [2023-06-28T13:30:27.044Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-28T13:30:27.044Z] ], [2023-06-28T13:30:27.044Z] "bip": "10.250.0.254/24", [2023-06-28T13:30:27.044Z] "hosts": [ [2023-06-28T13:30:27.044Z] "tcp://0.0.0.0:5555", [2023-06-28T13:30:27.044Z] "unix:///var/run/docker.sock" [2023-06-28T13:30:27.044Z] ], [2023-06-28T13:30:27.044Z] "mtu": 1458, [2023-06-28T13:30:27.044Z] "selinux-enabled": true, [2023-06-28T13:30:27.044Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-28T13:30:27.044Z] } [Pipeline] sh [2023-06-28T13:30:27.386Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-28T13:30:27.727Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-28T13:30:46.030Z] provisioning config files... [2023-06-28T13:30:46.057Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config10563654093505280315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:30:46.437Z] ---> docker-login.sh [2023-06-28T13:30:46.437Z] nexus3.edgexfoundry.org:10001 [2023-06-28T13:30:46.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:30:46.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:30:46.978Z] Configure a credential helper to remove this warning. See [2023-06-28T13:30:46.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:30:46.978Z] [2023-06-28T13:30:46.978Z] Login Succeeded [2023-06-28T13:30:46.978Z] nexus3.edgexfoundry.org:10002 [2023-06-28T13:30:47.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:30:47.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:30:47.248Z] Configure a credential helper to remove this warning. See [2023-06-28T13:30:47.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:30:47.248Z] [2023-06-28T13:30:47.248Z] Login Succeeded [2023-06-28T13:30:47.248Z] nexus3.edgexfoundry.org:10003 [2023-06-28T13:30:47.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:30:47.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:30:47.786Z] Configure a credential helper to remove this warning. See [2023-06-28T13:30:47.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:30:47.786Z] [2023-06-28T13:30:47.786Z] Login Succeeded [2023-06-28T13:30:47.786Z] nexus3.edgexfoundry.org:10004 [2023-06-28T13:30:48.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:30:48.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:30:48.055Z] Configure a credential helper to remove this warning. See [2023-06-28T13:30:48.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:30:48.055Z] [2023-06-28T13:30:48.055Z] Login Succeeded [2023-06-28T13:30:48.055Z] docker.io [2023-06-28T13:30:48.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-28T13:30:48.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-28T13:30:48.592Z] Configure a credential helper to remove this warning. See [2023-06-28T13:30:48.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-28T13:30:48.592Z] [2023-06-28T13:30:48.592Z] Login Succeeded [2023-06-28T13:30:48.592Z] ---> docker-login.sh ends [Pipeline] } [2023-06-28T13:30:48.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-28T13:30:48.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T13:30:49.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-28T13:30:49.041Z] ========================================================= [2023-06-28T13:30:49.041Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-28T13:30:49.041Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:30:49.543Z] + 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 . [2023-06-28T13:30:49.813Z] Sending build context to Docker daemon 5.616MB [2023-06-28T13:30:49.813Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-28T13:30:49.813Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-28T13:30:50.094Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-28T13:30:50.094Z] c41833b44d91: Pulling fs layer [2023-06-28T13:30:50.094Z] ed15518f5707: Pulling fs layer [2023-06-28T13:30:50.094Z] feae8fd75edb: Pulling fs layer [2023-06-28T13:30:50.094Z] 242c74f7c9fa: Pulling fs layer [2023-06-28T13:30:50.094Z] 3cdef696dda3: Pulling fs layer [2023-06-28T13:30:50.094Z] 2ced38df9373: Pulling fs layer [2023-06-28T13:30:50.094Z] 58f1dce35555: Pulling fs layer [2023-06-28T13:30:50.094Z] 242c74f7c9fa: Waiting [2023-06-28T13:30:50.094Z] 3cdef696dda3: Waiting [2023-06-28T13:30:50.094Z] 2ced38df9373: Waiting [2023-06-28T13:30:50.094Z] 58f1dce35555: Waiting [2023-06-28T13:30:50.094Z] ed15518f5707: Verifying Checksum [2023-06-28T13:30:50.094Z] ed15518f5707: Download complete [2023-06-28T13:30:50.094Z] 242c74f7c9fa: Verifying Checksum [2023-06-28T13:30:50.094Z] 242c74f7c9fa: Download complete [2023-06-28T13:30:50.094Z] 3cdef696dda3: Verifying Checksum [2023-06-28T13:30:50.094Z] 3cdef696dda3: Download complete [2023-06-28T13:30:50.094Z] c41833b44d91: Verifying Checksum [2023-06-28T13:30:50.094Z] c41833b44d91: Download complete [2023-06-28T13:30:51.516Z] 58f1dce35555: Verifying Checksum [2023-06-28T13:30:51.516Z] 58f1dce35555: Download complete [2023-06-28T13:30:52.486Z] feae8fd75edb: Verifying Checksum [2023-06-28T13:30:52.486Z] feae8fd75edb: Download complete [2023-06-28T13:30:52.753Z] 2ced38df9373: Download complete [2023-06-28T13:30:53.338Z] c41833b44d91: Pull complete [2023-06-28T13:30:53.605Z] ed15518f5707: Pull complete [2023-06-28T13:31:08.610Z] feae8fd75edb: Pull complete [2023-06-28T13:31:08.610Z] 242c74f7c9fa: Pull complete [2023-06-28T13:31:08.610Z] 3cdef696dda3: Pull complete [2023-06-28T13:31:13.967Z] 2ced38df9373: Pull complete [2023-06-28T13:31:15.919Z] 58f1dce35555: Pull complete [2023-06-28T13:31:15.919Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-28T13:31:15.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-28T13:31:15.919Z] ---> fadd8f120f05 [2023-06-28T13:31:15.919Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-28T13:31:17.857Z] ---> Running in e0fed14ebf71 [2023-06-28T13:31:17.857Z] Removing intermediate container e0fed14ebf71 [2023-06-28T13:31:17.857Z] ---> 00ac12b1f9fa [2023-06-28T13:31:17.857Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-28T13:31:17.857Z] ---> Running in 63dfeaaa0d37 [2023-06-28T13:31:18.438Z] Removing intermediate container 63dfeaaa0d37 [2023-06-28T13:31:18.438Z] ---> af18d4a260a6 [2023-06-28T13:31:18.438Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-28T13:31:18.438Z] ---> Running in f8ccf7247743 [2023-06-28T13:31:18.703Z] Removing intermediate container f8ccf7247743 [2023-06-28T13:31:18.703Z] ---> 80b0306b1b37 [2023-06-28T13:31:18.703Z] Step 6/12 : WORKDIR /device-uart [2023-06-28T13:31:18.703Z] ---> Running in 817122c47baa [2023-06-28T13:31:18.970Z] Removing intermediate container 817122c47baa [2023-06-28T13:31:18.970Z] ---> ce5345fedf87 [2023-06-28T13:31:18.970Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-28T13:31:18.970Z] ---> Running in 585ce196087d [2023-06-28T13:31:20.381Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-28T13:31:20.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-28T13:31:21.609Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-28T13:31:21.609Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-28T13:31:21.609Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-28T13:31:21.609Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-28T13:31:21.609Z] Executing busybox-1.35.0-r29.trigger [2023-06-28T13:31:21.609Z] OK: 268 MiB in 57 packages [2023-06-28T13:31:22.571Z] Removing intermediate container 585ce196087d [2023-06-28T13:31:22.571Z] ---> 5a2d281d2d56 [2023-06-28T13:31:22.571Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-28T13:31:23.179Z] ---> 7f1099d97563 [2023-06-28T13:31:23.179Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-28T13:31:23.179Z] ---> Running in 71978fdf4e44 [2023-06-28T13:32:31.061Z] Removing intermediate container 71978fdf4e44 [2023-06-28T13:32:31.061Z] ---> f70d19047307 [2023-06-28T13:32:31.061Z] Step 10/12 : COPY . . [2023-06-28T13:32:31.061Z] ---> 8336844694f0 [2023-06-28T13:32:31.061Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-28T13:32:31.061Z] ---> Running in 3c646f164a91 [2023-06-28T13:32:31.061Z] Removing intermediate container 3c646f164a91 [2023-06-28T13:32:31.061Z] ---> bee3fe506ba7 [2023-06-28T13:32:31.061Z] Step 12/12 : RUN ${MAKE} [2023-06-28T13:32:31.061Z] ---> Running in 517dbfd5b8d6 [2023-06-28T13:32:31.061Z] noop [2023-06-28T13:32:31.061Z] Removing intermediate container 517dbfd5b8d6 [2023-06-28T13:32:31.061Z] ---> fb9d76dbcd45 [2023-06-28T13:32:31.061Z] Successfully built fb9d76dbcd45 [2023-06-28T13:32:31.061Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:32:31.528Z] + docker inspect -f . ci-base-image-arm64 [2023-06-28T13:32:31.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:32:31.798Z] prd-ubuntu20.04-docker-arm64-4c-16g-128 does not seem to be running inside a container [2023-06-28T13:32:31.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 [2023-06-28T13:32:32.935Z] $ docker top 703eca1b7d70a277756c68ee412cfc22d7aec30fecab16537aa3b40a7e0a87d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T13:32:33.462Z] + go version [2023-06-28T13:32:33.727Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-28T13:32:33.768Z] $ docker stop --time=1 703eca1b7d70a277756c68ee412cfc22d7aec30fecab16537aa3b40a7e0a87d4 [2023-06-28T13:32:35.318Z] $ docker rm -f --volumes 703eca1b7d70a277756c68ee412cfc22d7aec30fecab16537aa3b40a7e0a87d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:32:36.157Z] + docker inspect -f . ci-base-image-arm64 [2023-06-28T13:32:36.157Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:32:36.394Z] prd-ubuntu20.04-docker-arm64-4c-16g-128 does not seem to be running inside a container [2023-06-28T13:32:36.451Z] $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 [2023-06-28T13:32:39.484Z] $ docker top 5a89b292e0bbef61fa072cf5d21a8c3333f569d1ba6fad345f1672b3e133e3db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T13:32:40.009Z] + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh [2023-06-28T13:32:40.390Z] + make test [2023-06-28T13:32:40.390Z] go test ./... -coverprofile=coverage.out [2023-06-28T13:33:12.607Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-28T13:34:49.226Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-28T13:34:49.226Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-28T13:34:49.226Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-28T13:34:49.226Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-28T13:35:15.897Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-28T13:35:15.897Z] ./internal/driver/driver.go [2023-06-28T13:35:15.897Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-28T13:35:15.897Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2023-06-28T13:35:15.947Z] $ docker stop --time=1 5a89b292e0bbef61fa072cf5d21a8c3333f569d1ba6fad345f1672b3e133e3db [2023-06-28T13:35:17.761Z] $ docker rm -f --volumes 5a89b292e0bbef61fa072cf5d21a8c3333f569d1ba6fad345f1672b3e133e3db [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:35:19.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-28T13:35:19.389Z] [2023-06-28T13:35:19.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:35:19.780Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-28T13:35:20.047Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-28T13:35:20.047Z] 8998bd30e6a1: Pulling fs layer [2023-06-28T13:35:20.047Z] 04944245beec: Pulling fs layer [2023-06-28T13:35:20.047Z] 699f458cf7ca: Pulling fs layer [2023-06-28T13:35:20.047Z] 765212b225bb: Pulling fs layer [2023-06-28T13:35:20.047Z] f23df028b6ca: Pulling fs layer [2023-06-28T13:35:20.047Z] d65c8cfc05b1: Pulling fs layer [2023-06-28T13:35:20.047Z] 2437ff75d9bd: Pulling fs layer [2023-06-28T13:35:20.047Z] f23df028b6ca: Waiting [2023-06-28T13:35:20.047Z] 2437ff75d9bd: Waiting [2023-06-28T13:35:20.047Z] 765212b225bb: Waiting [2023-06-28T13:35:20.047Z] 04944245beec: Verifying Checksum [2023-06-28T13:35:20.047Z] 04944245beec: Download complete [2023-06-28T13:35:20.047Z] 765212b225bb: Verifying Checksum [2023-06-28T13:35:20.047Z] 765212b225bb: Download complete [2023-06-28T13:35:20.047Z] f23df028b6ca: Verifying Checksum [2023-06-28T13:35:20.047Z] f23df028b6ca: Download complete [2023-06-28T13:35:20.047Z] d65c8cfc05b1: Verifying Checksum [2023-06-28T13:35:20.047Z] d65c8cfc05b1: Download complete [2023-06-28T13:35:20.312Z] 699f458cf7ca: Verifying Checksum [2023-06-28T13:35:20.312Z] 699f458cf7ca: Download complete [2023-06-28T13:35:20.580Z] 8998bd30e6a1: Verifying Checksum [2023-06-28T13:35:20.580Z] 8998bd30e6a1: Download complete [2023-06-28T13:35:23.162Z] 2437ff75d9bd: Verifying Checksum [2023-06-28T13:35:23.162Z] 2437ff75d9bd: Download complete [2023-06-28T13:35:24.571Z] 8998bd30e6a1: Pull complete [2023-06-28T13:35:24.838Z] 04944245beec: Pull complete [2023-06-28T13:35:26.249Z] 699f458cf7ca: Pull complete [2023-06-28T13:35:26.249Z] 765212b225bb: Pull complete [2023-06-28T13:35:27.209Z] f23df028b6ca: Pull complete [2023-06-28T13:35:27.209Z] d65c8cfc05b1: Pull complete [2023-06-28T13:35:42.209Z] 2437ff75d9bd: Pull complete [2023-06-28T13:35:42.209Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-28T13:35:42.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-28T13:35:42.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:35:42.531Z] prd-ubuntu20.04-docker-arm64-4c-16g-128 does not seem to be running inside a container [2023-06-28T13:35:42.659Z] $ 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/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@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 [2023-06-28T13:35:45.031Z] $ docker top c1604a58c3a5293f46e43818d6c535fb569ed75d4158e94f794a73f605101250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:45.955Z] ---> job-cost.sh [2023-06-28T13:35:45.955Z] lf-activate-venv: SKIPPING [2023-06-28T13:35:45.955Z] INFO: No Stack... [2023-06-28T13:35:46.231Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-28T13:35:47.200Z] INFO: Archiving Costs [Pipeline] sh [2023-06-28T13:35:47.563Z] + cut -d, -f6 [2023-06-28T13:35:47.563Z] + cat /w/workspace/device-uart/4/archives/cost.csv [Pipeline] lock [2023-06-28T13:35:47.654Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [2023-06-28T13:35:47.661Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] did not exist. Created. [2023-06-28T13:35:47.661Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-28T13:35:48.068Z] /w/workspace/device-uart/4@tmp/durable-19a6b546/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-28T13:35:48.744Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-28T13:35:48.780Z] Warning: overwriting stash ‘stack-cost’ [2023-06-28T13:35:49.137Z] Stashed 1 file(s) [Pipeline] } [2023-06-28T13:35:49.152Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-28T13:35:49.232Z] $ docker stop --time=1 c1604a58c3a5293f46e43818d6c535fb569ed75d4158e94f794a73f605101250 [2023-06-28T13:35:50.701Z] $ docker rm -f --volumes c1604a58c3a5293f46e43818d6c535fb569ed75d4158e94f794a73f605101250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-28T13:35:51.397Z] Failed in branch arm64 [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-06-28T13:35:53.339Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] [2023-06-28T13:35:53.339Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-28T13:35:53.339Z] total 16 [2023-06-28T13:35:53.339Z] drwxr-xr-x 3 root root 4096 Jun 28 13:30 . [2023-06-28T13:35:53.339Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 13:30 .. [2023-06-28T13:35:53.339Z] drwxr-xr-x 2 root root 4096 Jun 28 13:30 cost [2023-06-28T13:35:53.339Z] -rw-r--r-- 1 root root 82 Jun 28 13:30 cost.csv [2023-06-28T13:35:53.339Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-28T13:35:53.339Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-28T13:35:53.339Z] total 16 [2023-06-28T13:35:53.339Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 28 13:30 . [2023-06-28T13:35:53.339Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 28 13:30 .. [2023-06-28T13:35:53.339Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 28 13:30 cost [2023-06-28T13:35:53.339Z] -rw-r--r-- 1 jenkins jenkins 82 Jun 28 13:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:53.675Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:54.564Z] ---> package-listing.sh [2023-06-28T13:35:54.564Z] ++ facter osfamily [2023-06-28T13:35:54.564Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-28T13:35:54.824Z] + OS_FAMILY=debian [2023-06-28T13:35:54.824Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 [2023-06-28T13:35:54.824Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-28T13:35:54.824Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-28T13:35:54.824Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-28T13:35:54.824Z] + PACKAGES=/tmp/packages_start.txt [2023-06-28T13:35:54.824Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-28T13:35:54.824Z] + PACKAGES=/tmp/packages_end.txt [2023-06-28T13:35:54.824Z] + case "${OS_FAMILY}" in [2023-06-28T13:35:54.824Z] + dpkg -l [2023-06-28T13:35:54.824Z] + grep '^ii' [2023-06-28T13:35:54.824Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-28T13:35:54.824Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-28T13:35:54.824Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-28T13:35:54.824Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-28T13:35:54.824Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [2023-06-28T13:35:54.824Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo [2023-06-28T13:35:54.856Z] 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-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-28T13:35:55.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-28T13:35:55.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-28T13:35:55.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-28T13:35:55.915Z] prd-ubuntu20.04-docker-8c-8g-127 does not seem to be running inside a container [2023-06-28T13:35:55.946Z] $ 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-14/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-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-28T13:35:56.128Z] $ docker top bde0ea0eb5c4a431040825b6d5643efe8106a2ab092ee3df617df1be466294f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-28T13:35:56.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-28T13:35:56.829Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-28T13:35:57.139Z] + ls /var/log/sa-host [2023-06-28T13:35:57.139Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-28T13:35:57.344Z] provisioning config files... [2023-06-28T13:35:57.355Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config1274094731271502992tmp [Pipeline] { [Pipeline] echo [2023-06-28T13:35:57.414Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:57.724Z] ---> create-netrc.sh [Pipeline] } [2023-06-28T13:35:57.757Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:58.154Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-28T13:35:58.190Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:58.502Z] ---> sudo-logs.sh [2023-06-28T13:35:58.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-28T13:35:58.577Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:58.897Z] ---> job-cost.sh [2023-06-28T13:35:58.897Z] lf-activate-venv: SKIPPING [2023-06-28T13:35:58.897Z] DEBUG: total: 0.2199999988079071 [2023-06-28T13:35:58.897Z] INFO: Retrieving Stack Cost... [2023-06-28T13:35:59.157Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-28T13:35:59.416Z] INFO: Archiving Costs [Pipeline] echo [2023-06-28T13:35:59.450Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-28T13:35:59.766Z] ---> logs-deploy.sh [2023-06-28T13:35:59.766Z] lf-activate-venv: SKIPPING [2023-06-28T13:35:59.766Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/4 [2023-06-28T13:35:59.766Z] INFO: archiving workspace using pattern(s): [2023-06-28T13:36:00.709Z] Archives upload complete. [2023-06-28T13:36:00.709Z] INFO: archiving logs to Nexus