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 8503bde12078bdbf4498e7a0b1306e1e869066d8 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-ssh18246171021575321122.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-ssh49214686894724288.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-ssh15563556082988488245.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-ssh4229797121689192678.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-ssh15051863576132126437.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-170 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 > 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 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 8503bde12078bdbf4498e7a0b1306e1e869066d8 Merge succeeded, producing 8503bde12078bdbf4498e7a0b1306e1e869066d8 Checking out Revision 8503bde12078bdbf4498e7a0b1306e1e869066d8 (PR-14) > git config core.sparsecheckout # timeout=10 > git checkout -f 8503bde12078bdbf4498e7a0b1306e1e869066d8 # 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 8503bde12078bdbf4498e7a0b1306e1e869066d8 # timeout=10 Commit message: "Merge branch 'main' into main" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-29T14:18:57.592Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-29T14:18:57.643Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-29T14:18:57.656Z] ========================================================= [2023-06-29T14:18:57.656Z] EdgeX Global Pipelines Version Info [2023-06-29T14:18:57.656Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 745fcda9006c1fb0566371198e638298a3789750 # timeout=10 [2023-06-29T14:18:58.385Z] ------------------- [2023-06-29T14:18:58.385Z] stable info: [2023-06-29T14:18:58.385Z] ------------------- [2023-06-29T14:18:58.385Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-29T14:18:58.385Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T14:18:58.385Z] Message: update stable to v1.0.250 [2023-06-29T14:18:58.956Z] ------------------- [2023-06-29T14:18:58.956Z] experimental info: [2023-06-29T14:18:58.956Z] ------------------- [2023-06-29T14:18:58.956Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-29T14:18:58.956Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-29T14:18:58.956Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-29T14:18:59.134Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-06-29T14:18:59.151Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-06-29T14:18:59.165Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-29T14:18:59.183Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-29T14:18:59.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-29T14:18:59.209Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-29T14:18:59.221Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-29T14:18:59.235Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-29T14:18:59.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-29T14:18:59.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-29T14:18:59.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-29T14:18:59.292Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-06-29T14:18:59.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-29T14:18:59.330Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-29T14:18:59.341Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T14:18:59.357Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-29T14:18:59.366Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T14:18:59.387Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-29T14:18:59.403Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-29T14:18:59.422Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-29T14:18:59.442Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-29T14:18:59.461Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-29T14:18:59.478Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-29T14:18:59.492Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-29T14:18:59.511Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-29T14:18:59.530Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-29T14:18:59.542Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-29T14:18:59.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo [2023-06-29T14:18:59.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo [2023-06-29T14:18:59.588Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo [2023-06-29T14:18:59.604Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8503bde12078bdbf4498e7a0b1306e1e869066d8 [Pipeline] echo [2023-06-29T14:18:59.617Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8503bde [Pipeline] echo [2023-06-29T14:18:59.634Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T14:18:59.681Z] provisioning config files... [2023-06-29T14:18:59.694Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config8789301442125478522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:19:00.007Z] ---> docker-login.sh [2023-06-29T14:19:00.007Z] nexus3.edgexfoundry.org:10001 [2023-06-29T14:19:00.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:00.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:00.268Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:00.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:00.268Z] [2023-06-29T14:19:00.268Z] Login Succeeded [2023-06-29T14:19:00.268Z] nexus3.edgexfoundry.org:10002 [2023-06-29T14:19:00.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:00.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:00.528Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:00.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:00.528Z] [2023-06-29T14:19:00.528Z] Login Succeeded [2023-06-29T14:19:00.528Z] nexus3.edgexfoundry.org:10003 [2023-06-29T14:19:00.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:00.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:00.528Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:00.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:00.528Z] [2023-06-29T14:19:00.528Z] Login Succeeded [2023-06-29T14:19:00.528Z] nexus3.edgexfoundry.org:10004 [2023-06-29T14:19:00.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:00.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:00.789Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:00.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:00.789Z] [2023-06-29T14:19:00.789Z] Login Succeeded [2023-06-29T14:19:00.789Z] docker.io [2023-06-29T14:19:00.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:01.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:01.050Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:01.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:01.050Z] [2023-06-29T14:19:01.050Z] Login Succeeded [2023-06-29T14:19:01.050Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T14:19:01.060Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-29T14:19:01.459Z] + git rev-list -1 --merges 8503bde12078bdbf4498e7a0b1306e1e869066d8~1..8503bde12078bdbf4498e7a0b1306e1e869066d8 [Pipeline] echo [2023-06-29T14:19:01.506Z] -----------> git rev-list -1 --merges 8503bde12078bdbf4498e7a0b1306e1e869066d8~1..8503bde12078bdbf4498e7a0b1306e1e869066d8 8503bde12078bdbf4498e7a0b1306e1e869066d8 [2023-06-29T14:19:01.506Z] 8503bde12078bdbf4498e7a0b1306e1e869066d8 [false] [Pipeline] sh [2023-06-29T14:19:01.794Z] + git log --format=format:%s -1 8503bde12078bdbf4498e7a0b1306e1e869066d8 [Pipeline] echo [2023-06-29T14:19:01.808Z] ========================================================= [2023-06-29T14:19:01.808Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-29T14:19:01.808Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T14:19:02.132Z] + git log --format=format:%s -1 8503bde12078bdbf4498e7a0b1306e1e869066d8 [Pipeline] echo [2023-06-29T14:19:02.142Z] [semverPrep] GIT_COMMIT: 8503bde12078bdbf4498e7a0b1306e1e869066d8, Commit Message: Merge branch 'main' into main [Pipeline] echo [2023-06-29T14:19:02.151Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-29T14:19:02.527Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-29T14:19:02.527Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-29T14:19:02.527Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-29T14:19:02.527Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-29T14:19:02.527Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-29T14:19:02.527Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-29T14:19:02.527Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:19:02.953Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T14:19:02.953Z] [2023-06-29T14:19:02.953Z] 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-29T14:19:03.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T14:19:03.250Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-29T14:19:03.250Z] b85a868b505f: Pulling fs layer [2023-06-29T14:19:03.250Z] e2be974225ed: Pulling fs layer [2023-06-29T14:19:03.250Z] 339a4e72a1f5: Pulling fs layer [2023-06-29T14:19:03.250Z] 988bab9f4d93: Pulling fs layer [2023-06-29T14:19:03.250Z] 1469e6f7b9e6: Pulling fs layer [2023-06-29T14:19:03.250Z] eaf3925da568: Pulling fs layer [2023-06-29T14:19:03.250Z] bab4dde63d76: Pulling fs layer [2023-06-29T14:19:03.250Z] bde34c3a00c8: Pulling fs layer [2023-06-29T14:19:03.250Z] b352a97aabf1: Pulling fs layer [2023-06-29T14:19:03.250Z] 4872d77fe225: Pulling fs layer [2023-06-29T14:19:03.250Z] 5851b861e8e6: Pulling fs layer [2023-06-29T14:19:03.250Z] bab4dde63d76: Waiting [2023-06-29T14:19:03.250Z] bde34c3a00c8: Waiting [2023-06-29T14:19:03.250Z] 988bab9f4d93: Waiting [2023-06-29T14:19:03.250Z] b352a97aabf1: Waiting [2023-06-29T14:19:03.250Z] 4872d77fe225: Waiting [2023-06-29T14:19:03.250Z] eaf3925da568: Waiting [2023-06-29T14:19:03.250Z] 5851b861e8e6: Waiting [2023-06-29T14:19:03.250Z] 1469e6f7b9e6: Waiting [2023-06-29T14:19:03.250Z] e2be974225ed: Download complete [2023-06-29T14:19:03.250Z] 988bab9f4d93: Verifying Checksum [2023-06-29T14:19:03.250Z] 988bab9f4d93: Download complete [2023-06-29T14:19:03.510Z] 1469e6f7b9e6: Verifying Checksum [2023-06-29T14:19:03.510Z] 1469e6f7b9e6: Download complete [2023-06-29T14:19:03.510Z] eaf3925da568: Verifying Checksum [2023-06-29T14:19:03.510Z] eaf3925da568: Download complete [2023-06-29T14:19:03.510Z] 339a4e72a1f5: Verifying Checksum [2023-06-29T14:19:03.510Z] 339a4e72a1f5: Download complete [2023-06-29T14:19:03.510Z] bde34c3a00c8: Verifying Checksum [2023-06-29T14:19:03.510Z] b352a97aabf1: Download complete [2023-06-29T14:19:03.510Z] 4872d77fe225: Verifying Checksum [2023-06-29T14:19:03.510Z] 4872d77fe225: Download complete [2023-06-29T14:19:03.510Z] 5851b861e8e6: Download complete [2023-06-29T14:19:03.510Z] b85a868b505f: Download complete [2023-06-29T14:19:03.771Z] bab4dde63d76: Verifying Checksum [2023-06-29T14:19:03.771Z] bab4dde63d76: Download complete [2023-06-29T14:19:04.707Z] b85a868b505f: Pull complete [2023-06-29T14:19:04.966Z] e2be974225ed: Pull complete [2023-06-29T14:19:05.535Z] 339a4e72a1f5: Pull complete [2023-06-29T14:19:05.535Z] 988bab9f4d93: Pull complete [2023-06-29T14:19:05.796Z] 1469e6f7b9e6: Pull complete [2023-06-29T14:19:06.055Z] eaf3925da568: Pull complete [2023-06-29T14:19:07.962Z] bab4dde63d76: Pull complete [2023-06-29T14:19:07.962Z] bde34c3a00c8: Pull complete [2023-06-29T14:19:08.223Z] b352a97aabf1: Pull complete [2023-06-29T14:19:08.223Z] 4872d77fe225: Pull complete [2023-06-29T14:19:08.484Z] 5851b861e8e6: Pull complete [2023-06-29T14:19:08.484Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-29T14:19:08.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-29T14:19:08.484Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:19:08.598Z] prd-ubuntu20.04-docker-8c-8g-170 does not seem to be running inside a container [2023-06-29T14:19:08.645Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-29T14:19:12.860Z] $ docker top 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 -eo pid,comm [2023-06-29T14:19:12.910Z] 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-29T14:19:12.910Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-29T14:19:12.951Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T14:19:12.951Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T14:19:13.077Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T14:19:13.085Z] $ docker exec 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 ssh-agent [2023-06-29T14:19:13.203Z] SSH_AUTH_SOCK=/tmp/ssh-5GMV8s0ArsxB/agent.32 [2023-06-29T14:19:13.203Z] SSH_AGENT_PID=38 [2023-06-29T14:19:13.210Z] Running ssh-add (command line suppressed) [2023-06-29T14:19:13.319Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_12330785104113962152.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_12330785104113962152.key) [2023-06-29T14:19:13.331Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T14:19:13.623Z] + git tag --points-at HEAD [Pipeline] } [2023-06-29T14:19:13.645Z] $ docker exec --env ******** --env ******** 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 ssh-agent -k [2023-06-29T14:19:13.805Z] unset SSH_AUTH_SOCK; [2023-06-29T14:19:13.805Z] unset SSH_AGENT_PID; [2023-06-29T14:19:13.805Z] echo Agent pid 38 killed; [2023-06-29T14:19:13.808Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-29T14:19:13.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-29T14:19:13.838Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-29T14:19:13.971Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-29T14:19:13.977Z] $ docker exec 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 ssh-agent [2023-06-29T14:19:14.103Z] SSH_AUTH_SOCK=/tmp/ssh-y0dFOSdDMAD6/agent.71 [2023-06-29T14:19:14.103Z] SSH_AGENT_PID=77 [2023-06-29T14:19:14.108Z] Running ssh-add (command line suppressed) [2023-06-29T14:19:14.217Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_6045777017761864152.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_6045777017761864152.key) [2023-06-29T14:19:14.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-29T14:19:14.520Z] + git semver init [2023-06-29T14:19:14.781Z] 2023-06-29 14:19:14,707 [run_init] DEBUG init version:0.0.0 force:False [2023-06-29T14:19:14.781Z] 2023-06-29 14:19:14,708 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-29T14:19:14.781Z] 2023-06-29 14:19:14,708 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-29T14:19:14.781Z] 2023-06-29 14:19:14,709 [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-29T14:19:15.718Z] 2023-06-29 14:19:15,498 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude [2023-06-29T14:19:15.718Z] 2023-06-29 14:19:15,498 [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-29T14:19:15.718Z] 2023-06-29 14:19:15,498 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-29T14:19:15.718Z] 2023-06-29 14:19:15,501 [execute] INFO git cat-file --batch-check [2023-06-29T14:19:15.718Z] 2023-06-29 14:19:15,501 [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-29T14:19:15.718Z] 2023-06-29 14:19:15,507 [execute] INFO git cat-file --batch [2023-06-29T14:19:15.718Z] 2023-06-29 14:19:15,508 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-29T14:19:15.718Z] 2023-06-29 14:19:15,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-29T14:19:15.718Z] 0.0.0 [Pipeline] } [2023-06-29T14:19:15.732Z] $ docker exec --env ******** --env ******** 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 ssh-agent -k [2023-06-29T14:19:15.837Z] unset SSH_AUTH_SOCK; [2023-06-29T14:19:15.838Z] unset SSH_AGENT_PID; [2023-06-29T14:19:15.838Z] echo Agent pid 77 killed; [2023-06-29T14:19:15.845Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-29T14:19:16.161Z] + git semver [Pipeline] } [2023-06-29T14:19:16.441Z] $ docker stop --time=1 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 [2023-06-29T14:19:17.758Z] $ docker rm -f --volumes 5739e1e0270e914264d8ebe91c364270e37d3bc39f603285f2e0858106936729 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-29T14:19:18.090Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-29T14:19:18.303Z] Stashed 1 file(s) [Pipeline] echo [2023-06-29T14:19:18.306Z] [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-29T14:19:18.468Z] provisioning config files... [2023-06-29T14:19:18.477Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config8839679237661800671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:19:18.778Z] ---> docker-login.sh [2023-06-29T14:19:18.778Z] nexus3.edgexfoundry.org:10001 [2023-06-29T14:19:18.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:18.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:18.778Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:18.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:18.778Z] [2023-06-29T14:19:18.778Z] Login Succeeded [2023-06-29T14:19:18.778Z] nexus3.edgexfoundry.org:10002 [2023-06-29T14:19:18.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:18.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:18.778Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:18.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:18.778Z] [2023-06-29T14:19:18.778Z] Login Succeeded [2023-06-29T14:19:18.778Z] nexus3.edgexfoundry.org:10003 [2023-06-29T14:19:19.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:19.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:19.037Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:19.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:19.037Z] [2023-06-29T14:19:19.037Z] Login Succeeded [2023-06-29T14:19:19.037Z] nexus3.edgexfoundry.org:10004 [2023-06-29T14:19:19.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:19.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:19.297Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:19.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:19.297Z] [2023-06-29T14:19:19.297Z] Login Succeeded [2023-06-29T14:19:19.297Z] docker.io [2023-06-29T14:19:19.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:19:19.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:19:19.557Z] Configure a credential helper to remove this warning. See [2023-06-29T14:19:19.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:19:19.557Z] [2023-06-29T14:19:19.557Z] Login Succeeded [2023-06-29T14:19:19.557Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T14:19:19.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T14:19:19.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T14:19:19.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T14:19:19.672Z] ========================================================= [2023-06-29T14:19:19.672Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-29T14:19:19.672Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:19:19.994Z] + 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-29T14:19:19.994Z] Sending build context to Docker daemon 11.1MB [2023-06-29T14:19:19.994Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-29T14:19:19.994Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-29T14:19:19.994Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-29T14:19:19.994Z] f56be85fc22e: Pulling fs layer [2023-06-29T14:19:19.994Z] 85791d961cd3: Pulling fs layer [2023-06-29T14:19:19.994Z] d694b5ae8c79: Pulling fs layer [2023-06-29T14:19:19.994Z] 9f32a84ed3da: Pulling fs layer [2023-06-29T14:19:19.994Z] 4d19c01a9841: Pulling fs layer [2023-06-29T14:19:19.994Z] 9325e15d5711: Pulling fs layer [2023-06-29T14:19:19.994Z] 556b6ee489ea: Pulling fs layer [2023-06-29T14:19:19.994Z] c5a4b2cf53e6: Pulling fs layer [2023-06-29T14:19:19.994Z] 4d19c01a9841: Waiting [2023-06-29T14:19:19.994Z] 9325e15d5711: Waiting [2023-06-29T14:19:19.994Z] 556b6ee489ea: Waiting [2023-06-29T14:19:19.994Z] 9f32a84ed3da: Waiting [2023-06-29T14:19:20.256Z] 85791d961cd3: Verifying Checksum [2023-06-29T14:19:20.256Z] 85791d961cd3: Download complete [2023-06-29T14:19:20.256Z] 9f32a84ed3da: Download complete [2023-06-29T14:19:20.256Z] 4d19c01a9841: Download complete [2023-06-29T14:19:20.256Z] f56be85fc22e: Verifying Checksum [2023-06-29T14:19:20.256Z] f56be85fc22e: Download complete [2023-06-29T14:19:20.256Z] 9325e15d5711: Verifying Checksum [2023-06-29T14:19:20.256Z] 9325e15d5711: Download complete [2023-06-29T14:19:20.256Z] f56be85fc22e: Pull complete [2023-06-29T14:19:20.517Z] 85791d961cd3: Pull complete [2023-06-29T14:19:20.780Z] c5a4b2cf53e6: Verifying Checksum [2023-06-29T14:19:20.780Z] c5a4b2cf53e6: Download complete [2023-06-29T14:19:20.780Z] d694b5ae8c79: Download complete [2023-06-29T14:19:21.041Z] 556b6ee489ea: Verifying Checksum [2023-06-29T14:19:21.041Z] 556b6ee489ea: Download complete [2023-06-29T14:19:25.232Z] d694b5ae8c79: Pull complete [2023-06-29T14:19:25.232Z] 9f32a84ed3da: Pull complete [2023-06-29T14:19:25.232Z] 4d19c01a9841: Pull complete [2023-06-29T14:19:25.232Z] 9325e15d5711: Pull complete [2023-06-29T14:19:27.763Z] 556b6ee489ea: Pull complete [2023-06-29T14:19:28.694Z] c5a4b2cf53e6: Pull complete [2023-06-29T14:19:28.694Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-29T14:19:28.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-29T14:19:28.694Z] ---> c4be618373d6 [2023-06-29T14:19:28.694Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-29T14:19:33.424Z] Still waiting to schedule task [2023-06-29T14:19:33.425Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-29T14:19:35.328Z] ---> Running in 5235c5c20cf9 [2023-06-29T14:19:35.328Z] Removing intermediate container 5235c5c20cf9 [2023-06-29T14:19:35.328Z] ---> d0aab0312ae3 [2023-06-29T14:19:35.328Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-29T14:19:35.328Z] ---> Running in 71b186c3eeb4 [2023-06-29T14:19:35.328Z] Removing intermediate container 71b186c3eeb4 [2023-06-29T14:19:35.328Z] ---> 31293f8e9337 [2023-06-29T14:19:35.328Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-29T14:19:35.328Z] ---> Running in fe6c29d2f7a1 [2023-06-29T14:19:35.328Z] Removing intermediate container fe6c29d2f7a1 [2023-06-29T14:19:35.328Z] ---> 37e4fcd707f1 [2023-06-29T14:19:35.328Z] Step 6/12 : WORKDIR /device-uart [2023-06-29T14:19:35.328Z] ---> Running in 4009b8e8ef13 [2023-06-29T14:19:35.328Z] Removing intermediate container 4009b8e8ef13 [2023-06-29T14:19:35.328Z] ---> c9ef10a48e1b [2023-06-29T14:19:35.328Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-29T14:19:35.328Z] ---> Running in 0e8bd73dc83d [2023-06-29T14:19:35.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-29T14:19:35.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-29T14:19:35.328Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-29T14:19:35.328Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-29T14:19:35.328Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-29T14:19:35.589Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-29T14:19:35.589Z] Executing busybox-1.35.0-r29.trigger [2023-06-29T14:19:35.589Z] OK: 269 MiB in 57 packages [2023-06-29T14:19:36.172Z] Removing intermediate container 0e8bd73dc83d [2023-06-29T14:19:36.172Z] ---> f0dae3336a5e [2023-06-29T14:19:36.172Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-29T14:19:36.431Z] ---> b85051a1ef03 [2023-06-29T14:19:36.431Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-29T14:19:36.431Z] ---> Running in 06a221c7c3cb [2023-06-29T14:20:32.864Z] Removing intermediate container 06a221c7c3cb [2023-06-29T14:20:32.864Z] ---> 184d4244e7c1 [2023-06-29T14:20:32.864Z] Step 10/12 : COPY . . [2023-06-29T14:20:32.864Z] ---> 4cc3ba73b614 [2023-06-29T14:20:32.864Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-29T14:20:32.864Z] ---> Running in 77d83f97d1ad [2023-06-29T14:20:32.864Z] Removing intermediate container 77d83f97d1ad [2023-06-29T14:20:32.864Z] ---> f3823d8315aa [2023-06-29T14:20:32.864Z] Step 12/12 : RUN ${MAKE} [2023-06-29T14:20:32.864Z] ---> Running in b61aa2daacff [2023-06-29T14:20:32.864Z] noop [2023-06-29T14:20:32.864Z] Removing intermediate container b61aa2daacff [2023-06-29T14:20:32.864Z] ---> c1785dac1d3b [2023-06-29T14:20:32.864Z] Successfully built c1785dac1d3b [2023-06-29T14:20:32.864Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:20:33.174Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T14:20:33.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:20:33.252Z] prd-ubuntu20.04-docker-8c-8g-170 does not seem to be running inside a container [2023-06-29T14:20:33.289Z] $ 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 ******** ci-base-image-x86_64 cat [2023-06-29T14:20:33.657Z] $ docker top 678d6936167c254acd420fd32dcee1422dac622b9390e22baf60276f4b245ccd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T14:20:34.003Z] + go version [2023-06-29T14:20:34.003Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-29T14:20:34.020Z] $ docker stop --time=1 678d6936167c254acd420fd32dcee1422dac622b9390e22baf60276f4b245ccd [2023-06-29T14:20:35.288Z] $ docker rm -f --volumes 678d6936167c254acd420fd32dcee1422dac622b9390e22baf60276f4b245ccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:20:35.670Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-29T14:20:35.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:20:35.743Z] prd-ubuntu20.04-docker-8c-8g-170 does not seem to be running inside a container [2023-06-29T14:20:35.782Z] $ 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 ******** ci-base-image-x86_64 cat [2023-06-29T14:20:36.133Z] $ docker top 3b14403951d2b075aef8b53ba8c765b94da311b42429360ef3e7d74d3740e07e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T14:20:36.485Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh [2023-06-29T14:20:36.855Z] + make test [2023-06-29T14:20:36.855Z] go test ./... -coverprofile=coverage.out [2023-06-29T14:20:42.129Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-29T14:20:52.110Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-29T14:20:52.110Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-29T14:20:58.672Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-29T14:21:01.959Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-29T14:21:01.959Z] ./internal/driver/driver.go [2023-06-29T14:21:01.959Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-29T14:21:01.959Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2023-06-29T14:21:01.975Z] $ docker stop --time=1 3b14403951d2b075aef8b53ba8c765b94da311b42429360ef3e7d74d3740e07e [2023-06-29T14:21:05.955Z] $ docker rm -f --volumes 3b14403951d2b075aef8b53ba8c765b94da311b42429360ef3e7d74d3740e07e [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-29T14:21:06.565Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T14:21:06.565Z] [2023-06-29T14:21:06.565Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:21:06.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T14:21:06.867Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-29T14:21:06.867Z] 5eb5b503b376: Pulling fs layer [2023-06-29T14:21:06.867Z] 5c69ac0246d0: Pulling fs layer [2023-06-29T14:21:06.867Z] ec43610c2a17: Pulling fs layer [2023-06-29T14:21:06.867Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-29T14:21:06.867Z] 33b1e0a273af: Pulling fs layer [2023-06-29T14:21:06.867Z] 5d3b04190fa2: Pulling fs layer [2023-06-29T14:21:06.867Z] 2f39f015ded8: Pulling fs layer [2023-06-29T14:21:06.867Z] 33b1e0a273af: Waiting [2023-06-29T14:21:06.867Z] 5d3b04190fa2: Waiting [2023-06-29T14:21:06.867Z] 2f39f015ded8: Waiting [2023-06-29T14:21:06.867Z] 3a2ae6a8a46f: Waiting [2023-06-29T14:21:06.867Z] 5c69ac0246d0: Verifying Checksum [2023-06-29T14:21:06.867Z] 5c69ac0246d0: Download complete [2023-06-29T14:21:06.867Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-29T14:21:06.867Z] 3a2ae6a8a46f: Download complete [2023-06-29T14:21:06.867Z] 33b1e0a273af: Download complete [2023-06-29T14:21:06.867Z] 5d3b04190fa2: Download complete [2023-06-29T14:21:07.127Z] ec43610c2a17: Verifying Checksum [2023-06-29T14:21:07.127Z] ec43610c2a17: Download complete [2023-06-29T14:21:07.127Z] 5eb5b503b376: Verifying Checksum [2023-06-29T14:21:07.127Z] 5eb5b503b376: Download complete [2023-06-29T14:21:07.694Z] 2f39f015ded8: Verifying Checksum [2023-06-29T14:21:07.694Z] 2f39f015ded8: Download complete [2023-06-29T14:21:07.790Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-171 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws [2023-06-29T14:21:07.802Z] Running in /w/workspace/device-uart/6 [Pipeline] { [Pipeline] checkout [2023-06-29T14:21:07.838Z] The recommended git tool is: git [2023-06-29T14:21:08.265Z] 5eb5b503b376: Pull complete [2023-06-29T14:21:08.265Z] 5c69ac0246d0: Pull complete [2023-06-29T14:21:08.831Z] ec43610c2a17: Pull complete [2023-06-29T14:21:08.831Z] 3a2ae6a8a46f: Pull complete [2023-06-29T14:21:09.088Z] 33b1e0a273af: Pull complete [2023-06-29T14:21:09.088Z] 5d3b04190fa2: Pull complete [2023-06-29T14:21:12.863Z] using credential edgex-jenkins-ssh [2023-06-29T14:21:12.880Z] Cloning the remote Git repository [2023-06-29T14:21:13.280Z] 2f39f015ded8: Pull complete [2023-06-29T14:21:13.280Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-29T14:21:13.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T14:21:13.280Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:21:13.371Z] prd-ubuntu20.04-docker-8c-8g-170 does not seem to be running inside a container [2023-06-29T14:21:13.413Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T14:21:12.911Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-06-29T14:21:13.001Z] > git init /w/workspace/device-uart/6 # timeout=10 [2023-06-29T14:21:13.136Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-29T14:21:13.137Z] > git --version # timeout=10 [2023-06-29T14:21:13.159Z] > git --version # 'git version 2.25.1' [2023-06-29T14:21:13.162Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T14:21:13.300Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T14:21:14.371Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-29T14:21:14.394Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-29T14:21:15.181Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-29T14:21:15.216Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-29T14:21:15.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T14:21:15.739Z] Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 8503bde12078bdbf4498e7a0b1306e1e869066d8 [2023-06-29T14:21:16.001Z] Merge succeeded, producing 8503bde12078bdbf4498e7a0b1306e1e869066d8 [2023-06-29T14:21:16.002Z] Checking out Revision 8503bde12078bdbf4498e7a0b1306e1e869066d8 (PR-14) [2023-06-29T14:21:15.232Z] > 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-29T14:21:15.748Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T14:21:15.817Z] > git checkout -f 8503bde12078bdbf4498e7a0b1306e1e869066d8 # timeout=10 [2023-06-29T14:21:15.892Z] > git remote # timeout=10 [2023-06-29T14:21:15.911Z] > git config --get remote.origin.url # timeout=10 [2023-06-29T14:21:15.939Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-29T14:21:15.952Z] > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [2023-06-29T14:21:15.977Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-29T14:21:15.998Z] > git config core.sparsecheckout # timeout=10 [2023-06-29T14:21:16.012Z] > git checkout -f 8503bde12078bdbf4498e7a0b1306e1e869066d8 # timeout=10 [2023-06-29T14:21:19.484Z] Commit message: "Merge branch 'main' into main" [2023-06-29T14:21:19.862Z] [2023-06-29T14:21:19.862Z] GitHub has been notified of this commit’s build result [2023-06-29T14:21:19.862Z] [2023-06-29T14:21:20.569Z] $ docker top ce845a33000b1eb95da0e833c574ad087f124b3bc706e9963932db74653f7f77 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-29T14:21:20.974Z] ---> job-cost.sh [2023-06-29T14:21:20.974Z] lf-activate-venv: SKIPPING [2023-06-29T14:21:20.974Z] INFO: No Stack... [2023-06-29T14:21:21.233Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T14:21:21.234Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-29T14:21:21.234Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-29T14:21:21.234Z] Dload Upload Total Spent Left Speed [2023-06-29T14:21:21.234Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 92398 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 91733 [2023-06-29T14:21:21.492Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-06-29T14:21:21.780Z] + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv [2023-06-29T14:21:21.780Z] + cut -d, -f6 [Pipeline] lock [2023-06-29T14:21:21.793Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] [2023-06-29T14:21:21.797Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] did not exist. Created. [2023-06-29T14:21:21.797Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T14:21:21.969Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-29T14:21:22.098Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-29T14:21:22.126Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T14:21:22.132Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T14:21:22.151Z] $ docker stop --time=1 ce845a33000b1eb95da0e833c574ad087f124b3bc706e9963932db74653f7f77 [2023-06-29T14:21:22.299Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-29T14:21:22.299Z] + sudo tee /etc/docker/daemon.new [2023-06-29T14:21:22.299Z] { [2023-06-29T14:21:22.299Z] "registry-mirrors": [ [2023-06-29T14:21:22.299Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-29T14:21:22.299Z] ], [2023-06-29T14:21:22.299Z] "bip": "10.250.0.254/24", [2023-06-29T14:21:22.299Z] "hosts": [ [2023-06-29T14:21:22.299Z] "tcp://0.0.0.0:5555", [2023-06-29T14:21:22.299Z] "unix:///var/run/docker.sock" [2023-06-29T14:21:22.299Z] ], [2023-06-29T14:21:22.299Z] "mtu": 1458, [2023-06-29T14:21:22.299Z] "selinux-enabled": true, [2023-06-29T14:21:22.299Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-29T14:21:22.299Z] } [2023-06-29T14:21:23.378Z] $ docker rm -f --volumes ce845a33000b1eb95da0e833c574ad087f124b3bc706e9963932db74653f7f77 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T14:21:23.535Z] Failed in branch amd64 [2023-06-29T14:21:23.741Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-29T14:21:24.064Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T14:21:42.316Z] provisioning config files... [2023-06-29T14:21:42.340Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/6@tmp/config356552795368418343tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:21:42.687Z] ---> docker-login.sh [2023-06-29T14:21:42.687Z] nexus3.edgexfoundry.org:10001 [2023-06-29T14:21:42.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:21:43.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:21:43.223Z] Configure a credential helper to remove this warning. See [2023-06-29T14:21:43.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:21:43.223Z] [2023-06-29T14:21:43.223Z] Login Succeeded [2023-06-29T14:21:43.223Z] nexus3.edgexfoundry.org:10002 [2023-06-29T14:21:43.494Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:21:43.494Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:21:43.494Z] Configure a credential helper to remove this warning. See [2023-06-29T14:21:43.494Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:21:43.494Z] [2023-06-29T14:21:43.494Z] Login Succeeded [2023-06-29T14:21:43.494Z] nexus3.edgexfoundry.org:10003 [2023-06-29T14:21:43.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:21:44.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:21:44.033Z] Configure a credential helper to remove this warning. See [2023-06-29T14:21:44.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:21:44.033Z] [2023-06-29T14:21:44.033Z] Login Succeeded [2023-06-29T14:21:44.033Z] nexus3.edgexfoundry.org:10004 [2023-06-29T14:21:44.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:21:44.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:21:44.301Z] Configure a credential helper to remove this warning. See [2023-06-29T14:21:44.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:21:44.301Z] [2023-06-29T14:21:44.301Z] Login Succeeded [2023-06-29T14:21:44.301Z] docker.io [2023-06-29T14:21:44.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-29T14:21:44.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-29T14:21:44.835Z] Configure a credential helper to remove this warning. See [2023-06-29T14:21:44.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-29T14:21:44.835Z] [2023-06-29T14:21:44.835Z] Login Succeeded [2023-06-29T14:21:44.835Z] ---> docker-login.sh ends [Pipeline] } [2023-06-29T14:21:44.848Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-29T14:21:45.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T14:21:45.110Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-29T14:21:45.126Z] ========================================================= [2023-06-29T14:21:45.126Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-29T14:21:45.126Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:21:45.473Z] + 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-29T14:21:45.742Z] Sending build context to Docker daemon 5.622MB [2023-06-29T14:21:45.742Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-29T14:21:45.742Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-29T14:21:46.015Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-29T14:21:46.015Z] c41833b44d91: Pulling fs layer [2023-06-29T14:21:46.015Z] ed15518f5707: Pulling fs layer [2023-06-29T14:21:46.015Z] feae8fd75edb: Pulling fs layer [2023-06-29T14:21:46.015Z] 242c74f7c9fa: Pulling fs layer [2023-06-29T14:21:46.015Z] 3cdef696dda3: Pulling fs layer [2023-06-29T14:21:46.015Z] 2ced38df9373: Pulling fs layer [2023-06-29T14:21:46.015Z] 58f1dce35555: Pulling fs layer [2023-06-29T14:21:46.015Z] 3cdef696dda3: Waiting [2023-06-29T14:21:46.015Z] 2ced38df9373: Waiting [2023-06-29T14:21:46.015Z] 58f1dce35555: Waiting [2023-06-29T14:21:46.015Z] 242c74f7c9fa: Waiting [2023-06-29T14:21:46.015Z] ed15518f5707: Verifying Checksum [2023-06-29T14:21:46.015Z] ed15518f5707: Download complete [2023-06-29T14:21:46.015Z] 242c74f7c9fa: Verifying Checksum [2023-06-29T14:21:46.015Z] 242c74f7c9fa: Download complete [2023-06-29T14:21:46.015Z] 3cdef696dda3: Verifying Checksum [2023-06-29T14:21:46.015Z] 3cdef696dda3: Download complete [2023-06-29T14:21:46.015Z] c41833b44d91: Verifying Checksum [2023-06-29T14:21:46.015Z] c41833b44d91: Download complete [2023-06-29T14:21:47.449Z] 58f1dce35555: Verifying Checksum [2023-06-29T14:21:47.449Z] 58f1dce35555: Download complete [2023-06-29T14:21:48.414Z] c41833b44d91: Pull complete [2023-06-29T14:21:48.414Z] feae8fd75edb: Verifying Checksum [2023-06-29T14:21:48.414Z] feae8fd75edb: Download complete [2023-06-29T14:21:48.414Z] 2ced38df9373: Verifying Checksum [2023-06-29T14:21:48.414Z] 2ced38df9373: Download complete [2023-06-29T14:21:48.685Z] ed15518f5707: Pull complete [2023-06-29T14:22:03.699Z] feae8fd75edb: Pull complete [2023-06-29T14:22:03.699Z] 242c74f7c9fa: Pull complete [2023-06-29T14:22:03.699Z] 3cdef696dda3: Pull complete [2023-06-29T14:22:10.351Z] 2ced38df9373: Pull complete [2023-06-29T14:22:12.314Z] 58f1dce35555: Pull complete [2023-06-29T14:22:12.314Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-29T14:22:12.314Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-29T14:22:12.314Z] ---> fadd8f120f05 [2023-06-29T14:22:12.314Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-29T14:22:13.746Z] ---> Running in 80ce610aa19f [2023-06-29T14:22:13.746Z] Removing intermediate container 80ce610aa19f [2023-06-29T14:22:13.746Z] ---> 3ed007f5861d [2023-06-29T14:22:13.746Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-29T14:22:13.746Z] ---> Running in bd0df3cd4e29 [2023-06-29T14:22:14.013Z] Removing intermediate container bd0df3cd4e29 [2023-06-29T14:22:14.013Z] ---> 43c503100035 [2023-06-29T14:22:14.013Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-29T14:22:14.280Z] ---> Running in be5711a6f37c [2023-06-29T14:22:14.550Z] Removing intermediate container be5711a6f37c [2023-06-29T14:22:14.550Z] ---> 82546e20431b [2023-06-29T14:22:14.550Z] Step 6/12 : WORKDIR /device-uart [2023-06-29T14:22:14.550Z] ---> Running in 9ed7ee252eaa [2023-06-29T14:22:14.817Z] Removing intermediate container 9ed7ee252eaa [2023-06-29T14:22:14.817Z] ---> 5f922e4ecc71 [2023-06-29T14:22:14.817Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-29T14:22:14.817Z] ---> Running in d09e4ad94f22 [2023-06-29T14:22:16.228Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-29T14:22:16.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-29T14:22:17.457Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-29T14:22:17.457Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-29T14:22:17.457Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-29T14:22:17.457Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-29T14:22:17.457Z] Executing busybox-1.35.0-r29.trigger [2023-06-29T14:22:17.724Z] OK: 268 MiB in 57 packages [2023-06-29T14:22:18.686Z] Removing intermediate container d09e4ad94f22 [2023-06-29T14:22:18.686Z] ---> 98f368992484 [2023-06-29T14:22:18.686Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-29T14:22:18.955Z] ---> 0a12dfcfab1a [2023-06-29T14:22:18.955Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-29T14:22:19.230Z] ---> Running in 7d6d2af9e4cf [2023-06-29T14:23:27.133Z] Removing intermediate container 7d6d2af9e4cf [2023-06-29T14:23:27.133Z] ---> 3e48b11dfe3e [2023-06-29T14:23:27.133Z] Step 10/12 : COPY . . [2023-06-29T14:23:27.133Z] ---> 1126300b0d13 [2023-06-29T14:23:27.133Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-29T14:23:27.133Z] ---> Running in e52d99ba9c7e [2023-06-29T14:23:27.133Z] Removing intermediate container e52d99ba9c7e [2023-06-29T14:23:27.133Z] ---> 9b3e7a5acd6a [2023-06-29T14:23:27.133Z] Step 12/12 : RUN ${MAKE} [2023-06-29T14:23:27.133Z] ---> Running in 84b2d5c2ae7c [2023-06-29T14:23:27.133Z] noop [2023-06-29T14:23:27.133Z] Removing intermediate container 84b2d5c2ae7c [2023-06-29T14:23:27.133Z] ---> 5549bbb67737 [2023-06-29T14:23:27.133Z] Successfully built 5549bbb67737 [2023-06-29T14:23:27.133Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:23:27.486Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T14:23:27.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:23:27.694Z] prd-ubuntu20.04-docker-arm64-4c-16g-171 does not seem to be running inside a container [2023-06-29T14:23:27.762Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@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-29T14:23:28.932Z] $ docker top e990f20d3eb738c989459e2776291dc1edeacf9f8628fc7b1fba365f2b891277 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T14:23:29.747Z] + go version [2023-06-29T14:23:29.747Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-29T14:23:29.772Z] $ docker stop --time=1 e990f20d3eb738c989459e2776291dc1edeacf9f8628fc7b1fba365f2b891277 [2023-06-29T14:23:31.372Z] $ docker rm -f --volumes e990f20d3eb738c989459e2776291dc1edeacf9f8628fc7b1fba365f2b891277 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:23:31.894Z] + docker inspect -f . ci-base-image-arm64 [2023-06-29T14:23:31.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:23:32.064Z] prd-ubuntu20.04-docker-arm64-4c-16g-171 does not seem to be running inside a container [2023-06-29T14:23:32.133Z] $ 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/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@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-29T14:23:36.558Z] $ docker top e84ebc0dac819ddad39ddb1bb58fd3c07a72d60e4150b5d31f4af6c86c7dfbff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T14:23:37.068Z] + git config --global --add safe.directory /w/workspace/device-uart/6 [Pipeline] fileExists [Pipeline] sh [2023-06-29T14:23:37.666Z] + make test [2023-06-29T14:23:37.667Z] go test ./... -coverprofile=coverage.out [2023-06-29T14:24:09.903Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-29T14:25:46.548Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-29T14:25:46.548Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-29T14:25:46.548Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-29T14:25:46.548Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-29T14:26:18.777Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-29T14:26:18.777Z] ./internal/driver/driver.go [2023-06-29T14:26:18.777Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-29T14:26:18.777Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2023-06-29T14:26:18.802Z] $ docker stop --time=1 e84ebc0dac819ddad39ddb1bb58fd3c07a72d60e4150b5d31f4af6c86c7dfbff [2023-06-29T14:26:20.837Z] $ docker rm -f --volumes e84ebc0dac819ddad39ddb1bb58fd3c07a72d60e4150b5d31f4af6c86c7dfbff [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-29T14:26:22.057Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T14:26:22.057Z] [2023-06-29T14:26:22.057Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:26:22.394Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T14:26:22.672Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-29T14:26:22.672Z] 8998bd30e6a1: Pulling fs layer [2023-06-29T14:26:22.672Z] 04944245beec: Pulling fs layer [2023-06-29T14:26:22.672Z] 699f458cf7ca: Pulling fs layer [2023-06-29T14:26:22.672Z] 765212b225bb: Pulling fs layer [2023-06-29T14:26:22.672Z] f23df028b6ca: Pulling fs layer [2023-06-29T14:26:22.672Z] d65c8cfc05b1: Pulling fs layer [2023-06-29T14:26:22.672Z] 2437ff75d9bd: Pulling fs layer [2023-06-29T14:26:22.672Z] 765212b225bb: Waiting [2023-06-29T14:26:22.672Z] f23df028b6ca: Waiting [2023-06-29T14:26:22.672Z] d65c8cfc05b1: Waiting [2023-06-29T14:26:22.672Z] 2437ff75d9bd: Waiting [2023-06-29T14:26:22.672Z] 04944245beec: Verifying Checksum [2023-06-29T14:26:22.672Z] 04944245beec: Download complete [2023-06-29T14:26:22.672Z] 765212b225bb: Verifying Checksum [2023-06-29T14:26:22.672Z] 765212b225bb: Download complete [2023-06-29T14:26:22.939Z] f23df028b6ca: Verifying Checksum [2023-06-29T14:26:22.939Z] f23df028b6ca: Download complete [2023-06-29T14:26:22.939Z] d65c8cfc05b1: Verifying Checksum [2023-06-29T14:26:22.939Z] d65c8cfc05b1: Download complete [2023-06-29T14:26:22.939Z] 699f458cf7ca: Verifying Checksum [2023-06-29T14:26:22.939Z] 699f458cf7ca: Download complete [2023-06-29T14:26:23.525Z] 8998bd30e6a1: Download complete [2023-06-29T14:26:26.876Z] 2437ff75d9bd: Verifying Checksum [2023-06-29T14:26:26.876Z] 2437ff75d9bd: Download complete [2023-06-29T14:26:28.837Z] 8998bd30e6a1: Pull complete [2023-06-29T14:26:32.178Z] 04944245beec: Pull complete [2023-06-29T14:26:34.260Z] 699f458cf7ca: Pull complete [2023-06-29T14:26:35.703Z] 765212b225bb: Pull complete [2023-06-29T14:26:36.693Z] f23df028b6ca: Pull complete [2023-06-29T14:26:36.966Z] d65c8cfc05b1: Pull complete [2023-06-29T14:26:51.976Z] 2437ff75d9bd: Pull complete [2023-06-29T14:26:51.976Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-29T14:26:51.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-29T14:26:51.976Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:26:52.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-171 does not seem to be running inside a container [2023-06-29T14:26:52.242Z] $ 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/6 -v /w/workspace/device-uart/6:/w/workspace/device-uart/6:rw,z -v /w/workspace/device-uart/6@tmp:/w/workspace/device-uart/6@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-29T14:26:54.403Z] $ docker top 27841c93a9dcea7d0ece4c336cc0f0583d0974e38f26a4173a883395d703c045 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:26:55.213Z] ---> job-cost.sh [2023-06-29T14:26:55.213Z] lf-activate-venv: SKIPPING [2023-06-29T14:26:55.213Z] INFO: No Stack... [2023-06-29T14:26:55.479Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-29T14:26:56.434Z] INFO: Archiving Costs [Pipeline] sh [2023-06-29T14:26:56.750Z] + cut -d, -f6 [2023-06-29T14:26:56.750Z] + cat /w/workspace/device-uart/6/archives/cost.csv [Pipeline] lock [2023-06-29T14:26:57.081Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] [2023-06-29T14:26:57.087Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] did not exist. Created. [2023-06-29T14:26:57.087Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-29T14:26:57.430Z] /w/workspace/device-uart/6@tmp/durable-684879b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-29T14:26:57.761Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-29T14:26:57.783Z] Warning: overwriting stash ‘stack-cost’ [2023-06-29T14:26:58.162Z] Stashed 1 file(s) [Pipeline] } [2023-06-29T14:26:58.171Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-29T14:26:58.200Z] $ docker stop --time=1 27841c93a9dcea7d0ece4c336cc0f0583d0974e38f26a4173a883395d703c045 [2023-06-29T14:26:59.669Z] $ docker rm -f --volumes 27841c93a9dcea7d0ece4c336cc0f0583d0974e38f26a4173a883395d703c045 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-29T14:26:59.875Z] 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-29T14:27:00.583Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] [2023-06-29T14:27:00.583Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-29T14:27:00.583Z] total 16 [2023-06-29T14:27:00.583Z] drwxr-xr-x 3 root root 4096 Jun 29 14:21 . [2023-06-29T14:27:00.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 14:21 .. [2023-06-29T14:27:00.583Z] drwxr-xr-x 2 root root 4096 Jun 29 14:21 cost [2023-06-29T14:27:00.583Z] -rw-r--r-- 1 root root 82 Jun 29 14:21 cost.csv [2023-06-29T14:27:00.583Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-29T14:27:00.583Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-29T14:27:00.583Z] total 16 [2023-06-29T14:27:00.583Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 14:21 . [2023-06-29T14:27:00.583Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 14:21 .. [2023-06-29T14:27:00.583Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 14:21 cost [2023-06-29T14:27:00.583Z] -rw-r--r-- 1 jenkins jenkins 82 Jun 29 14:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:00.874Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:01.727Z] ---> package-listing.sh [2023-06-29T14:27:01.727Z] ++ facter osfamily [2023-06-29T14:27:01.727Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-29T14:27:01.986Z] + OS_FAMILY=debian [2023-06-29T14:27:01.986Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 [2023-06-29T14:27:01.986Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-29T14:27:01.986Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-29T14:27:01.986Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-29T14:27:01.986Z] + PACKAGES=/tmp/packages_start.txt [2023-06-29T14:27:01.986Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-29T14:27:01.986Z] + PACKAGES=/tmp/packages_end.txt [2023-06-29T14:27:01.986Z] + case "${OS_FAMILY}" in [2023-06-29T14:27:01.986Z] + dpkg -l [2023-06-29T14:27:01.986Z] + grep '^ii' [2023-06-29T14:27:01.986Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-29T14:27:01.986Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-29T14:27:01.986Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-29T14:27:01.986Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-29T14:27:01.986Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [2023-06-29T14:27:01.986Z] + 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-29T14:27:01.996Z] 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-29T14:27:02.281Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-29T14:27:02.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-29T14:27:02.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-29T14:27:02.916Z] prd-ubuntu20.04-docker-8c-8g-170 does not seem to be running inside a container [2023-06-29T14:27:02.951Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-29T14:27:03.149Z] $ docker top 5a109d7deb96fe10b3783e9d0d0b4d69dd3234155045bbb998e44defd3926084 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-29T14:27:03.494Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-29T14:27:03.782Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-29T14:27:04.067Z] + ls /var/log/sa-host [2023-06-29T14:27:04.067Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-29T14:27:04.223Z] provisioning config files... [2023-06-29T14:27:04.231Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config12158920839813528105tmp [Pipeline] { [Pipeline] echo [2023-06-29T14:27:04.249Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:04.532Z] ---> create-netrc.sh [Pipeline] } [2023-06-29T14:27:04.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:04.864Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-29T14:27:04.872Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:05.155Z] ---> sudo-logs.sh [2023-06-29T14:27:05.155Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-29T14:27:05.190Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:05.477Z] ---> job-cost.sh [2023-06-29T14:27:05.477Z] lf-activate-venv: SKIPPING [2023-06-29T14:27:05.477Z] DEBUG: total: 0.2199999988079071 [2023-06-29T14:27:05.477Z] INFO: Retrieving Stack Cost... [2023-06-29T14:27:05.736Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-29T14:27:06.314Z] INFO: Archiving Costs [Pipeline] echo [2023-06-29T14:27:06.327Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-29T14:27:06.608Z] ---> logs-deploy.sh [2023-06-29T14:27:06.608Z] lf-activate-venv: SKIPPING [2023-06-29T14:27:06.608Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/6 [2023-06-29T14:27:06.608Z] INFO: archiving workspace using pattern(s): [2023-06-29T14:27:07.543Z] Archives upload complete. [2023-06-29T14:27:07.543Z] INFO: archiving logs to Nexus