Pull request #19 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 912115ba39df5d7e09033252c264c743a8c85b42 rather than b118af3108b43a7b2a2f57134a5652e4155d5622 Obtained Jenkinsfile from 912115ba39df5d7e09033252c264c743a8c85b42 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-ssh2832069971723878668.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-ssh5493641342795740124.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-19/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-19/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10745546010057235622.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-19/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16154998754635514012.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-ssh15248988113722187011.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-19/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-19/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13630388321377741466.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-863 in /w/workspace/edgexfoundry_device-uart_PR-19 [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-19 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 912115ba39df5d7e09033252c264c743a8c85b42 into PR head commit b118af3108b43a7b2a2f57134a5652e4155d5622 Merge succeeded, producing b118af3108b43a7b2a2f57134a5652e4155d5622 Checking out Revision b118af3108b43a7b2a2f57134a5652e4155d5622 (PR-19) > 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/19/head:refs/remotes/origin/PR-19 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # 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 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 Commit message: "feat: Move device params to res/devices/sample-devices.yaml" 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 [2023-07-11T18:26:01.688Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-11T18:26:01.872Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-11T18:26:01.961Z] ========================================================= [2023-07-11T18:26:01.961Z] EdgeX Global Pipelines Version Info [2023-07-11T18:26:01.961Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:26:02.684Z] ------------------- [2023-07-11T18:26:02.684Z] stable info: [2023-07-11T18:26:02.684Z] ------------------- [2023-07-11T18:26:02.684Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-11T18:26:02.684Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-11T18:26:02.684Z] Message: update stable to v1.0.250 [2023-07-11T18:26:03.257Z] ------------------- [2023-07-11T18:26:03.257Z] experimental info: [2023-07-11T18:26:03.257Z] ------------------- [2023-07-11T18:26:03.257Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-11T18:26:03.257Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-11T18:26:03.257Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-11T18:26:03.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-11T18:26:03.661Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-11T18:26:03.699Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-11T18:26:03.741Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-11T18:26:03.779Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-11T18:26:03.817Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-11T18:26:03.855Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-11T18:26:03.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-11T18:26:03.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-11T18:26:03.972Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-11T18:26:04.023Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-11T18:26:04.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-11T18:26:04.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-11T18:26:04.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-11T18:26:04.173Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-11T18:26:04.208Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-11T18:26:04.246Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-11T18:26:04.285Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-11T18:26:04.326Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-11T18:26:04.380Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-11T18:26:04.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-11T18:26:04.451Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-11T18:26:04.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-11T18:26:04.533Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-11T18:26:04.569Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-11T18:26:04.607Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-11T18:26:04.646Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-11T18:26:04.685Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-19 [Pipeline] echo [2023-07-11T18:26:04.725Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-19 [Pipeline] echo [2023-07-11T18:26:04.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-19 [Pipeline] echo [2023-07-11T18:26:04.798Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo [2023-07-11T18:26:04.834Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b118af3 [Pipeline] echo [2023-07-11T18:26:04.871Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T18:26:04.981Z] provisioning config files... [2023-07-11T18:26:04.992Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-19@tmp/config5673606571790275747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:26:05.341Z] ---> docker-login.sh [2023-07-11T18:26:05.341Z] nexus3.edgexfoundry.org:10001 [2023-07-11T18:26:05.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:05.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:05.604Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:05.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:05.604Z] [2023-07-11T18:26:05.604Z] Login Succeeded [2023-07-11T18:26:05.604Z] nexus3.edgexfoundry.org:10002 [2023-07-11T18:26:05.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:05.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:05.872Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:05.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:05.872Z] [2023-07-11T18:26:05.872Z] Login Succeeded [2023-07-11T18:26:05.872Z] nexus3.edgexfoundry.org:10003 [2023-07-11T18:26:05.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:05.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:05.872Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:05.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:05.872Z] [2023-07-11T18:26:05.872Z] Login Succeeded [2023-07-11T18:26:05.872Z] nexus3.edgexfoundry.org:10004 [2023-07-11T18:26:06.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:06.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:06.133Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:06.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:06.133Z] [2023-07-11T18:26:06.133Z] Login Succeeded [2023-07-11T18:26:06.133Z] docker.io [2023-07-11T18:26:06.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:06.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:06.393Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:06.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:06.393Z] [2023-07-11T18:26:06.393Z] Login Succeeded [2023-07-11T18:26:06.393Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T18:26:06.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-11T18:26:07.055Z] + git rev-list -1 --merges b118af3108b43a7b2a2f57134a5652e4155d5622~1..b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo [2023-07-11T18:26:07.124Z] -----------> git rev-list -1 --merges b118af3108b43a7b2a2f57134a5652e4155d5622~1..b118af3108b43a7b2a2f57134a5652e4155d5622 b118af3108b43a7b2a2f57134a5652e4155d5622 [false] [Pipeline] sh [2023-07-11T18:26:07.439Z] + git log --format=format:%s -1 b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo [2023-07-11T18:26:07.472Z] ========================================================= [2023-07-11T18:26:07.472Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-11T18:26:07.472Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T18:26:07.889Z] + git log --format=format:%s -1 b118af3108b43a7b2a2f57134a5652e4155d5622 [Pipeline] echo [2023-07-11T18:26:07.925Z] [semverPrep] GIT_COMMIT: b118af3108b43a7b2a2f57134a5652e4155d5622, Commit Message: feat: Move device params to res/devices/sample-devices.yaml [Pipeline] echo [2023-07-11T18:26:07.956Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-11T18:26:08.370Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-11T18:26:08.370Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-11T18:26:08.370Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-11T18:26:08.370Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-11T18:26:08.370Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-11T18:26:08.370Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-11T18:26:08.370Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:26:08.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T18:26:08.875Z] [2023-07-11T18:26:08.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:26:09.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T18:26:09.245Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-11T18:26:09.245Z] b85a868b505f: Pulling fs layer [2023-07-11T18:26:09.245Z] e2be974225ed: Pulling fs layer [2023-07-11T18:26:09.245Z] 339a4e72a1f5: Pulling fs layer [2023-07-11T18:26:09.245Z] 988bab9f4d93: Pulling fs layer [2023-07-11T18:26:09.245Z] 1469e6f7b9e6: Pulling fs layer [2023-07-11T18:26:09.245Z] eaf3925da568: Pulling fs layer [2023-07-11T18:26:09.245Z] bab4dde63d76: Pulling fs layer [2023-07-11T18:26:09.245Z] bde34c3a00c8: Pulling fs layer [2023-07-11T18:26:09.245Z] b352a97aabf1: Pulling fs layer [2023-07-11T18:26:09.245Z] 4872d77fe225: Pulling fs layer [2023-07-11T18:26:09.245Z] 5851b861e8e6: Pulling fs layer [2023-07-11T18:26:09.245Z] bab4dde63d76: Waiting [2023-07-11T18:26:09.245Z] bde34c3a00c8: Waiting [2023-07-11T18:26:09.245Z] 5851b861e8e6: Waiting [2023-07-11T18:26:09.245Z] b352a97aabf1: Waiting [2023-07-11T18:26:09.245Z] 4872d77fe225: Waiting [2023-07-11T18:26:09.245Z] 988bab9f4d93: Waiting [2023-07-11T18:26:09.245Z] 1469e6f7b9e6: Waiting [2023-07-11T18:26:09.245Z] eaf3925da568: Waiting [2023-07-11T18:26:09.245Z] e2be974225ed: Download complete [2023-07-11T18:26:09.245Z] 988bab9f4d93: Download complete [2023-07-11T18:26:09.245Z] 1469e6f7b9e6: Verifying Checksum [2023-07-11T18:26:09.245Z] 1469e6f7b9e6: Download complete [2023-07-11T18:26:09.504Z] eaf3925da568: Download complete [2023-07-11T18:26:09.504Z] 339a4e72a1f5: Verifying Checksum [2023-07-11T18:26:09.504Z] 339a4e72a1f5: Download complete [2023-07-11T18:26:09.504Z] bde34c3a00c8: Verifying Checksum [2023-07-11T18:26:09.504Z] b352a97aabf1: Verifying Checksum [2023-07-11T18:26:09.504Z] 4872d77fe225: Verifying Checksum [2023-07-11T18:26:09.504Z] 4872d77fe225: Download complete [2023-07-11T18:26:09.504Z] 5851b861e8e6: Verifying Checksum [2023-07-11T18:26:09.504Z] 5851b861e8e6: Download complete [2023-07-11T18:26:09.504Z] b85a868b505f: Verifying Checksum [2023-07-11T18:26:09.504Z] b85a868b505f: Download complete [2023-07-11T18:26:09.763Z] bab4dde63d76: Verifying Checksum [2023-07-11T18:26:09.763Z] bab4dde63d76: Download complete [2023-07-11T18:26:10.697Z] b85a868b505f: Pull complete [2023-07-11T18:26:10.957Z] e2be974225ed: Pull complete [2023-07-11T18:26:11.215Z] 339a4e72a1f5: Pull complete [2023-07-11T18:26:11.216Z] 988bab9f4d93: Pull complete [2023-07-11T18:26:11.476Z] 1469e6f7b9e6: Pull complete [2023-07-11T18:26:11.735Z] eaf3925da568: Pull complete [2023-07-11T18:26:13.682Z] bab4dde63d76: Pull complete [2023-07-11T18:26:13.682Z] bde34c3a00c8: Pull complete [2023-07-11T18:26:13.682Z] b352a97aabf1: Pull complete [2023-07-11T18:26:13.682Z] 4872d77fe225: Pull complete [2023-07-11T18:26:13.682Z] 5851b861e8e6: Pull complete [2023-07-11T18:26:13.941Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-11T18:26:13.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-11T18:26:13.941Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:26:14.170Z] prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container [2023-07-11T18:26:14.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@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 [2023-07-11T18:26:17.108Z] $ docker top 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d -eo pid,comm [2023-07-11T18:26:17.154Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-11T18:26:17.154Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-11T18:26:17.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-11T18:26:17.294Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T18:26:17.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T18:26:17.420Z] $ docker exec 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent [2023-07-11T18:26:17.514Z] SSH_AUTH_SOCK=/tmp/ssh-Oa5aHTygXeYI/agent.31 [2023-07-11T18:26:17.514Z] SSH_AGENT_PID=37 [2023-07-11T18:26:17.521Z] Running ssh-add (command line suppressed) [2023-07-11T18:26:17.612Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_401410773022863288.key (/w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_401410773022863288.key) [2023-07-11T18:26:17.621Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-11T18:26:17.951Z] + git tag --points-at HEAD [Pipeline] } [2023-07-11T18:26:17.981Z] $ docker exec --env ******** --env ******** 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent -k [2023-07-11T18:26:18.069Z] unset SSH_AUTH_SOCK; [2023-07-11T18:26:18.071Z] unset SSH_AGENT_PID; [2023-07-11T18:26:18.071Z] echo Agent pid 37 killed; [2023-07-11T18:26:18.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-11T18:26:18.174Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-11T18:26:18.174Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-11T18:26:18.293Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-11T18:26:18.299Z] $ docker exec 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent [2023-07-11T18:26:18.400Z] SSH_AUTH_SOCK=/tmp/ssh-ZkGgq3g9CmqH/agent.69 [2023-07-11T18:26:18.400Z] SSH_AGENT_PID=75 [2023-07-11T18:26:18.404Z] Running ssh-add (command line suppressed) [2023-07-11T18:26:18.514Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_939235965883014522.key (/w/workspace/edgexfoundry_device-uart_PR-19@tmp/private_key_939235965883014522.key) [2023-07-11T18:26:18.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-11T18:26:18.852Z] + git semver init [2023-07-11T18:26:19.111Z] 2023-07-11 18:26:19,038 [run_init] DEBUG init version:0.0.0 force:False [2023-07-11T18:26:19.111Z] 2023-07-11 18:26:19,039 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-19/.semver [2023-07-11T18:26:19.111Z] 2023-07-11 18:26:19,039 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-19/.semver [2023-07-11T18:26:19.111Z] 2023-07-11 18:26:19,039 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-19/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-19, universal_newlines=False, shell=None, istream=None) [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,851 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-19/.git/info/exclude [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,851 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-19/.semver/PR-19 with force:False [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,851 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-19/.semver/PR-19 [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,856 [execute] INFO git cat-file --batch-check [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-19/.semver, universal_newlines=False, shell=None, istream=) [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,863 [execute] INFO git cat-file --batch [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-19/.semver, universal_newlines=False, shell=None, istream=) [2023-07-11T18:26:20.047Z] 2023-07-11 18:26:19,869 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-19/.semver/PR-19 [2023-07-11T18:26:20.047Z] 0.0.0 [Pipeline] } [2023-07-11T18:26:20.074Z] $ docker exec --env ******** --env ******** 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d ssh-agent -k [2023-07-11T18:26:20.185Z] unset SSH_AUTH_SOCK; [2023-07-11T18:26:20.185Z] unset SSH_AGENT_PID; [2023-07-11T18:26:20.186Z] echo Agent pid 75 killed; [2023-07-11T18:26:20.190Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-11T18:26:20.624Z] + git semver [Pipeline] } [2023-07-11T18:26:20.916Z] $ docker stop --time=1 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d [2023-07-11T18:26:22.231Z] $ docker rm -f --volumes 32096235b80e066fb9b862268b855fac9169f7df7fbeafdd16e71a930479537d [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T18:26:22.621Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-11T18:26:22.897Z] Stashed 1 file(s) [Pipeline] echo [2023-07-11T18:26:22.914Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T18:26:23.482Z] provisioning config files... [2023-07-11T18:26:23.492Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-19@tmp/config14094586291517597703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:26:23.844Z] ---> docker-login.sh [2023-07-11T18:26:23.844Z] nexus3.edgexfoundry.org:10001 [2023-07-11T18:26:23.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:23.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:23.844Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:23.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:23.844Z] [2023-07-11T18:26:23.844Z] Login Succeeded [2023-07-11T18:26:23.844Z] nexus3.edgexfoundry.org:10002 [2023-07-11T18:26:23.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:23.844Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:23.844Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:23.844Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:23.844Z] [2023-07-11T18:26:23.844Z] Login Succeeded [2023-07-11T18:26:23.844Z] nexus3.edgexfoundry.org:10003 [2023-07-11T18:26:24.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:24.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:24.104Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:24.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:24.104Z] [2023-07-11T18:26:24.104Z] Login Succeeded [2023-07-11T18:26:24.104Z] nexus3.edgexfoundry.org:10004 [2023-07-11T18:26:24.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:24.104Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:24.104Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:24.104Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:24.104Z] [2023-07-11T18:26:24.104Z] Login Succeeded [2023-07-11T18:26:24.104Z] docker.io [2023-07-11T18:26:24.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:26:24.363Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:26:24.363Z] Configure a credential helper to remove this warning. See [2023-07-11T18:26:24.363Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:26:24.363Z] [2023-07-11T18:26:24.363Z] Login Succeeded [2023-07-11T18:26:24.363Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T18:26:24.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-11T18:26:24.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T18:26:24.643Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T18:26:24.671Z] ========================================================= [2023-07-11T18:26:24.671Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-11T18:26:24.671Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:26:25.118Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-11T18:26:25.118Z] Sending build context to Docker daemon 11.07MB [2023-07-11T18:26:25.118Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T18:26:25.118Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-11T18:26:25.118Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-11T18:26:25.118Z] f56be85fc22e: Pulling fs layer [2023-07-11T18:26:25.118Z] 85791d961cd3: Pulling fs layer [2023-07-11T18:26:25.118Z] d694b5ae8c79: Pulling fs layer [2023-07-11T18:26:25.118Z] 9f32a84ed3da: Pulling fs layer [2023-07-11T18:26:25.118Z] 4d19c01a9841: Pulling fs layer [2023-07-11T18:26:25.118Z] 9325e15d5711: Pulling fs layer [2023-07-11T18:26:25.118Z] 556b6ee489ea: Pulling fs layer [2023-07-11T18:26:25.118Z] c5a4b2cf53e6: Pulling fs layer [2023-07-11T18:26:25.118Z] 9325e15d5711: Waiting [2023-07-11T18:26:25.118Z] 9f32a84ed3da: Waiting [2023-07-11T18:26:25.118Z] 4d19c01a9841: Waiting [2023-07-11T18:26:25.118Z] 556b6ee489ea: Waiting [2023-07-11T18:26:25.118Z] c5a4b2cf53e6: Waiting [2023-07-11T18:26:25.118Z] 85791d961cd3: Verifying Checksum [2023-07-11T18:26:25.118Z] 85791d961cd3: Download complete [2023-07-11T18:26:25.118Z] 9f32a84ed3da: Verifying Checksum [2023-07-11T18:26:25.118Z] 9f32a84ed3da: Download complete [2023-07-11T18:26:25.118Z] 4d19c01a9841: Verifying Checksum [2023-07-11T18:26:25.118Z] 4d19c01a9841: Download complete [2023-07-11T18:26:25.379Z] f56be85fc22e: Download complete [2023-07-11T18:26:25.379Z] 9325e15d5711: Verifying Checksum [2023-07-11T18:26:25.379Z] 9325e15d5711: Download complete [2023-07-11T18:26:25.379Z] f56be85fc22e: Pull complete [2023-07-11T18:26:25.646Z] 85791d961cd3: Pull complete [2023-07-11T18:26:25.905Z] c5a4b2cf53e6: Verifying Checksum [2023-07-11T18:26:25.905Z] c5a4b2cf53e6: Download complete [2023-07-11T18:26:25.905Z] d694b5ae8c79: Verifying Checksum [2023-07-11T18:26:25.905Z] d694b5ae8c79: Download complete [2023-07-11T18:26:26.165Z] 556b6ee489ea: Verifying Checksum [2023-07-11T18:26:26.165Z] 556b6ee489ea: Download complete [2023-07-11T18:26:29.445Z] d694b5ae8c79: Pull complete [2023-07-11T18:26:29.445Z] 9f32a84ed3da: Pull complete [2023-07-11T18:26:29.445Z] 4d19c01a9841: Pull complete [2023-07-11T18:26:29.445Z] 9325e15d5711: Pull complete [2023-07-11T18:26:31.979Z] 556b6ee489ea: Pull complete [2023-07-11T18:26:32.915Z] c5a4b2cf53e6: Pull complete [2023-07-11T18:26:32.915Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-07-11T18:26:32.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-11T18:26:32.915Z] ---> c4be618373d6 [2023-07-11T18:26:32.915Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T18:26:38.189Z] ---> Running in d88ec4c01da7 [2023-07-11T18:26:38.189Z] Removing intermediate container d88ec4c01da7 [2023-07-11T18:26:38.189Z] ---> bc981a66a72c [2023-07-11T18:26:38.189Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T18:26:38.189Z] ---> Running in 43f3e50566ae [2023-07-11T18:26:38.189Z] Removing intermediate container 43f3e50566ae [2023-07-11T18:26:38.189Z] ---> 6da01811e8c1 [2023-07-11T18:26:38.189Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-11T18:26:38.189Z] ---> Running in e0b2d6a3be51 [2023-07-11T18:26:38.189Z] Removing intermediate container e0b2d6a3be51 [2023-07-11T18:26:38.189Z] ---> 5a6809aff3ce [2023-07-11T18:26:38.189Z] Step 6/12 : WORKDIR /device-uart [2023-07-11T18:26:38.189Z] ---> Running in 9734c8b539df [2023-07-11T18:26:38.189Z] Removing intermediate container 9734c8b539df [2023-07-11T18:26:38.189Z] ---> 82e5aa810225 [2023-07-11T18:26:38.189Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T18:26:38.189Z] ---> Running in 312cc2e853da [2023-07-11T18:26:38.307Z] Still waiting to schedule task [2023-07-11T18:26:38.307Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-11T18:26:38.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-11T18:26:38.446Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-11T18:26:38.704Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-11T18:26:38.704Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-11T18:26:38.704Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-11T18:26:38.704Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-11T18:26:38.704Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T18:26:38.704Z] OK: 269 MiB in 57 packages [2023-07-11T18:26:39.271Z] Removing intermediate container 312cc2e853da [2023-07-11T18:26:39.271Z] ---> 628e37ad451a [2023-07-11T18:26:39.271Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-11T18:26:39.528Z] ---> 2d3a0792d511 [2023-07-11T18:26:39.528Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T18:26:39.528Z] ---> Running in db001e7fb1d9 [2023-07-11T18:27:18.242Z] Removing intermediate container db001e7fb1d9 [2023-07-11T18:27:18.242Z] ---> 6a47ce6efe77 [2023-07-11T18:27:18.242Z] Step 10/12 : COPY . . [2023-07-11T18:27:18.242Z] ---> 8e1b2beadb07 [2023-07-11T18:27:18.242Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T18:27:18.242Z] ---> Running in 776e8c6f2c1d [2023-07-11T18:27:18.243Z] Removing intermediate container 776e8c6f2c1d [2023-07-11T18:27:18.243Z] ---> 01f7a9862e59 [2023-07-11T18:27:18.243Z] Step 12/12 : RUN ${MAKE} [2023-07-11T18:27:18.243Z] ---> Running in 0d5c731ac557 [2023-07-11T18:27:18.243Z] noop [2023-07-11T18:27:18.243Z] Removing intermediate container 0d5c731ac557 [2023-07-11T18:27:18.243Z] ---> dac689ce0a4d [2023-07-11T18:27:18.243Z] Successfully built dac689ce0a4d [2023-07-11T18:27:18.243Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:27:18.681Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-11T18:27:18.681Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:27:18.830Z] prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container [2023-07-11T18:27:18.860Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@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 [2023-07-11T18:27:19.188Z] $ docker top d4364149f2bb67285dcdd93099ce646eec546074119031cf9bf527e8babc0450 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T18:27:19.752Z] + go version [2023-07-11T18:27:19.752Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-07-11T18:27:19.785Z] $ docker stop --time=1 d4364149f2bb67285dcdd93099ce646eec546074119031cf9bf527e8babc0450 [2023-07-11T18:27:21.029Z] $ docker rm -f --volumes d4364149f2bb67285dcdd93099ce646eec546074119031cf9bf527e8babc0450 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:27:21.731Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-11T18:27:21.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:27:21.880Z] prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container [2023-07-11T18:27:21.912Z] $ 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-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@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 [2023-07-11T18:27:22.241Z] $ docker top 62b45a1362f65006a55936c939280420a1a18436c3ca77092ce1629ea3b37507 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T18:27:22.621Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-19 [Pipeline] fileExists [Pipeline] sh [2023-07-11T18:27:22.965Z] + make test [2023-07-11T18:27:22.965Z] go test ./... -coverprofile=coverage.out [2023-07-11T18:27:27.159Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-11T18:27:37.120Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-11T18:27:37.120Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-11T18:27:42.378Z] internal/driver/driver.go:103:16: S1039: unnecessary use of fmt.Sprintf (gosimple) [2023-07-11T18:27:42.378Z] s.lc.Infof(fmt.Sprintf("Driver.HandleReadCommands(): EOF reached")) [2023-07-11T18:27:42.378Z] ^ [2023-07-11T18:27:42.378Z] make: *** [Makefile:33: lint] Error 1 [Pipeline] } [2023-07-11T18:27:42.425Z] $ docker stop --time=1 62b45a1362f65006a55936c939280420a1a18436c3ca77092ce1629ea3b37507 [2023-07-11T18:27:46.520Z] $ docker rm -f --volumes 62b45a1362f65006a55936c939280420a1a18436c3ca77092ce1629ea3b37507 [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-07-11T18:27:47.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T18:27:47.721Z] [2023-07-11T18:27:47.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:27:48.096Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T18:27:48.362Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-11T18:27:48.362Z] 5eb5b503b376: Pulling fs layer [2023-07-11T18:27:48.362Z] 5c69ac0246d0: Pulling fs layer [2023-07-11T18:27:48.362Z] ec43610c2a17: Pulling fs layer [2023-07-11T18:27:48.362Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-11T18:27:48.362Z] 33b1e0a273af: Pulling fs layer [2023-07-11T18:27:48.362Z] 5d3b04190fa2: Pulling fs layer [2023-07-11T18:27:48.362Z] 2f39f015ded8: Pulling fs layer [2023-07-11T18:27:48.362Z] 3a2ae6a8a46f: Waiting [2023-07-11T18:27:48.362Z] 2f39f015ded8: Waiting [2023-07-11T18:27:48.362Z] 5d3b04190fa2: Waiting [2023-07-11T18:27:48.362Z] 5c69ac0246d0: Download complete [2023-07-11T18:27:48.362Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-11T18:27:48.362Z] 3a2ae6a8a46f: Download complete [2023-07-11T18:27:48.362Z] 33b1e0a273af: Verifying Checksum [2023-07-11T18:27:48.362Z] 33b1e0a273af: Download complete [2023-07-11T18:27:48.362Z] 5d3b04190fa2: Verifying Checksum [2023-07-11T18:27:48.362Z] 5d3b04190fa2: Download complete [2023-07-11T18:27:48.362Z] ec43610c2a17: Verifying Checksum [2023-07-11T18:27:48.362Z] ec43610c2a17: Download complete [2023-07-11T18:27:48.620Z] 5eb5b503b376: Verifying Checksum [2023-07-11T18:27:48.620Z] 5eb5b503b376: Download complete [2023-07-11T18:27:49.185Z] 2f39f015ded8: Download complete [2023-07-11T18:27:49.753Z] 5eb5b503b376: Pull complete [2023-07-11T18:27:50.318Z] 5c69ac0246d0: Pull complete [2023-07-11T18:27:50.884Z] ec43610c2a17: Pull complete [2023-07-11T18:27:51.142Z] 3a2ae6a8a46f: Pull complete [2023-07-11T18:27:51.400Z] 33b1e0a273af: Pull complete [2023-07-11T18:27:51.968Z] 5d3b04190fa2: Pull complete [2023-07-11T18:27:56.184Z] 2f39f015ded8: Pull complete [2023-07-11T18:27:56.184Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-11T18:27:56.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T18:27:56.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:27:56.404Z] prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container [2023-07-11T18:27:56.440Z] $ 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-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@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 [2023-07-11T18:28:02.948Z] $ docker top fb3370bc025beae8ad861ea9df3ef5f07583565f96199b406ed2be38bc04b4ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:28:03.408Z] ---> job-cost.sh [2023-07-11T18:28:03.408Z] lf-activate-venv: SKIPPING [2023-07-11T18:28:03.408Z] INFO: No Stack... [2023-07-11T18:28:03.975Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-11T18:28:04.234Z] INFO: Archiving Costs [Pipeline] sh [2023-07-11T18:28:04.547Z] + cat /w/workspace/edgexfoundry_device-uart_PR-19/archives/cost.csv [2023-07-11T18:28:04.547Z] + cut -d, -f6 [Pipeline] lock [2023-07-11T18:28:04.587Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [2023-07-11T18:28:04.591Z] Resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] did not exist. Created. [2023-07-11T18:28:04.591Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-11T18:28:04.983Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-11T18:28:05.039Z] Stashed 1 file(s) [Pipeline] } [2023-07-11T18:28:05.061Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-11T18:28:05.145Z] $ docker stop --time=1 fb3370bc025beae8ad861ea9df3ef5f07583565f96199b406ed2be38bc04b4ba [2023-07-11T18:28:06.290Z] $ docker rm -f --volumes fb3370bc025beae8ad861ea9df3ef5f07583565f96199b406ed2be38bc04b4ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-11T18:28:06.672Z] Failed in branch amd64 [2023-07-11T18:28:08.463Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-864 in /w/workspace/edgexfoundry_device-uart_PR-19 [Pipeline] { [Pipeline] ws [2023-07-11T18:28:08.522Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2023-07-11T18:28:08.600Z] The recommended git tool is: git [2023-07-11T18:28:13.487Z] using credential edgex-jenkins-ssh [2023-07-11T18:28:13.509Z] Cloning the remote Git repository [2023-07-11T18:28:13.538Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-11T18:28:13.625Z] > git init /w/workspace/device-uart/1 # timeout=10 [2023-07-11T18:28:13.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-11T18:28:13.759Z] > git --version # timeout=10 [2023-07-11T18:28:13.779Z] > git --version # 'git version 2.25.1' [2023-07-11T18:28:13.781Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T18:28:13.910Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T18:28:14.984Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-11T18:28:15.001Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-11T18:28:15.800Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-11T18:28:15.840Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-11T18:28:15.841Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T18:28:15.856Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/19/head:refs/remotes/origin/PR-19 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-11T18:28:16.412Z] Merging remotes/origin/main commit 912115ba39df5d7e09033252c264c743a8c85b42 into PR head commit b118af3108b43a7b2a2f57134a5652e4155d5622 [2023-07-11T18:28:16.657Z] Merge succeeded, producing b118af3108b43a7b2a2f57134a5652e4155d5622 [2023-07-11T18:28:16.657Z] Checking out Revision b118af3108b43a7b2a2f57134a5652e4155d5622 (PR-19) [2023-07-11T18:28:16.421Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T18:28:16.489Z] > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 [2023-07-11T18:28:16.560Z] > git remote # timeout=10 [2023-07-11T18:28:16.578Z] > git config --get remote.origin.url # timeout=10 [2023-07-11T18:28:16.598Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-11T18:28:16.609Z] > git merge 912115ba39df5d7e09033252c264c743a8c85b42 # timeout=10 [2023-07-11T18:28:16.631Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-11T18:28:16.655Z] > git config core.sparsecheckout # timeout=10 [2023-07-11T18:28:16.668Z] > git checkout -f b118af3108b43a7b2a2f57134a5652e4155d5622 # timeout=10 [2023-07-11T18:28:20.099Z] Commit message: "feat: Move device params to res/devices/sample-devices.yaml" [2023-07-11T18:28:20.140Z] > git --version # timeout=10 [2023-07-11T18:28:20.156Z] > git --version # 'git version 2.25.1' [2023-07-11T18:28:20.171Z] fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T18:28:21.465Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-11T18:28:21.465Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-11T18:28:21.465Z] Dload Upload Total Spent Left Speed [2023-07-11T18:28:21.465Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-07-11T18:28:22.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-11T18:28:22.504Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-11T18:28:22.504Z] + sudo tee /etc/docker/daemon.new [2023-07-11T18:28:22.504Z] { [2023-07-11T18:28:22.504Z] "registry-mirrors": [ [2023-07-11T18:28:22.504Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-11T18:28:22.504Z] ], [2023-07-11T18:28:22.504Z] "bip": "10.250.0.254/24", [2023-07-11T18:28:22.504Z] "hosts": [ [2023-07-11T18:28:22.504Z] "tcp://0.0.0.0:5555", [2023-07-11T18:28:22.504Z] "unix:///var/run/docker.sock" [2023-07-11T18:28:22.504Z] ], [2023-07-11T18:28:22.504Z] "mtu": 1458, [2023-07-11T18:28:22.504Z] "selinux-enabled": true, [2023-07-11T18:28:22.504Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-11T18:28:22.504Z] } [Pipeline] sh [2023-07-11T18:28:22.843Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-11T18:28:23.200Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T18:28:41.536Z] provisioning config files... [2023-07-11T18:28:41.561Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config17628243863887977805tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:28:41.954Z] ---> docker-login.sh [2023-07-11T18:28:41.954Z] nexus3.edgexfoundry.org:10001 [2023-07-11T18:28:42.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:28:42.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:28:42.494Z] Configure a credential helper to remove this warning. See [2023-07-11T18:28:42.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:28:42.494Z] [2023-07-11T18:28:42.494Z] Login Succeeded [2023-07-11T18:28:42.494Z] nexus3.edgexfoundry.org:10002 [2023-07-11T18:28:42.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:28:42.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:28:42.764Z] Configure a credential helper to remove this warning. See [2023-07-11T18:28:42.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:28:42.764Z] [2023-07-11T18:28:42.764Z] Login Succeeded [2023-07-11T18:28:43.035Z] nexus3.edgexfoundry.org:10003 [2023-07-11T18:28:43.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:28:43.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:28:43.304Z] Configure a credential helper to remove this warning. See [2023-07-11T18:28:43.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:28:43.304Z] [2023-07-11T18:28:43.304Z] Login Succeeded [2023-07-11T18:28:43.304Z] nexus3.edgexfoundry.org:10004 [2023-07-11T18:28:43.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:28:43.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:28:43.576Z] Configure a credential helper to remove this warning. See [2023-07-11T18:28:43.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:28:43.576Z] [2023-07-11T18:28:43.576Z] Login Succeeded [2023-07-11T18:28:43.576Z] docker.io [2023-07-11T18:28:43.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-11T18:28:44.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-11T18:28:44.110Z] Configure a credential helper to remove this warning. See [2023-07-11T18:28:44.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-11T18:28:44.110Z] [2023-07-11T18:28:44.110Z] Login Succeeded [2023-07-11T18:28:44.110Z] ---> docker-login.sh ends [Pipeline] } [2023-07-11T18:28:44.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-11T18:28:44.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T18:28:44.556Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-11T18:28:44.599Z] ========================================================= [2023-07-11T18:28:44.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-11T18:28:44.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:28:45.105Z] + 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-07-11T18:28:46.066Z] Sending build context to Docker daemon 5.576MB [2023-07-11T18:28:46.342Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T18:28:46.342Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-11T18:28:46.342Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-11T18:28:46.342Z] c41833b44d91: Pulling fs layer [2023-07-11T18:28:46.342Z] ed15518f5707: Pulling fs layer [2023-07-11T18:28:46.342Z] feae8fd75edb: Pulling fs layer [2023-07-11T18:28:46.342Z] 242c74f7c9fa: Pulling fs layer [2023-07-11T18:28:46.342Z] 3cdef696dda3: Pulling fs layer [2023-07-11T18:28:46.342Z] 2ced38df9373: Pulling fs layer [2023-07-11T18:28:46.342Z] 58f1dce35555: Pulling fs layer [2023-07-11T18:28:46.342Z] 2ced38df9373: Waiting [2023-07-11T18:28:46.342Z] 3cdef696dda3: Waiting [2023-07-11T18:28:46.342Z] 58f1dce35555: Waiting [2023-07-11T18:28:46.342Z] 242c74f7c9fa: Waiting [2023-07-11T18:28:46.342Z] ed15518f5707: Download complete [2023-07-11T18:28:46.342Z] 242c74f7c9fa: Verifying Checksum [2023-07-11T18:28:46.342Z] 242c74f7c9fa: Download complete [2023-07-11T18:28:46.342Z] 3cdef696dda3: Verifying Checksum [2023-07-11T18:28:46.342Z] 3cdef696dda3: Download complete [2023-07-11T18:28:46.615Z] c41833b44d91: Verifying Checksum [2023-07-11T18:28:46.615Z] c41833b44d91: Download complete [2023-07-11T18:28:47.584Z] c41833b44d91: Pull complete [2023-07-11T18:28:47.584Z] 58f1dce35555: Verifying Checksum [2023-07-11T18:28:47.584Z] 58f1dce35555: Download complete [2023-07-11T18:28:48.172Z] ed15518f5707: Pull complete [2023-07-11T18:28:49.146Z] feae8fd75edb: Download complete [2023-07-11T18:28:49.146Z] 2ced38df9373: Download complete [2023-07-11T18:29:01.464Z] feae8fd75edb: Pull complete [2023-07-11T18:29:01.464Z] 242c74f7c9fa: Pull complete [2023-07-11T18:29:01.464Z] 3cdef696dda3: Pull complete [2023-07-11T18:29:06.811Z] 2ced38df9373: Pull complete [2023-07-11T18:29:09.403Z] 58f1dce35555: Pull complete [2023-07-11T18:29:09.403Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-07-11T18:29:09.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-11T18:29:09.403Z] ---> fadd8f120f05 [2023-07-11T18:29:09.403Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T18:29:10.819Z] ---> Running in ca646a610dc3 [2023-07-11T18:29:11.085Z] Removing intermediate container ca646a610dc3 [2023-07-11T18:29:11.085Z] ---> 85b5760e95df [2023-07-11T18:29:11.085Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T18:29:11.085Z] ---> Running in a6038aa47729 [2023-07-11T18:29:11.353Z] Removing intermediate container a6038aa47729 [2023-07-11T18:29:11.353Z] ---> afe0383a69d6 [2023-07-11T18:29:11.353Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-11T18:29:11.353Z] ---> Running in ac5607906266 [2023-07-11T18:29:11.939Z] Removing intermediate container ac5607906266 [2023-07-11T18:29:11.939Z] ---> 27163ebc53ae [2023-07-11T18:29:11.939Z] Step 6/12 : WORKDIR /device-uart [2023-07-11T18:29:11.939Z] ---> Running in e8bc28c5f9cf [2023-07-11T18:29:12.206Z] Removing intermediate container e8bc28c5f9cf [2023-07-11T18:29:12.206Z] ---> 1169bd608e10 [2023-07-11T18:29:12.206Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T18:29:12.206Z] ---> Running in 7f056e1e5a1e [2023-07-11T18:29:13.167Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T18:29:13.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T18:29:14.705Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-11T18:29:14.705Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-11T18:29:14.705Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-11T18:29:14.705Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-11T18:29:14.974Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T18:29:14.974Z] OK: 268 MiB in 57 packages [2023-07-11T18:29:15.946Z] Removing intermediate container 7f056e1e5a1e [2023-07-11T18:29:15.946Z] ---> 85dbb0822895 [2023-07-11T18:29:15.946Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-11T18:29:16.223Z] ---> 918463e41618 [2023-07-11T18:29:16.223Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T18:29:16.494Z] ---> Running in fb2deb6c28fc [2023-07-11T18:30:24.368Z] Removing intermediate container fb2deb6c28fc [2023-07-11T18:30:24.368Z] ---> 43dbe5d3b1c2 [2023-07-11T18:30:24.368Z] Step 10/12 : COPY . . [2023-07-11T18:30:24.368Z] ---> 362320339439 [2023-07-11T18:30:24.368Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T18:30:24.368Z] ---> Running in 942c52f14c92 [2023-07-11T18:30:24.368Z] Removing intermediate container 942c52f14c92 [2023-07-11T18:30:24.368Z] ---> 29348f13dbb2 [2023-07-11T18:30:24.368Z] Step 12/12 : RUN ${MAKE} [2023-07-11T18:30:24.368Z] ---> Running in b0dc0cacbe38 [2023-07-11T18:30:24.368Z] noop [2023-07-11T18:30:24.368Z] Removing intermediate container b0dc0cacbe38 [2023-07-11T18:30:24.368Z] ---> 653331fc5894 [2023-07-11T18:30:24.368Z] Successfully built 653331fc5894 [2023-07-11T18:30:24.368Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:30:24.850Z] + docker inspect -f . ci-base-image-arm64 [2023-07-11T18:30:24.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:30:25.127Z] prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container [2023-07-11T18:30:25.190Z] $ 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 [2023-07-11T18:30:26.382Z] $ docker top 4304de2ffd591571cd2d5b3690808d7c17e5a70403595284bd7d68b314e586b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T18:30:27.248Z] + go version [2023-07-11T18:30:27.248Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-07-11T18:30:27.283Z] $ docker stop --time=1 4304de2ffd591571cd2d5b3690808d7c17e5a70403595284bd7d68b314e586b0 [2023-07-11T18:30:28.893Z] $ docker rm -f --volumes 4304de2ffd591571cd2d5b3690808d7c17e5a70403595284bd7d68b314e586b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:30:29.748Z] + docker inspect -f . ci-base-image-arm64 [2023-07-11T18:30:29.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:30:30.004Z] prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container [2023-07-11T18:30:30.071Z] $ 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 [2023-07-11T18:30:33.472Z] $ docker top 214d38a7ac4e17665649517fb30db53685bde23ed60a98b240a6af074a862b50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T18:30:34.026Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2023-07-11T18:30:34.514Z] + make test [2023-07-11T18:30:34.514Z] go test ./... -coverprofile=coverage.out [2023-07-11T18:31:06.724Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-11T18:32:43.769Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-11T18:32:43.769Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-11T18:32:43.769Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-11T18:32:43.769Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-07-11T18:33:15.996Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-11T18:33:15.996Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-11T18:33:15.996Z] ./bin/test-attribution-txt.sh [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/device-sdk-go/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/go-mod-core-contracts/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/go-mod-bootstrap/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/go-mod-messaging/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/go-mod-registry/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for github.com/nats-io/nats-server/v2 is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-07-11T18:33:15.996Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-07-11T18:33:16.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-11T18:33:16.078Z] $ docker stop --time=1 214d38a7ac4e17665649517fb30db53685bde23ed60a98b240a6af074a862b50 [2023-07-11T18:33:17.947Z] $ docker rm -f --volumes 214d38a7ac4e17665649517fb30db53685bde23ed60a98b240a6af074a862b50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-11T18:33:19.119Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-11T18:33:19.795Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-11T18:33:20.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-11T18:33:20.937Z] + ls -al . [2023-07-11T18:33:20.937Z] total 140 [2023-07-11T18:33:20.937Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 11 18:30 . [2023-07-11T18:33:20.937Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 11 18:28 .. [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 11 18:28 .dockerignore [2023-07-11T18:33:20.937Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:28 .git [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 11 18:28 .gitignore [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 11 18:28 .golangci.yml [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 8847 Jul 11 18:28 Attribution.txt [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 1782 Jul 11 18:28 Dockerfile [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 11 18:28 GOVERNANCE.md [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 11 18:28 Jenkinsfile [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 11 18:28 LICENSE [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 1680 Jul 11 18:28 Makefile [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 11 18:28 OWNERS.md [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 11 18:28 README.md [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 11 18:26 VERSION [2023-07-11T18:33:20.937Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 11 18:28 bin [2023-07-11T18:33:20.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:28 cmd [2023-07-11T18:33:20.937Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 11 18:30 coverage.out [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 3480 Jul 11 18:28 go.mod [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 33104 Jul 11 18:28 go.sum [2023-07-11T18:33:20.937Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 11 18:28 internal [2023-07-11T18:33:20.937Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 11 18:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:33:21.355Z] + 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=b118af3108b43a7b2a2f57134a5652e4155d5622 --label arch=arm64 --label version=0.0.0 . [2023-07-11T18:33:21.633Z] Sending build context to Docker daemon 5.577MB [2023-07-11T18:33:21.634Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-11T18:33:21.634Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-11T18:33:21.634Z] ---> 653331fc5894 [2023-07-11T18:33:21.634Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-07-11T18:33:22.242Z] ---> Running in dbae4725b82c [2023-07-11T18:33:22.512Z] Removing intermediate container dbae4725b82c [2023-07-11T18:33:22.512Z] ---> d14b47568106 [2023-07-11T18:33:22.512Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-11T18:33:22.512Z] ---> Running in 32d9bc2dd5ad [2023-07-11T18:33:22.786Z] Removing intermediate container 32d9bc2dd5ad [2023-07-11T18:33:22.786Z] ---> 9c8fceb2ae97 [2023-07-11T18:33:22.786Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-11T18:33:23.056Z] ---> Running in ae5480536086 [2023-07-11T18:33:23.324Z] Removing intermediate container ae5480536086 [2023-07-11T18:33:23.324Z] ---> 8f2ab181db09 [2023-07-11T18:33:23.324Z] Step 6/25 : WORKDIR /device-uart [2023-07-11T18:33:23.612Z] ---> Running in b9ed180bed69 [2023-07-11T18:33:24.196Z] Removing intermediate container b9ed180bed69 [2023-07-11T18:33:24.196Z] ---> c165e343b621 [2023-07-11T18:33:24.196Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-11T18:33:24.196Z] ---> Running in 9c1ce25ee5d7 [2023-07-11T18:33:25.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T18:33:25.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T18:33:27.161Z] OK: 268 MiB in 57 packages [2023-07-11T18:33:27.751Z] Removing intermediate container 9c1ce25ee5d7 [2023-07-11T18:33:27.751Z] ---> 86ef1e611712 [2023-07-11T18:33:27.751Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-11T18:33:28.340Z] ---> 1b8547be2647 [2023-07-11T18:33:28.340Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-11T18:33:28.340Z] ---> Running in 866726d24be0 [2023-07-11T18:33:32.656Z] Removing intermediate container 866726d24be0 [2023-07-11T18:33:32.656Z] ---> f05f88ad5fcf [2023-07-11T18:33:32.656Z] Step 10/25 : COPY . . [2023-07-11T18:33:34.069Z] ---> 20c0468aafb7 [2023-07-11T18:33:34.069Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-11T18:33:34.069Z] ---> Running in 2786748a2fc1 [2023-07-11T18:33:34.335Z] Removing intermediate container 2786748a2fc1 [2023-07-11T18:33:34.335Z] ---> 811df55523d3 [2023-07-11T18:33:34.335Z] Step 12/25 : RUN ${MAKE} [2023-07-11T18:33:34.609Z] ---> Running in c97c24081ea0 [2023-07-11T18:33:36.107Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -o cmd/device-uart ./cmd [2023-07-11T18:35:57.851Z] Removing intermediate container c97c24081ea0 [2023-07-11T18:35:57.851Z] ---> 81e4769a1def [2023-07-11T18:35:57.851Z] Step 13/25 : FROM alpine:3.17 [2023-07-11T18:35:57.851Z] 3.17: Pulling from library/alpine [2023-07-11T18:35:57.851Z] edb6bdbacee9: Pulling fs layer [2023-07-11T18:35:57.851Z] edb6bdbacee9: Verifying Checksum [2023-07-11T18:35:57.851Z] edb6bdbacee9: Download complete [2023-07-11T18:35:57.851Z] edb6bdbacee9: Pull complete [2023-07-11T18:35:57.851Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-11T18:35:57.851Z] Status: Downloaded newer image for alpine:3.17 [2023-07-11T18:35:57.851Z] ---> 779605e5fbc0 [2023-07-11T18:35:57.851Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-11T18:35:57.851Z] ---> Running in d337c2efdbfa [2023-07-11T18:35:57.851Z] Removing intermediate container d337c2efdbfa [2023-07-11T18:35:57.851Z] ---> eecfa3c7c670 [2023-07-11T18:35:57.851Z] Step 15/25 : RUN apk add --update --no-cache zeromq dumb-init [2023-07-11T18:35:57.851Z] ---> Running in 23b3f00f5173 [2023-07-11T18:35:57.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-11T18:35:57.851Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-11T18:35:57.851Z] (1/6) Installing dumb-init (1.2.5-r2) [2023-07-11T18:35:57.851Z] (2/6) Installing libgcc (12.2.1_git20220924-r4) [2023-07-11T18:35:57.851Z] (3/6) Installing libsodium (1.0.18-r2) [2023-07-11T18:35:57.851Z] (4/6) Installing libstdc++ (12.2.1_git20220924-r4) [2023-07-11T18:35:57.851Z] (5/6) Installing libzmq (4.3.4-r1) [2023-07-11T18:35:57.851Z] (6/6) Installing zeromq (4.3.4-r1) [2023-07-11T18:35:57.851Z] Executing busybox-1.35.0-r29.trigger [2023-07-11T18:35:57.851Z] OK: 11 MiB in 21 packages [2023-07-11T18:35:57.851Z] Removing intermediate container 23b3f00f5173 [2023-07-11T18:35:57.851Z] ---> 0a77d2106bc9 [2023-07-11T18:35:57.851Z] Step 16/25 : WORKDIR / [2023-07-11T18:35:57.851Z] ---> Running in f599db7bc1fc [2023-07-11T18:35:57.851Z] Removing intermediate container f599db7bc1fc [2023-07-11T18:35:57.851Z] ---> 1ee49551e949 [2023-07-11T18:35:57.851Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-11T18:35:57.851Z] ---> a05f33ff3798 [2023-07-11T18:35:57.851Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-11T18:35:57.851Z] ---> 7b807cfa8fa5 [2023-07-11T18:35:57.851Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-11T18:35:57.851Z] ---> 21be7585177e [2023-07-11T18:35:57.851Z] Step 20/25 : EXPOSE 59995 [2023-07-11T18:35:57.851Z] ---> Running in e9f759627d80 [2023-07-11T18:35:57.851Z] Removing intermediate container e9f759627d80 [2023-07-11T18:35:57.851Z] ---> 4c21265073ca [2023-07-11T18:35:57.851Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-11T18:35:57.851Z] ---> Running in b056825f9950 [2023-07-11T18:35:57.851Z] Removing intermediate container b056825f9950 [2023-07-11T18:35:57.851Z] ---> 89e00033a93c [2023-07-11T18:35:57.851Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-11T18:35:57.851Z] ---> Running in 2102c6a5f575 [2023-07-11T18:35:58.116Z] Removing intermediate container 2102c6a5f575 [2023-07-11T18:35:58.116Z] ---> 4d094b787449 [2023-07-11T18:35:58.116Z] Step 23/25 : LABEL arch=arm64 [2023-07-11T18:35:58.116Z] ---> Running in 5baa92a64bbe [2023-07-11T18:35:58.388Z] Removing intermediate container 5baa92a64bbe [2023-07-11T18:35:58.388Z] ---> 3d4f4a9c58fd [2023-07-11T18:35:58.388Z] Step 24/25 : LABEL git_sha=b118af3108b43a7b2a2f57134a5652e4155d5622 [2023-07-11T18:35:58.657Z] ---> Running in 6f4d80efa5af [2023-07-11T18:35:58.925Z] Removing intermediate container 6f4d80efa5af [2023-07-11T18:35:58.925Z] ---> 8f80548a9aee [2023-07-11T18:35:58.925Z] Step 25/25 : LABEL version=0.0.0 [2023-07-11T18:35:58.925Z] ---> Running in 69e8e899a9a9 [2023-07-11T18:35:59.191Z] Removing intermediate container 69e8e899a9a9 [2023-07-11T18:35:59.192Z] ---> ee2782207d68 [2023-07-11T18:35:59.192Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-11T18:35:59.192Z] Successfully built ee2782207d68 [2023-07-11T18:35:59.192Z] 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 [2023-07-11T18:36:00.034Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T18:36:00.035Z] [2023-07-11T18:36:00.035Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:36:00.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T18:36:00.431Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-11T18:36:00.431Z] 8998bd30e6a1: Pulling fs layer [2023-07-11T18:36:00.431Z] 04944245beec: Pulling fs layer [2023-07-11T18:36:00.431Z] 699f458cf7ca: Pulling fs layer [2023-07-11T18:36:00.431Z] 765212b225bb: Pulling fs layer [2023-07-11T18:36:00.431Z] f23df028b6ca: Pulling fs layer [2023-07-11T18:36:00.431Z] d65c8cfc05b1: Pulling fs layer [2023-07-11T18:36:00.431Z] 2437ff75d9bd: Pulling fs layer [2023-07-11T18:36:00.431Z] 765212b225bb: Waiting [2023-07-11T18:36:00.431Z] f23df028b6ca: Waiting [2023-07-11T18:36:00.431Z] d65c8cfc05b1: Waiting [2023-07-11T18:36:00.431Z] 2437ff75d9bd: Waiting [2023-07-11T18:36:00.699Z] 04944245beec: Verifying Checksum [2023-07-11T18:36:00.699Z] 04944245beec: Download complete [2023-07-11T18:36:00.699Z] 765212b225bb: Verifying Checksum [2023-07-11T18:36:00.699Z] 765212b225bb: Download complete [2023-07-11T18:36:00.699Z] f23df028b6ca: Verifying Checksum [2023-07-11T18:36:00.699Z] f23df028b6ca: Download complete [2023-07-11T18:36:00.699Z] d65c8cfc05b1: Verifying Checksum [2023-07-11T18:36:00.699Z] d65c8cfc05b1: Download complete [2023-07-11T18:36:00.968Z] 699f458cf7ca: Verifying Checksum [2023-07-11T18:36:00.968Z] 699f458cf7ca: Download complete [2023-07-11T18:36:01.236Z] 8998bd30e6a1: Verifying Checksum [2023-07-11T18:36:01.236Z] 8998bd30e6a1: Download complete [2023-07-11T18:36:03.826Z] 2437ff75d9bd: Verifying Checksum [2023-07-11T18:36:03.826Z] 2437ff75d9bd: Download complete [2023-07-11T18:36:05.230Z] 8998bd30e6a1: Pull complete [2023-07-11T18:36:05.815Z] 04944245beec: Pull complete [2023-07-11T18:36:07.244Z] 699f458cf7ca: Pull complete [2023-07-11T18:36:07.244Z] 765212b225bb: Pull complete [2023-07-11T18:36:08.204Z] f23df028b6ca: Pull complete [2023-07-11T18:36:08.204Z] d65c8cfc05b1: Pull complete [2023-07-11T18:36:23.205Z] 2437ff75d9bd: Pull complete [2023-07-11T18:36:23.205Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-11T18:36:23.205Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-11T18:36:23.205Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:36:23.567Z] prd-ubuntu20.04-docker-arm64-4c-16g-864 does not seem to be running inside a container [2023-07-11T18:36:23.640Z] $ 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 [2023-07-11T18:36:26.203Z] $ docker top 0a9ff17c19d243aca5d3b784357d7f3aa83f7c14a4efb576e1c28346763d09b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:27.085Z] ---> job-cost.sh [2023-07-11T18:36:27.085Z] lf-activate-venv: SKIPPING [2023-07-11T18:36:27.085Z] INFO: No Stack... [2023-07-11T18:36:27.351Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-11T18:36:28.309Z] INFO: Archiving Costs [Pipeline] sh [2023-07-11T18:36:28.672Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2023-07-11T18:36:28.672Z] + cut -d, -f6 [Pipeline] lock [2023-07-11T18:36:29.015Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [2023-07-11T18:36:29.020Z] Resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] did not exist. Created. [2023-07-11T18:36:29.020Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-11T18:36:29.439Z] /w/workspace/device-uart/1@tmp/durable-aea733b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-11T18:36:30.115Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-11T18:36:30.150Z] Warning: overwriting stash ‘stack-cost’ [2023-07-11T18:36:30.191Z] Stashed 1 file(s) [Pipeline] } [2023-07-11T18:36:30.205Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-19-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-11T18:36:30.293Z] $ docker stop --time=1 0a9ff17c19d243aca5d3b784357d7f3aa83f7c14a4efb576e1c28346763d09b5 [2023-07-11T18:36:31.780Z] $ docker rm -f --volumes 0a9ff17c19d243aca5d3b784357d7f3aa83f7c14a4efb576e1c28346763d09b5 [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 [2023-07-11T18:36:34.655Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-19/archives ] [2023-07-11T18:36:34.655Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-19/archives [2023-07-11T18:36:34.655Z] total 16 [2023-07-11T18:36:34.655Z] drwxr-xr-x 3 root root 4096 Jul 11 18:28 . [2023-07-11T18:36:34.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:28 .. [2023-07-11T18:36:34.655Z] drwxr-xr-x 2 root root 4096 Jul 11 18:28 cost [2023-07-11T18:36:34.655Z] -rw-r--r-- 1 root root 82 Jul 11 18:28 cost.csv [2023-07-11T18:36:34.655Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-19/archives [2023-07-11T18:36:34.655Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-19/archives [2023-07-11T18:36:34.655Z] total 16 [2023-07-11T18:36:34.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 11 18:28 . [2023-07-11T18:36:34.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 11 18:28 .. [2023-07-11T18:36:34.655Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 11 18:28 cost [2023-07-11T18:36:34.655Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 11 18:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:34.984Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:35.876Z] ---> package-listing.sh [2023-07-11T18:36:35.877Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-11T18:36:35.877Z] ++ facter osfamily [2023-07-11T18:36:36.138Z] + OS_FAMILY=debian [2023-07-11T18:36:36.138Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-19 [2023-07-11T18:36:36.138Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-11T18:36:36.138Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-11T18:36:36.138Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-11T18:36:36.138Z] + PACKAGES=/tmp/packages_start.txt [2023-07-11T18:36:36.138Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-19 ']' [2023-07-11T18:36:36.138Z] + PACKAGES=/tmp/packages_end.txt [2023-07-11T18:36:36.138Z] + case "${OS_FAMILY}" in [2023-07-11T18:36:36.138Z] + dpkg -l [2023-07-11T18:36:36.138Z] + grep '^ii' [2023-07-11T18:36:36.138Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-11T18:36:36.138Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-11T18:36:36.138Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-11T18:36:36.138Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-19 ']' [2023-07-11T18:36:36.138Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-19/archives/ [2023-07-11T18:36:36.138Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-19/archives/ [Pipeline] echo [2023-07-11T18:36:36.196Z] 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-19/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-11T18:36:36.498Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-11T18:36:37.123Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-11T18:36:37.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-11T18:36:37.276Z] prd-ubuntu20.04-docker-8c-8g-863 does not seem to be running inside a container [2023-07-11T18:36:37.307Z] $ 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-19/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-19 -v /w/workspace/edgexfoundry_device-uart_PR-19:/w/workspace/edgexfoundry_device-uart_PR-19:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-19@tmp:/w/workspace/edgexfoundry_device-uart_PR-19@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-07-11T18:36:37.483Z] $ docker top d17f698892d7bf331f2c3bbfc3862faceb21d30335407eea3952be6ed63356ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-11T18:36:37.872Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-11T18:36:38.197Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-11T18:36:38.504Z] + ls /var/log/sa-host [2023-07-11T18:36:38.504Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-11T18:36:38.731Z] provisioning config files... [2023-07-11T18:36:38.743Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-19@tmp/config16374710893094806377tmp [Pipeline] { [Pipeline] echo [2023-07-11T18:36:38.792Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:39.112Z] ---> create-netrc.sh [Pipeline] } [2023-07-11T18:36:39.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:39.549Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-11T18:36:39.579Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:39.890Z] ---> sudo-logs.sh [2023-07-11T18:36:39.890Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-11T18:36:39.972Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:40.314Z] ---> job-cost.sh [2023-07-11T18:36:40.314Z] lf-activate-venv: SKIPPING [2023-07-11T18:36:40.314Z] DEBUG: total: 0.2199999988079071 [2023-07-11T18:36:40.314Z] INFO: Retrieving Stack Cost... [2023-07-11T18:36:40.885Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-11T18:36:41.144Z] INFO: Archiving Costs [Pipeline] echo [2023-07-11T18:36:41.179Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-11T18:36:41.525Z] ---> logs-deploy.sh [2023-07-11T18:36:41.525Z] lf-activate-venv: SKIPPING [2023-07-11T18:36:41.525Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-19/1 [2023-07-11T18:36:41.525Z] INFO: archiving workspace using pattern(s): [2023-07-11T18:36:42.459Z] Archives upload complete. [2023-07-11T18:36:42.459Z] INFO: archiving logs to Nexus