Pull request #14 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-hcl for edgexfoundry/device-uart Loading trusted files from base branch main at 45a931a0542841c366d3c8b3b227d12dead9e8fd rather than 5115dc3e8e9c6f1474469384f920d3885243d03c Obtained Jenkinsfile from 45a931a0542841c366d3c8b3b227d12dead9e8fd Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6060260085335253247.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-ssh1518393760104267597.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17275742827172957025.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11734496872214044785.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8185090582321168078.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-173 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-14 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 5115dc3e8e9c6f1474469384f920d3885243d03c > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing 5115dc3e8e9c6f1474469384f920d3885243d03c Checking out Revision 5115dc3e8e9c6f1474469384f920d3885243d03c (PR-14) > git config core.sparsecheckout # timeout=10 > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # 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 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 Commit message: "feat: Upgrade to V3" > git rev-list --no-walk 8503bde12078bdbf4498e7a0b1306e1e869066d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-29T15:19:01.449Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-29T15:19:01.493Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-29T15:19:01.506Z] ========================================================= [2023-06-29T15:19:01.506Z] EdgeX Global Pipelines Version Info [2023-06-29T15:19:01.506Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:19:02.205Z] ------------------- [2023-06-29T15:19:02.205Z] stable info: [2023-06-29T15:19:02.205Z] ------------------- [2023-06-29T15:19:02.205Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-29T15:19:02.205Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T15:19:02.205Z] Message: update stable to v1.0.250 [2023-06-29T15:19:02.775Z] ------------------- [2023-06-29T15:19:02.775Z] experimental info: [2023-06-29T15:19:02.775Z] ------------------- [2023-06-29T15:19:02.775Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-29T15:19:02.775Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T15:19:02.775Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-29T15:19:02.938Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-06-29T15:19:02.948Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-06-29T15:19:02.957Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-29T15:19:02.967Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-29T15:19:02.975Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-29T15:19:02.990Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-29T15:19:03.006Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-29T15:19:03.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-29T15:19:03.032Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-29T15:19:03.043Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-29T15:19:03.055Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-29T15:19:03.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-06-29T15:19:03.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-29T15:19:03.092Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-29T15:19:03.105Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T15:19:03.117Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T15:19:03.129Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T15:19:03.144Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T15:19:03.161Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-29T15:19:03.180Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-29T15:19:03.198Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-29T15:19:03.218Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-29T15:19:03.236Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-29T15:19:03.250Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-29T15:19:03.263Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-29T15:19:03.275Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-29T15:19:03.292Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-29T15:19:03.314Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo [2023-06-29T15:19:03.330Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo [2023-06-29T15:19:03.344Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo [2023-06-29T15:19:03.361Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo [2023-06-29T15:19:03.380Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5115dc3 [Pipeline] echo [2023-06-29T15:19:03.400Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T15:19:03.449Z] provisioning config files... [2023-06-29T15:19:03.463Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config16187892834049964166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:19:03.807Z] ---> docker-login.sh [2023-06-29T15:19:03.807Z] nexus3.edgexfoundry.org:10001 [2023-06-29T15:19:03.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:04.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:04.066Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:04.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:04.066Z] [2023-06-29T15:19:04.066Z] Login Succeeded [2023-06-29T15:19:04.066Z] nexus3.edgexfoundry.org:10002 [2023-06-29T15:19:04.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:04.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:04.325Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:04.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:04.325Z] [2023-06-29T15:19:04.325Z] Login Succeeded [2023-06-29T15:19:04.325Z] nexus3.edgexfoundry.org:10003 [2023-06-29T15:19:04.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:04.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:04.325Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:04.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:04.325Z] [2023-06-29T15:19:04.325Z] Login Succeeded [2023-06-29T15:19:04.325Z] nexus3.edgexfoundry.org:10004 [2023-06-29T15:19:04.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:04.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:04.586Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:04.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:04.586Z] [2023-06-29T15:19:04.586Z] Login Succeeded [2023-06-29T15:19:04.586Z] docker.io [2023-06-29T15:19:04.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:04.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:04.846Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:04.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:04.846Z] [2023-06-29T15:19:04.846Z] Login Succeeded [2023-06-29T15:19:04.846Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T15:19:04.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-29T15:19:05.228Z] + git rev-list -1 --merges 5115dc3e8e9c6f1474469384f920d3885243d03c~1..5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo [2023-06-29T15:19:05.278Z] -----------> git rev-list -1 --merges 5115dc3e8e9c6f1474469384f920d3885243d03c~1..5115dc3e8e9c6f1474469384f920d3885243d03c 5115dc3e8e9c6f1474469384f920d3885243d03c [false] [Pipeline] sh [2023-06-29T15:19:05.563Z] + git log --format=format:%s -1 5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo [2023-06-29T15:19:05.576Z] ========================================================= [2023-06-29T15:19:05.576Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-29T15:19:05.576Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T15:19:05.905Z] + git log --format=format:%s -1 5115dc3e8e9c6f1474469384f920d3885243d03c [Pipeline] echo [2023-06-29T15:19:05.914Z] [semverPrep] GIT_COMMIT: 5115dc3e8e9c6f1474469384f920d3885243d03c, Commit Message: feat: Upgrade to V3 [Pipeline] echo [2023-06-29T15:19:05.923Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-29T15:19:06.299Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-29T15:19:06.299Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-29T15:19:06.299Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-29T15:19:06.299Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-29T15:19:06.299Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-29T15:19:06.299Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-29T15:19:06.299Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:19:06.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T15:19:06.708Z] [2023-06-29T15:19:06.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:19:07.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T15:19:07.004Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-29T15:19:07.004Z] b85a868b505f: Pulling fs layer [2023-06-29T15:19:07.004Z] e2be974225ed: Pulling fs layer [2023-06-29T15:19:07.004Z] 339a4e72a1f5: Pulling fs layer [2023-06-29T15:19:07.004Z] 988bab9f4d93: Pulling fs layer [2023-06-29T15:19:07.004Z] 1469e6f7b9e6: Pulling fs layer [2023-06-29T15:19:07.004Z] eaf3925da568: Pulling fs layer [2023-06-29T15:19:07.004Z] bab4dde63d76: Pulling fs layer [2023-06-29T15:19:07.004Z] bde34c3a00c8: Pulling fs layer [2023-06-29T15:19:07.004Z] b352a97aabf1: Pulling fs layer [2023-06-29T15:19:07.004Z] 4872d77fe225: Pulling fs layer [2023-06-29T15:19:07.004Z] 5851b861e8e6: Pulling fs layer [2023-06-29T15:19:07.004Z] b352a97aabf1: Waiting [2023-06-29T15:19:07.004Z] 4872d77fe225: Waiting [2023-06-29T15:19:07.004Z] bab4dde63d76: Waiting [2023-06-29T15:19:07.004Z] bde34c3a00c8: Waiting [2023-06-29T15:19:07.004Z] 5851b861e8e6: Waiting [2023-06-29T15:19:07.004Z] 988bab9f4d93: Waiting [2023-06-29T15:19:07.004Z] 1469e6f7b9e6: Waiting [2023-06-29T15:19:07.004Z] eaf3925da568: Waiting [2023-06-29T15:19:07.004Z] e2be974225ed: Download complete [2023-06-29T15:19:07.004Z] 988bab9f4d93: Verifying Checksum [2023-06-29T15:19:07.004Z] 988bab9f4d93: Download complete [2023-06-29T15:19:07.262Z] 1469e6f7b9e6: Verifying Checksum [2023-06-29T15:19:07.262Z] 1469e6f7b9e6: Download complete [2023-06-29T15:19:07.262Z] 339a4e72a1f5: Verifying Checksum [2023-06-29T15:19:07.262Z] 339a4e72a1f5: Download complete [2023-06-29T15:19:07.262Z] eaf3925da568: Verifying Checksum [2023-06-29T15:19:07.262Z] eaf3925da568: Download complete [2023-06-29T15:19:07.262Z] bde34c3a00c8: Download complete [2023-06-29T15:19:07.262Z] b352a97aabf1: Verifying Checksum [2023-06-29T15:19:07.262Z] b352a97aabf1: Download complete [2023-06-29T15:19:07.262Z] 4872d77fe225: Verifying Checksum [2023-06-29T15:19:07.262Z] 4872d77fe225: Download complete [2023-06-29T15:19:07.262Z] 5851b861e8e6: Verifying Checksum [2023-06-29T15:19:07.262Z] 5851b861e8e6: Download complete [2023-06-29T15:19:07.262Z] b85a868b505f: Verifying Checksum [2023-06-29T15:19:07.262Z] b85a868b505f: Download complete [2023-06-29T15:19:07.521Z] bab4dde63d76: Verifying Checksum [2023-06-29T15:19:07.521Z] bab4dde63d76: Download complete [2023-06-29T15:19:08.471Z] b85a868b505f: Pull complete [2023-06-29T15:19:08.729Z] e2be974225ed: Pull complete [2023-06-29T15:19:08.990Z] 339a4e72a1f5: Pull complete [2023-06-29T15:19:08.990Z] 988bab9f4d93: Pull complete [2023-06-29T15:19:09.249Z] 1469e6f7b9e6: Pull complete [2023-06-29T15:19:09.506Z] eaf3925da568: Pull complete [2023-06-29T15:19:10.884Z] bab4dde63d76: Pull complete [2023-06-29T15:19:10.884Z] bde34c3a00c8: Pull complete [2023-06-29T15:19:11.142Z] b352a97aabf1: Pull complete [2023-06-29T15:19:11.142Z] 4872d77fe225: Pull complete [2023-06-29T15:19:11.142Z] 5851b861e8e6: Pull complete [2023-06-29T15:19:11.142Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-29T15:19:11.142Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T15:19:11.143Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:19:11.231Z] prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container [2023-06-29T15:19:11.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-29T15:19:14.278Z] $ docker top ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d -eo pid,comm [2023-06-29T15:19:14.328Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-06-29T15:19:14.328Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-29T15:19:14.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T15:19:14.365Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T15:19:14.476Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T15:19:14.482Z] $ docker exec ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent [2023-06-29T15:19:14.578Z] SSH_AUTH_SOCK=/tmp/ssh-5YY0VWHYMJUA/agent.31 [2023-06-29T15:19:14.578Z] SSH_AGENT_PID=37 [2023-06-29T15:19:14.584Z] Running ssh-add (command line suppressed) [2023-06-29T15:19:14.684Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_3164787083079276539.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_3164787083079276539.key) [2023-06-29T15:19:14.695Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T15:19:14.986Z] + git tag --points-at HEAD [Pipeline] } [2023-06-29T15:19:15.002Z] $ docker exec --env ******** --env ******** ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent -k [2023-06-29T15:19:15.087Z] unset SSH_AUTH_SOCK; [2023-06-29T15:19:15.087Z] unset SSH_AGENT_PID; [2023-06-29T15:19:15.088Z] echo Agent pid 37 killed; [2023-06-29T15:19:15.091Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-29T15:19:15.118Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T15:19:15.118Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T15:19:15.219Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T15:19:15.226Z] $ docker exec ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent [2023-06-29T15:19:15.325Z] SSH_AUTH_SOCK=/tmp/ssh-EQBvedrLj7u7/agent.69 [2023-06-29T15:19:15.325Z] SSH_AGENT_PID=75 [2023-06-29T15:19:15.331Z] Running ssh-add (command line suppressed) [2023-06-29T15:19:15.444Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_9225302829485156145.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_9225302829485156145.key) [2023-06-29T15:19:15.453Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T15:19:15.739Z] + git semver init [2023-06-29T15:19:15.999Z] 2023-06-29 15:19:15,929 [run_init] DEBUG init version:0.0.0 force:False [2023-06-29T15:19:15.999Z] 2023-06-29 15:19:15,930 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-29T15:19:15.999Z] 2023-06-29 15:19:15,930 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-29T15:19:15.999Z] 2023-06-29 15:19:15,930 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-14/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14, universal_newlines=False, shell=None, istream=None) [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,754 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,755 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,755 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,759 [execute] INFO git cat-file --batch-check [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,759 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,764 [execute] INFO git cat-file --batch [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-29T15:19:16.938Z] 2023-06-29 15:19:16,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-29T15:19:16.938Z] 0.0.0 [Pipeline] } [2023-06-29T15:19:16.953Z] $ docker exec --env ******** --env ******** ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d ssh-agent -k [2023-06-29T15:19:17.058Z] unset SSH_AUTH_SOCK; [2023-06-29T15:19:17.058Z] unset SSH_AGENT_PID; [2023-06-29T15:19:17.058Z] echo Agent pid 75 killed; [2023-06-29T15:19:17.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-29T15:19:17.366Z] + git semver [Pipeline] } [2023-06-29T15:19:17.643Z] $ docker stop --time=1 ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d [2023-06-29T15:19:18.906Z] $ docker rm -f --volumes ad3320fb539c381ae84aa96d4f0517e7ac52cc375674d2f0da4d4c1fe105f27d [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-29T15:19:19.244Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-29T15:19:19.442Z] Stashed 1 file(s) [Pipeline] echo [2023-06-29T15:19:19.444Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T15:19:19.586Z] provisioning config files... [2023-06-29T15:19:19.597Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config1171093285414132683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:19:19.897Z] ---> docker-login.sh [2023-06-29T15:19:19.897Z] nexus3.edgexfoundry.org:10001 [2023-06-29T15:19:19.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:19.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:19.898Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:19.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:19.898Z] [2023-06-29T15:19:19.898Z] Login Succeeded [2023-06-29T15:19:19.898Z] nexus3.edgexfoundry.org:10002 [2023-06-29T15:19:19.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:19.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:19.898Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:19.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:19.898Z] [2023-06-29T15:19:19.898Z] Login Succeeded [2023-06-29T15:19:19.898Z] nexus3.edgexfoundry.org:10003 [2023-06-29T15:19:20.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:20.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:20.156Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:20.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:20.156Z] [2023-06-29T15:19:20.156Z] Login Succeeded [2023-06-29T15:19:20.156Z] nexus3.edgexfoundry.org:10004 [2023-06-29T15:19:20.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:20.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:20.156Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:20.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:20.156Z] [2023-06-29T15:19:20.156Z] Login Succeeded [2023-06-29T15:19:20.156Z] docker.io [2023-06-29T15:19:20.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:19:20.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:19:20.417Z] Configure a credential helper to remove this warning. See [2023-06-29T15:19:20.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:19:20.417Z] [2023-06-29T15:19:20.417Z] Login Succeeded [2023-06-29T15:19:20.417Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T15:19:20.426Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T15:19:20.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T15:19:20.510Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T15:19:20.523Z] ========================================================= [2023-06-29T15:19:20.523Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-29T15:19:20.523Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:19:20.833Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-29T15:19:20.833Z] Sending build context to Docker daemon 11.11MB [2023-06-29T15:19:20.833Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-29T15:19:20.833Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-29T15:19:20.833Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-29T15:19:20.833Z] f56be85fc22e: Pulling fs layer [2023-06-29T15:19:20.833Z] 85791d961cd3: Pulling fs layer [2023-06-29T15:19:20.833Z] d694b5ae8c79: Pulling fs layer [2023-06-29T15:19:20.833Z] 9f32a84ed3da: Pulling fs layer [2023-06-29T15:19:20.833Z] 4d19c01a9841: Pulling fs layer [2023-06-29T15:19:20.833Z] 9325e15d5711: Pulling fs layer [2023-06-29T15:19:20.833Z] 556b6ee489ea: Pulling fs layer [2023-06-29T15:19:20.833Z] c5a4b2cf53e6: Pulling fs layer [2023-06-29T15:19:20.833Z] 4d19c01a9841: Waiting [2023-06-29T15:19:20.833Z] 9325e15d5711: Waiting [2023-06-29T15:19:20.833Z] 556b6ee489ea: Waiting [2023-06-29T15:19:20.833Z] c5a4b2cf53e6: Waiting [2023-06-29T15:19:20.833Z] 9f32a84ed3da: Waiting [2023-06-29T15:19:21.093Z] 85791d961cd3: Verifying Checksum [2023-06-29T15:19:21.093Z] 85791d961cd3: Download complete [2023-06-29T15:19:21.093Z] 9f32a84ed3da: Verifying Checksum [2023-06-29T15:19:21.093Z] 9f32a84ed3da: Download complete [2023-06-29T15:19:21.093Z] f56be85fc22e: Verifying Checksum [2023-06-29T15:19:21.093Z] f56be85fc22e: Download complete [2023-06-29T15:19:21.093Z] 4d19c01a9841: Verifying Checksum [2023-06-29T15:19:21.093Z] 4d19c01a9841: Download complete [2023-06-29T15:19:21.093Z] 9325e15d5711: Verifying Checksum [2023-06-29T15:19:21.093Z] 9325e15d5711: Download complete [2023-06-29T15:19:21.093Z] f56be85fc22e: Pull complete [2023-06-29T15:19:21.353Z] 85791d961cd3: Pull complete [2023-06-29T15:19:21.616Z] c5a4b2cf53e6: Verifying Checksum [2023-06-29T15:19:21.616Z] c5a4b2cf53e6: Download complete [2023-06-29T15:19:21.616Z] d694b5ae8c79: Verifying Checksum [2023-06-29T15:19:21.616Z] d694b5ae8c79: Download complete [2023-06-29T15:19:21.876Z] 556b6ee489ea: Verifying Checksum [2023-06-29T15:19:21.876Z] 556b6ee489ea: Download complete [2023-06-29T15:19:25.165Z] d694b5ae8c79: Pull complete [2023-06-29T15:19:25.165Z] 9f32a84ed3da: Pull complete [2023-06-29T15:19:25.165Z] 4d19c01a9841: Pull complete [2023-06-29T15:19:25.425Z] 9325e15d5711: Pull complete [2023-06-29T15:19:27.962Z] 556b6ee489ea: Pull complete [2023-06-29T15:19:28.898Z] c5a4b2cf53e6: Pull complete [2023-06-29T15:19:28.898Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-29T15:19:28.898Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-29T15:19:28.898Z] ---> c4be618373d6 [2023-06-29T15:19:28.898Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-29T15:19:34.198Z] ---> Running in aa29a4ceeb1e [2023-06-29T15:19:34.198Z] Removing intermediate container aa29a4ceeb1e [2023-06-29T15:19:34.198Z] ---> 82fe8f14c9f2 [2023-06-29T15:19:34.198Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-29T15:19:34.198Z] ---> Running in 6e71c3953e3e [2023-06-29T15:19:34.198Z] Removing intermediate container 6e71c3953e3e [2023-06-29T15:19:34.198Z] ---> da4e4ea8b201 [2023-06-29T15:19:34.198Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-29T15:19:34.198Z] ---> Running in 50041bff3863 [2023-06-29T15:19:34.198Z] Removing intermediate container 50041bff3863 [2023-06-29T15:19:34.198Z] ---> 0ceda4fa40d5 [2023-06-29T15:19:34.198Z] Step 6/12 : WORKDIR /device-uart [2023-06-29T15:19:34.198Z] ---> Running in 320e75b194e1 [2023-06-29T15:19:34.198Z] Removing intermediate container 320e75b194e1 [2023-06-29T15:19:34.198Z] ---> 7cff2671c6f7 [2023-06-29T15:19:34.198Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-29T15:19:34.198Z] ---> Running in 0b75491aa095 [2023-06-29T15:19:34.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-29T15:19:34.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-29T15:19:34.456Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-29T15:19:34.456Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-29T15:19:34.456Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-29T15:19:34.456Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-29T15:19:34.456Z] Executing busybox-1.35.0-r29.trigger [2023-06-29T15:19:34.456Z] OK: 269 MiB in 57 packages [2023-06-29T15:19:34.541Z] Still waiting to schedule task [2023-06-29T15:19:34.541Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-29T15:19:35.022Z] Removing intermediate container 0b75491aa095 [2023-06-29T15:19:35.022Z] ---> d37c3838538e [2023-06-29T15:19:35.022Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-29T15:19:35.022Z] ---> aeee0fcadf26 [2023-06-29T15:19:35.022Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-29T15:19:35.022Z] ---> Running in 01686637af0c [2023-06-29T15:20:21.741Z] Removing intermediate container 01686637af0c [2023-06-29T15:20:21.741Z] ---> 75c841d16624 [2023-06-29T15:20:21.741Z] Step 10/12 : COPY . . [2023-06-29T15:20:21.741Z] ---> dcc5afd076f5 [2023-06-29T15:20:21.741Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-29T15:20:21.741Z] ---> Running in d3f9351f8656 [2023-06-29T15:20:22.002Z] Removing intermediate container d3f9351f8656 [2023-06-29T15:20:22.002Z] ---> 05e7b3137c85 [2023-06-29T15:20:22.002Z] Step 12/12 : RUN ${MAKE} [2023-06-29T15:20:22.002Z] ---> Running in 98e43ae7dfba [2023-06-29T15:20:22.262Z] noop [2023-06-29T15:20:22.522Z] Removing intermediate container 98e43ae7dfba [2023-06-29T15:20:22.522Z] ---> 79f77617426f [2023-06-29T15:20:22.522Z] Successfully built 79f77617426f [2023-06-29T15:20:22.522Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:20:22.834Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T15:20:22.834Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:20:22.899Z] prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container [2023-06-29T15:20:22.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-29T15:20:23.261Z] $ docker top 1e332598963e72f58642fda48264c6bf8df24c2d469e7b6f4eec077bf950f36a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T15:20:23.606Z] + go version [2023-06-29T15:20:23.606Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-29T15:20:23.619Z] $ docker stop --time=1 1e332598963e72f58642fda48264c6bf8df24c2d469e7b6f4eec077bf950f36a [2023-06-29T15:20:24.879Z] $ docker rm -f --volumes 1e332598963e72f58642fda48264c6bf8df24c2d469e7b6f4eec077bf950f36a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:20:25.273Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T15:20:25.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:20:25.335Z] prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container [2023-06-29T15:20:25.370Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-29T15:20:25.681Z] $ docker top 720e9cb5c9a918b0c5518a26a106613be37e76970fd752525358f09aceb05f21 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T15:20:26.013Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh [2023-06-29T15:20:26.306Z] + make test [2023-06-29T15:20:26.306Z] go test ./... -coverprofile=coverage.out [2023-06-29T15:20:30.491Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-29T15:20:38.597Z] # github.com/edgexfoundry/device-uart/internal/driver [2023-06-29T15:20:38.598Z] internal/driver/driver.go:68:18: method Driver.Start already declared at internal/driver/driver.go:61:18 [2023-06-29T15:20:38.598Z] internal/driver/driver.go:200:18: method Driver.Discover already declared at internal/driver/driver.go:168:18 [2023-06-29T15:20:38.598Z] internal/driver/driver.go:206:18: method Driver.ValidateDevice already declared at internal/driver/driver.go:174:18 [2023-06-29T15:20:39.968Z] FAIL [2023-06-29T15:20:39.968Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-06-29T15:20:39.982Z] $ docker stop --time=1 720e9cb5c9a918b0c5518a26a106613be37e76970fd752525358f09aceb05f21 [2023-06-29T15:20:42.615Z] $ docker rm -f --volumes 720e9cb5c9a918b0c5518a26a106613be37e76970fd752525358f09aceb05f21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:20:43.173Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T15:20:43.174Z] [2023-06-29T15:20:43.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:20:43.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T15:20:43.474Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-29T15:20:43.474Z] 5eb5b503b376: Pulling fs layer [2023-06-29T15:20:43.474Z] 5c69ac0246d0: Pulling fs layer [2023-06-29T15:20:43.474Z] ec43610c2a17: Pulling fs layer [2023-06-29T15:20:43.474Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-29T15:20:43.474Z] 33b1e0a273af: Pulling fs layer [2023-06-29T15:20:43.474Z] 5d3b04190fa2: Pulling fs layer [2023-06-29T15:20:43.474Z] 2f39f015ded8: Pulling fs layer [2023-06-29T15:20:43.474Z] 5d3b04190fa2: Waiting [2023-06-29T15:20:43.474Z] 2f39f015ded8: Waiting [2023-06-29T15:20:43.474Z] 3a2ae6a8a46f: Waiting [2023-06-29T15:20:43.474Z] 33b1e0a273af: Waiting [2023-06-29T15:20:43.474Z] 5c69ac0246d0: Download complete [2023-06-29T15:20:43.474Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-29T15:20:43.474Z] 3a2ae6a8a46f: Download complete [2023-06-29T15:20:43.474Z] 33b1e0a273af: Verifying Checksum [2023-06-29T15:20:43.474Z] 33b1e0a273af: Download complete [2023-06-29T15:20:43.474Z] 5d3b04190fa2: Download complete [2023-06-29T15:20:43.474Z] ec43610c2a17: Verifying Checksum [2023-06-29T15:20:43.732Z] 5eb5b503b376: Download complete [2023-06-29T15:20:44.299Z] 2f39f015ded8: Download complete [2023-06-29T15:20:44.865Z] 5eb5b503b376: Pull complete [2023-06-29T15:20:44.865Z] 5c69ac0246d0: Pull complete [2023-06-29T15:20:45.432Z] ec43610c2a17: Pull complete [2023-06-29T15:20:45.432Z] 3a2ae6a8a46f: Pull complete [2023-06-29T15:20:45.691Z] 33b1e0a273af: Pull complete [2023-06-29T15:20:45.691Z] 5d3b04190fa2: Pull complete [2023-06-29T15:20:49.878Z] 2f39f015ded8: Pull complete [2023-06-29T15:20:49.878Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-29T15:20:49.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T15:20:49.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:20:49.957Z] prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container [2023-06-29T15:20:49.990Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T15:20:53.590Z] $ docker top fc84a927ca003eda44dbfca9a084a30fb34f7a07c735ad40f0fa79e6c1e61693 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:20:53.984Z] ---> job-cost.sh [2023-06-29T15:20:53.984Z] lf-activate-venv: SKIPPING [2023-06-29T15:20:53.984Z] INFO: No Stack... [2023-06-29T15:20:54.551Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T15:20:54.810Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T15:20:55.099Z] + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv [2023-06-29T15:20:55.100Z] + cut -d, -f6 [Pipeline] lock [2023-06-29T15:20:55.113Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [2023-06-29T15:20:55.126Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] did not exist. Created. [2023-06-29T15:20:55.127Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T15:20:55.432Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-29T15:20:55.461Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T15:20:55.467Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T15:20:55.485Z] $ docker stop --time=1 fc84a927ca003eda44dbfca9a084a30fb34f7a07c735ad40f0fa79e6c1e61693 [2023-06-29T15:20:56.639Z] $ docker rm -f --volumes fc84a927ca003eda44dbfca9a084a30fb34f7a07c735ad40f0fa79e6c1e61693 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T15:20:56.737Z] Failed in branch amd64 [2023-06-29T15:21:10.654Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-174 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws [2023-06-29T15:21:10.666Z] Running in /w/workspace/device-uart/7 [Pipeline] { [Pipeline] checkout [2023-06-29T15:21:10.703Z] The recommended git tool is: git [2023-06-29T15:21:15.602Z] using credential edgex-jenkins-ssh [2023-06-29T15:21:15.618Z] Cloning the remote Git repository [2023-06-29T15:21:15.659Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-06-29T15:21:15.745Z] > git init /w/workspace/device-uart/7 # timeout=10 [2023-06-29T15:21:15.891Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-29T15:21:15.892Z] > git --version # timeout=10 [2023-06-29T15:21:15.912Z] > git --version # 'git version 2.25.1' [2023-06-29T15:21:15.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T15:21:16.053Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T15:21:17.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-29T15:21:17.137Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T15:21:18.087Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-29T15:21:18.132Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-29T15:21:18.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T15:21:18.147Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-29T15:21:18.653Z] Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 5115dc3e8e9c6f1474469384f920d3885243d03c [2023-06-29T15:21:18.930Z] Merge succeeded, producing 5115dc3e8e9c6f1474469384f920d3885243d03c [2023-06-29T15:21:18.930Z] Checking out Revision 5115dc3e8e9c6f1474469384f920d3885243d03c (PR-14) [2023-06-29T15:21:18.674Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T15:21:18.752Z] > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 [2023-06-29T15:21:18.831Z] > git remote # timeout=10 [2023-06-29T15:21:18.848Z] > git config --get remote.origin.url # timeout=10 [2023-06-29T15:21:18.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T15:21:18.889Z] > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [2023-06-29T15:21:18.914Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-29T15:21:18.939Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T15:21:18.953Z] > git checkout -f 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 [2023-06-29T15:21:22.425Z] Commit message: "feat: Upgrade to V3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T15:21:23.333Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-29T15:21:23.333Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-29T15:21:23.333Z] Dload Upload Total Spent Left Speed [2023-06-29T15:21:23.333Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2023-06-29T15:21:23.896Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-29T15:21:24.258Z] + sudo tee /etc/docker/daemon.new [2023-06-29T15:21:24.258Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-29T15:21:24.258Z] { [2023-06-29T15:21:24.258Z] "registry-mirrors": [ [2023-06-29T15:21:24.258Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-29T15:21:24.258Z] ], [2023-06-29T15:21:24.258Z] "bip": "10.250.0.254/24", [2023-06-29T15:21:24.258Z] "hosts": [ [2023-06-29T15:21:24.258Z] "tcp://0.0.0.0:5555", [2023-06-29T15:21:24.258Z] "unix:///var/run/docker.sock" [2023-06-29T15:21:24.258Z] ], [2023-06-29T15:21:24.258Z] "mtu": 1458, [2023-06-29T15:21:24.258Z] "selinux-enabled": true, [2023-06-29T15:21:24.258Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-29T15:21:24.258Z] } [Pipeline] sh [2023-06-29T15:21:24.583Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-29T15:21:24.913Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T15:21:43.169Z] provisioning config files... [2023-06-29T15:21:43.197Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/7@tmp/config2596027088861812046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:21:43.540Z] ---> docker-login.sh [2023-06-29T15:21:43.540Z] nexus3.edgexfoundry.org:10001 [2023-06-29T15:21:43.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:21:44.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:21:44.079Z] Configure a credential helper to remove this warning. See [2023-06-29T15:21:44.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:21:44.079Z] [2023-06-29T15:21:44.079Z] Login Succeeded [2023-06-29T15:21:44.079Z] nexus3.edgexfoundry.org:10002 [2023-06-29T15:21:44.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:21:44.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:21:44.348Z] Configure a credential helper to remove this warning. See [2023-06-29T15:21:44.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:21:44.348Z] [2023-06-29T15:21:44.348Z] Login Succeeded [2023-06-29T15:21:44.348Z] nexus3.edgexfoundry.org:10003 [2023-06-29T15:21:44.619Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:21:44.619Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:21:44.619Z] Configure a credential helper to remove this warning. See [2023-06-29T15:21:44.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:21:44.619Z] [2023-06-29T15:21:44.619Z] Login Succeeded [2023-06-29T15:21:44.619Z] nexus3.edgexfoundry.org:10004 [2023-06-29T15:21:44.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:21:45.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:21:45.153Z] Configure a credential helper to remove this warning. See [2023-06-29T15:21:45.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:21:45.153Z] [2023-06-29T15:21:45.153Z] Login Succeeded [2023-06-29T15:21:45.153Z] docker.io [2023-06-29T15:21:45.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T15:21:45.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T15:21:45.738Z] Configure a credential helper to remove this warning. See [2023-06-29T15:21:45.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T15:21:45.738Z] [2023-06-29T15:21:45.738Z] Login Succeeded [2023-06-29T15:21:45.738Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T15:21:45.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T15:21:45.981Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T15:21:45.994Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T15:21:46.009Z] ========================================================= [2023-06-29T15:21:46.009Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-29T15:21:46.009Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:21:46.349Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-29T15:21:46.614Z] Sending build context to Docker daemon 5.633MB [2023-06-29T15:21:46.614Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-29T15:21:46.614Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-29T15:21:46.892Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-29T15:21:46.892Z] c41833b44d91: Pulling fs layer [2023-06-29T15:21:46.892Z] ed15518f5707: Pulling fs layer [2023-06-29T15:21:46.892Z] feae8fd75edb: Pulling fs layer [2023-06-29T15:21:46.892Z] 242c74f7c9fa: Pulling fs layer [2023-06-29T15:21:46.892Z] 3cdef696dda3: Pulling fs layer [2023-06-29T15:21:46.892Z] 2ced38df9373: Pulling fs layer [2023-06-29T15:21:46.892Z] 58f1dce35555: Pulling fs layer [2023-06-29T15:21:46.892Z] 3cdef696dda3: Waiting [2023-06-29T15:21:46.892Z] 2ced38df9373: Waiting [2023-06-29T15:21:46.892Z] 58f1dce35555: Waiting [2023-06-29T15:21:46.892Z] 242c74f7c9fa: Waiting [2023-06-29T15:21:46.892Z] ed15518f5707: Download complete [2023-06-29T15:21:46.892Z] 242c74f7c9fa: Verifying Checksum [2023-06-29T15:21:46.892Z] 242c74f7c9fa: Download complete [2023-06-29T15:21:46.892Z] 3cdef696dda3: Verifying Checksum [2023-06-29T15:21:46.892Z] 3cdef696dda3: Download complete [2023-06-29T15:21:46.892Z] c41833b44d91: Verifying Checksum [2023-06-29T15:21:46.892Z] c41833b44d91: Download complete [2023-06-29T15:21:47.875Z] c41833b44d91: Pull complete [2023-06-29T15:21:48.149Z] 58f1dce35555: Verifying Checksum [2023-06-29T15:21:48.149Z] 58f1dce35555: Download complete [2023-06-29T15:21:48.418Z] ed15518f5707: Pull complete [2023-06-29T15:21:49.394Z] feae8fd75edb: Verifying Checksum [2023-06-29T15:21:49.394Z] feae8fd75edb: Download complete [2023-06-29T15:21:49.394Z] 2ced38df9373: Verifying Checksum [2023-06-29T15:21:49.394Z] 2ced38df9373: Download complete [2023-06-29T15:22:01.732Z] feae8fd75edb: Pull complete [2023-06-29T15:22:01.732Z] 242c74f7c9fa: Pull complete [2023-06-29T15:22:01.732Z] 3cdef696dda3: Pull complete [2023-06-29T15:22:07.085Z] 2ced38df9373: Pull complete [2023-06-29T15:22:09.670Z] 58f1dce35555: Pull complete [2023-06-29T15:22:09.670Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-29T15:22:09.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-29T15:22:09.670Z] ---> fadd8f120f05 [2023-06-29T15:22:09.670Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-29T15:22:11.626Z] ---> Running in 404eef5cefbb [2023-06-29T15:22:11.626Z] Removing intermediate container 404eef5cefbb [2023-06-29T15:22:11.626Z] ---> f78ba35c7698 [2023-06-29T15:22:11.626Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-29T15:22:11.626Z] ---> Running in 384d9e784237 [2023-06-29T15:22:11.900Z] Removing intermediate container 384d9e784237 [2023-06-29T15:22:11.900Z] ---> ff534e3f8290 [2023-06-29T15:22:11.900Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-29T15:22:12.169Z] ---> Running in 97273d9d33e0 [2023-06-29T15:22:12.436Z] Removing intermediate container 97273d9d33e0 [2023-06-29T15:22:12.436Z] ---> 550ee7707350 [2023-06-29T15:22:12.436Z] Step 6/12 : WORKDIR /device-uart [2023-06-29T15:22:12.436Z] ---> Running in 7427314f73af [2023-06-29T15:22:12.705Z] Removing intermediate container 7427314f73af [2023-06-29T15:22:12.705Z] ---> a24867ffb086 [2023-06-29T15:22:12.705Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-29T15:22:12.705Z] ---> Running in cbaadfa2848b [2023-06-29T15:22:14.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-29T15:22:14.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-29T15:22:15.346Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-29T15:22:15.346Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-29T15:22:15.346Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-29T15:22:15.346Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-29T15:22:15.346Z] Executing busybox-1.35.0-r29.trigger [2023-06-29T15:22:15.346Z] OK: 268 MiB in 57 packages [2023-06-29T15:22:16.312Z] Removing intermediate container cbaadfa2848b [2023-06-29T15:22:16.312Z] ---> 65092b482594 [2023-06-29T15:22:16.312Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-29T15:22:18.890Z] ---> 70ed037e15f1 [2023-06-29T15:22:18.890Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-29T15:22:18.890Z] ---> Running in bb0b6b6c2008 [2023-06-29T15:23:26.780Z] Removing intermediate container bb0b6b6c2008 [2023-06-29T15:23:26.780Z] ---> b1f53a8cda9b [2023-06-29T15:23:26.780Z] Step 10/12 : COPY . . [2023-06-29T15:23:26.780Z] ---> d24bdb8df1d5 [2023-06-29T15:23:26.780Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-29T15:23:26.780Z] ---> Running in 4d54811ddcc3 [2023-06-29T15:23:26.780Z] Removing intermediate container 4d54811ddcc3 [2023-06-29T15:23:26.780Z] ---> 2c775be00f5e [2023-06-29T15:23:26.780Z] Step 12/12 : RUN ${MAKE} [2023-06-29T15:23:26.780Z] ---> Running in d468c5b1c791 [2023-06-29T15:23:26.780Z] noop [2023-06-29T15:23:26.780Z] Removing intermediate container d468c5b1c791 [2023-06-29T15:23:26.780Z] ---> 4be42b253165 [2023-06-29T15:23:26.780Z] Successfully built 4be42b253165 [2023-06-29T15:23:26.780Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:23:27.133Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T15:23:27.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:23:27.346Z] prd-ubuntu20.04-docker-arm64-4c-16g-174 does not seem to be running inside a container [2023-06-29T15:23:27.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-29T15:23:28.567Z] $ docker top 1e904e99729fc5cb7fbfb630b93f1dbb6b6b27f0181e61b8a35ca6752691c40f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T15:23:29.381Z] + go version [2023-06-29T15:23:29.381Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-29T15:23:29.401Z] $ docker stop --time=1 1e904e99729fc5cb7fbfb630b93f1dbb6b6b27f0181e61b8a35ca6752691c40f [2023-06-29T15:23:31.015Z] $ docker rm -f --volumes 1e904e99729fc5cb7fbfb630b93f1dbb6b6b27f0181e61b8a35ca6752691c40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:23:31.548Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T15:23:31.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:23:31.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-174 does not seem to be running inside a container [2023-06-29T15:23:31.780Z] $ 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/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-29T15:23:32.886Z] $ docker top b6a3ea563605ce6484df20387aaaa6a87e589ca5ba325029d415e62d7d811f68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T15:23:33.381Z] + git config --global --add safe.directory /w/workspace/device-uart/7 [Pipeline] fileExists [Pipeline] sh [2023-06-29T15:23:33.708Z] + make test [2023-06-29T15:23:33.709Z] go test ./... -coverprofile=coverage.out [2023-06-29T15:24:05.936Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-29T15:25:02.315Z] # github.com/edgexfoundry/device-uart/internal/driver [2023-06-29T15:25:02.315Z] internal/driver/driver.go:68:18: method Driver.Start already declared at internal/driver/driver.go:61:18 [2023-06-29T15:25:02.315Z] internal/driver/driver.go:200:18: method Driver.Discover already declared at internal/driver/driver.go:168:18 [2023-06-29T15:25:02.315Z] internal/driver/driver.go:206:18: method Driver.ValidateDevice already declared at internal/driver/driver.go:174:18 [2023-06-29T15:25:41.177Z] FAIL [2023-06-29T15:25:41.177Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-06-29T15:25:41.197Z] $ docker stop --time=1 b6a3ea563605ce6484df20387aaaa6a87e589ca5ba325029d415e62d7d811f68 [2023-06-29T15:25:42.992Z] $ docker rm -f --volumes b6a3ea563605ce6484df20387aaaa6a87e589ca5ba325029d415e62d7d811f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:25:44.169Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T15:25:44.169Z] [2023-06-29T15:25:44.169Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:25:44.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T15:25:44.763Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-29T15:25:44.763Z] 8998bd30e6a1: Pulling fs layer [2023-06-29T15:25:44.763Z] 04944245beec: Pulling fs layer [2023-06-29T15:25:44.763Z] 699f458cf7ca: Pulling fs layer [2023-06-29T15:25:44.763Z] 765212b225bb: Pulling fs layer [2023-06-29T15:25:44.763Z] f23df028b6ca: Pulling fs layer [2023-06-29T15:25:44.763Z] d65c8cfc05b1: Pulling fs layer [2023-06-29T15:25:44.763Z] 2437ff75d9bd: Pulling fs layer [2023-06-29T15:25:44.763Z] 765212b225bb: Waiting [2023-06-29T15:25:44.763Z] f23df028b6ca: Waiting [2023-06-29T15:25:44.763Z] d65c8cfc05b1: Waiting [2023-06-29T15:25:44.763Z] 2437ff75d9bd: Waiting [2023-06-29T15:25:44.763Z] 04944245beec: Verifying Checksum [2023-06-29T15:25:44.763Z] 04944245beec: Download complete [2023-06-29T15:25:44.763Z] 765212b225bb: Verifying Checksum [2023-06-29T15:25:44.763Z] 765212b225bb: Download complete [2023-06-29T15:25:45.038Z] f23df028b6ca: Verifying Checksum [2023-06-29T15:25:45.038Z] f23df028b6ca: Download complete [2023-06-29T15:25:45.038Z] d65c8cfc05b1: Verifying Checksum [2023-06-29T15:25:45.038Z] d65c8cfc05b1: Download complete [2023-06-29T15:25:45.038Z] 699f458cf7ca: Verifying Checksum [2023-06-29T15:25:45.038Z] 699f458cf7ca: Download complete [2023-06-29T15:25:45.635Z] 8998bd30e6a1: Verifying Checksum [2023-06-29T15:25:45.635Z] 8998bd30e6a1: Download complete [2023-06-29T15:25:48.988Z] 2437ff75d9bd: Verifying Checksum [2023-06-29T15:25:48.988Z] 2437ff75d9bd: Download complete [2023-06-29T15:25:52.329Z] 8998bd30e6a1: Pull complete [2023-06-29T15:25:52.914Z] 04944245beec: Pull complete [2023-06-29T15:25:55.497Z] 699f458cf7ca: Pull complete [2023-06-29T15:25:56.903Z] 765212b225bb: Pull complete [2023-06-29T15:25:57.487Z] f23df028b6ca: Pull complete [2023-06-29T15:25:57.755Z] d65c8cfc05b1: Pull complete [2023-06-29T15:26:16.132Z] 2437ff75d9bd: Pull complete [2023-06-29T15:26:16.132Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-29T15:26:16.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T15:26:16.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:26:16.322Z] prd-ubuntu20.04-docker-arm64-4c-16g-174 does not seem to be running inside a container [2023-06-29T15:26:16.405Z] $ 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/7 -v /w/workspace/device-uart/7:/w/workspace/device-uart/7:rw,z -v /w/workspace/device-uart/7@tmp:/w/workspace/device-uart/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-29T15:26:17.774Z] $ docker top 519da2a86dfbfc5fc62a434429258e64a727ed43956a2869af426218fb8e6711 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:18.577Z] ---> job-cost.sh [2023-06-29T15:26:18.577Z] lf-activate-venv: SKIPPING [2023-06-29T15:26:18.577Z] INFO: No Stack... [2023-06-29T15:26:18.845Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-29T15:26:19.804Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T15:26:20.121Z] + cat /w/workspace/device-uart/7/archives/cost.csv [2023-06-29T15:26:20.121Z] + cut -d, -f6 [Pipeline] lock [2023-06-29T15:26:20.455Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [2023-06-29T15:26:20.464Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] did not exist. Created. [2023-06-29T15:26:20.465Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T15:26:20.805Z] /w/workspace/device-uart/7@tmp/durable-be49fc54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-29T15:26:21.456Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-29T15:26:21.480Z] Warning: overwriting stash ‘stack-cost’ [2023-06-29T15:26:21.871Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T15:26:21.878Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-7-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T15:26:21.896Z] $ docker stop --time=1 519da2a86dfbfc5fc62a434429258e64a727ed43956a2869af426218fb8e6711 [2023-06-29T15:26:23.497Z] $ docker rm -f --volumes 519da2a86dfbfc5fc62a434429258e64a727ed43956a2869af426218fb8e6711 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T15:26:23.761Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-06-29T15:26:24.530Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] [2023-06-29T15:26:24.530Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-29T15:26:24.530Z] total 16 [2023-06-29T15:26:24.530Z] drwxr-xr-x 3 root root 4096 Jun 29 15:20 . [2023-06-29T15:26:24.530Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:20 .. [2023-06-29T15:26:24.530Z] drwxr-xr-x 2 root root 4096 Jun 29 15:20 cost [2023-06-29T15:26:24.530Z] -rw-r--r-- 1 root root 82 Jun 29 15:20 cost.csv [2023-06-29T15:26:24.530Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-29T15:26:24.530Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-29T15:26:24.530Z] total 16 [2023-06-29T15:26:24.530Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 15:20 . [2023-06-29T15:26:24.530Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 15:20 .. [2023-06-29T15:26:24.530Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 15:20 cost [2023-06-29T15:26:24.530Z] -rw-r--r-- 1 jenkins jenkins 82 Jun 29 15:20 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:24.820Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:25.679Z] ---> package-listing.sh [2023-06-29T15:26:25.679Z] ++ facter osfamily [2023-06-29T15:26:25.679Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-29T15:26:25.938Z] + OS_FAMILY=debian [2023-06-29T15:26:25.938Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 [2023-06-29T15:26:25.938Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-29T15:26:25.938Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-29T15:26:25.938Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-29T15:26:25.938Z] + PACKAGES=/tmp/packages_start.txt [2023-06-29T15:26:25.938Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-29T15:26:25.938Z] + PACKAGES=/tmp/packages_end.txt [2023-06-29T15:26:25.938Z] + case "${OS_FAMILY}" in [2023-06-29T15:26:25.938Z] + dpkg -l [2023-06-29T15:26:25.938Z] + grep '^ii' [2023-06-29T15:26:25.938Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-29T15:26:25.938Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-29T15:26:25.938Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-29T15:26:25.938Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-29T15:26:25.938Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [2023-06-29T15:26:25.938Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo [2023-06-29T15:26:25.948Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-29T15:26:26.226Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T15:26:26.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T15:26:26.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T15:26:26.846Z] prd-ubuntu20.04-docker-8c-8g-173 does not seem to be running inside a container [2023-06-29T15:26:26.877Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T15:26:27.072Z] $ docker top af76e2a81513115e8ccc550c28ea947f70eb753552c03f22f6e696163ec091d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T15:26:27.418Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-29T15:26:27.713Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-29T15:26:28.000Z] + ls /var/log/sa-host [2023-06-29T15:26:28.000Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T15:26:28.158Z] provisioning config files... [2023-06-29T15:26:28.170Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11857511431451950473tmp [Pipeline] { [Pipeline] echo [2023-06-29T15:26:28.189Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:28.472Z] ---> create-netrc.sh [Pipeline] } [2023-06-29T15:26:28.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:28.809Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-29T15:26:28.816Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:29.095Z] ---> sudo-logs.sh [2023-06-29T15:26:29.095Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-29T15:26:29.117Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:29.400Z] ---> job-cost.sh [2023-06-29T15:26:29.400Z] lf-activate-venv: SKIPPING [2023-06-29T15:26:29.400Z] DEBUG: total: 0.2199999988079071 [2023-06-29T15:26:29.400Z] INFO: Retrieving Stack Cost... [2023-06-29T15:26:29.660Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T15:26:30.228Z] INFO: Archiving Costs [Pipeline] echo [2023-06-29T15:26:30.239Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T15:26:30.523Z] ---> logs-deploy.sh [2023-06-29T15:26:30.523Z] lf-activate-venv: SKIPPING [2023-06-29T15:26:30.523Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/7 [2023-06-29T15:26:30.523Z] INFO: archiving workspace using pattern(s): [2023-06-29T15:26:31.459Z] Archives upload complete. [2023-06-29T15:26:31.459Z] INFO: archiving logs to Nexus