Pull request #20 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-villali for edgexfoundry/device-uart Loading trusted files from base branch main at a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 rather than e1e5c0714d4b7ecb184c314f8395bbc096763fa2 Obtained Jenkinsfile from a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4435055418396688409.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-ssh7319218996506057376.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-20/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-20/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13494557331011926189.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-ssh15731678574658372749.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-20/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-20/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14552755577447957293.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1359 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-20 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit e1e5c0714d4b7ecb184c314f8395bbc096763fa2 Merge succeeded, producing 50098101b9f5426e5d120f2ff831d535d6705b15 Checking out Revision 50098101b9f5426e5d120f2ff831d535d6705b15 (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f e1e5c0714d4b7ecb184c314f8395bbc096763fa2 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50098101b9f5426e5d120f2ff831d535d6705b15 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-17T20:10:13.759Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-17T20:10:13.826Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-17T20:10:13.852Z] ========================================================= [2023-07-17T20:10:13.852Z] EdgeX Global Pipelines Version Info [2023-07-17T20:10:13.852Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:10:14.577Z] ------------------- [2023-07-17T20:10:14.577Z] stable info: [2023-07-17T20:10:14.577Z] ------------------- [2023-07-17T20:10:14.577Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-17T20:10:14.577Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-17T20:10:14.577Z] Message: update stable to v1.0.250 > git rev-list --no-walk 339ca57cf7f52cfc67dc0cd7081df455878fee0b # timeout=10 [2023-07-17T20:10:15.146Z] ------------------- [2023-07-17T20:10:15.146Z] experimental info: [2023-07-17T20:10:15.146Z] ------------------- [2023-07-17T20:10:15.146Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-17T20:10:15.146Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-17T20:10:15.146Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-17T20:10:15.314Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-17T20:10:15.330Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-17T20:10:15.340Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-17T20:10:15.349Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-17T20:10:15.357Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-17T20:10:15.368Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-17T20:10:15.381Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-17T20:10:15.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-17T20:10:15.405Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-17T20:10:15.418Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-17T20:10:15.429Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-17T20:10:15.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-17T20:10:15.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-17T20:10:15.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-17T20:10:15.485Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-17T20:10:15.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-17T20:10:15.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T20:10:15.537Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-17T20:10:15.555Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-17T20:10:15.570Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-17T20:10:15.582Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-17T20:10:15.600Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-17T20:10:15.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-17T20:10:15.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-17T20:10:15.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-17T20:10:15.660Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-17T20:10:15.671Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-17T20:10:15.683Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo [2023-07-17T20:10:15.693Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo [2023-07-17T20:10:15.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo [2023-07-17T20:10:15.719Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo [2023-07-17T20:10:15.737Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5009810 [Pipeline] echo [2023-07-17T20:10:15.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T20:10:15.794Z] provisioning config files... [2023-07-17T20:10:15.813Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3601056298639467992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:10:16.140Z] ---> docker-login.sh [2023-07-17T20:10:16.140Z] nexus3.edgexfoundry.org:10001 [2023-07-17T20:10:16.140Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:16.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:16.401Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:16.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:16.401Z] [2023-07-17T20:10:16.401Z] Login Succeeded [2023-07-17T20:10:16.401Z] nexus3.edgexfoundry.org:10002 [2023-07-17T20:10:16.401Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:16.401Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:16.401Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:16.401Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:16.401Z] [2023-07-17T20:10:16.401Z] Login Succeeded [2023-07-17T20:10:16.401Z] nexus3.edgexfoundry.org:10003 [2023-07-17T20:10:16.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:16.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:16.673Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:16.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:16.673Z] [2023-07-17T20:10:16.673Z] Login Succeeded [2023-07-17T20:10:16.673Z] nexus3.edgexfoundry.org:10004 [2023-07-17T20:10:16.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:16.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:16.673Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:16.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:16.673Z] [2023-07-17T20:10:16.673Z] Login Succeeded [2023-07-17T20:10:16.673Z] docker.io [2023-07-17T20:10:16.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:16.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:16.933Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:16.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:16.933Z] [2023-07-17T20:10:16.933Z] Login Succeeded [2023-07-17T20:10:16.933Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T20:10:16.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-17T20:10:17.340Z] + git rev-list -1 --merges 50098101b9f5426e5d120f2ff831d535d6705b15~1..50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo [2023-07-17T20:10:17.390Z] -----------> git rev-list -1 --merges 50098101b9f5426e5d120f2ff831d535d6705b15~1..50098101b9f5426e5d120f2ff831d535d6705b15 50098101b9f5426e5d120f2ff831d535d6705b15 [2023-07-17T20:10:17.390Z] 50098101b9f5426e5d120f2ff831d535d6705b15 [false] [Pipeline] sh [2023-07-17T20:10:17.678Z] + git log --format=format:%s -1 50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo [2023-07-17T20:10:17.693Z] ========================================================= [2023-07-17T20:10:17.693Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-17T20:10:17.693Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T20:10:18.028Z] + git log --format=format:%s -1 50098101b9f5426e5d120f2ff831d535d6705b15 [Pipeline] echo [2023-07-17T20:10:18.039Z] [semverPrep] GIT_COMMIT: 50098101b9f5426e5d120f2ff831d535d6705b15, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo [2023-07-17T20:10:18.047Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-17T20:10:18.413Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-17T20:10:18.413Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-17T20:10:18.413Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-17T20:10:18.413Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-17T20:10:18.413Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-17T20:10:18.413Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-17T20:10:18.413Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:10:18.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T20:10:18.822Z] [2023-07-17T20:10:18.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:10:19.126Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T20:10:19.126Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-17T20:10:19.126Z] b85a868b505f: Pulling fs layer [2023-07-17T20:10:19.126Z] e2be974225ed: Pulling fs layer [2023-07-17T20:10:19.126Z] 339a4e72a1f5: Pulling fs layer [2023-07-17T20:10:19.126Z] 988bab9f4d93: Pulling fs layer [2023-07-17T20:10:19.126Z] 1469e6f7b9e6: Pulling fs layer [2023-07-17T20:10:19.126Z] eaf3925da568: Pulling fs layer [2023-07-17T20:10:19.126Z] bab4dde63d76: Pulling fs layer [2023-07-17T20:10:19.126Z] bde34c3a00c8: Pulling fs layer [2023-07-17T20:10:19.126Z] b352a97aabf1: Pulling fs layer [2023-07-17T20:10:19.126Z] 4872d77fe225: Pulling fs layer [2023-07-17T20:10:19.126Z] 5851b861e8e6: Pulling fs layer [2023-07-17T20:10:19.126Z] bab4dde63d76: Waiting [2023-07-17T20:10:19.126Z] 4872d77fe225: Waiting [2023-07-17T20:10:19.126Z] b352a97aabf1: Waiting [2023-07-17T20:10:19.126Z] eaf3925da568: Waiting [2023-07-17T20:10:19.126Z] 988bab9f4d93: Waiting [2023-07-17T20:10:19.126Z] 5851b861e8e6: Waiting [2023-07-17T20:10:19.126Z] bde34c3a00c8: Waiting [2023-07-17T20:10:19.126Z] e2be974225ed: Download complete [2023-07-17T20:10:19.126Z] 988bab9f4d93: Download complete [2023-07-17T20:10:19.385Z] 1469e6f7b9e6: Verifying Checksum [2023-07-17T20:10:19.385Z] 1469e6f7b9e6: Download complete [2023-07-17T20:10:19.385Z] 339a4e72a1f5: Verifying Checksum [2023-07-17T20:10:19.385Z] 339a4e72a1f5: Download complete [2023-07-17T20:10:19.385Z] eaf3925da568: Download complete [2023-07-17T20:10:19.385Z] bde34c3a00c8: Verifying Checksum [2023-07-17T20:10:19.385Z] bde34c3a00c8: Download complete [2023-07-17T20:10:19.385Z] b352a97aabf1: Download complete [2023-07-17T20:10:19.385Z] 4872d77fe225: Verifying Checksum [2023-07-17T20:10:19.385Z] 4872d77fe225: Download complete [2023-07-17T20:10:19.385Z] 5851b861e8e6: Download complete [2023-07-17T20:10:19.385Z] b85a868b505f: Verifying Checksum [2023-07-17T20:10:19.385Z] b85a868b505f: Download complete [2023-07-17T20:10:19.643Z] bab4dde63d76: Verifying Checksum [2023-07-17T20:10:19.643Z] bab4dde63d76: Download complete [2023-07-17T20:10:21.019Z] b85a868b505f: Pull complete [2023-07-17T20:10:21.019Z] e2be974225ed: Pull complete [2023-07-17T20:10:21.278Z] 339a4e72a1f5: Pull complete [2023-07-17T20:10:21.537Z] 988bab9f4d93: Pull complete [2023-07-17T20:10:21.796Z] 1469e6f7b9e6: Pull complete [2023-07-17T20:10:21.796Z] eaf3925da568: Pull complete [2023-07-17T20:10:23.699Z] bab4dde63d76: Pull complete [2023-07-17T20:10:23.699Z] bde34c3a00c8: Pull complete [2023-07-17T20:10:23.998Z] b352a97aabf1: Pull complete [2023-07-17T20:10:23.998Z] 4872d77fe225: Pull complete [2023-07-17T20:10:24.278Z] 5851b861e8e6: Pull complete [2023-07-17T20:10:24.278Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-17T20:10:24.278Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-17T20:10:24.278Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:10:24.380Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2023-07-17T20:10:24.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-17T20:10:29.812Z] $ docker top b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 -eo pid,comm [2023-07-17T20:10:29.863Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-07-17T20:10:29.864Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-17T20:10:29.904Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-17T20:10:29.904Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-17T20:10:30.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-17T20:10:30.020Z] $ docker exec b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent [2023-07-17T20:10:30.120Z] SSH_AUTH_SOCK=/tmp/ssh-UVjDkmA3csic/agent.32 [2023-07-17T20:10:30.120Z] SSH_AGENT_PID=38 [2023-07-17T20:10:30.128Z] Running ssh-add (command line suppressed) [2023-07-17T20:10:30.225Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3228210896776976938.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_3228210896776976938.key) [2023-07-17T20:10:30.235Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-17T20:10:30.526Z] + git tag --points-at HEAD [Pipeline] } [2023-07-17T20:10:30.550Z] $ docker exec --env ******** --env ******** b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent -k [2023-07-17T20:10:30.647Z] unset SSH_AUTH_SOCK; [2023-07-17T20:10:30.647Z] unset SSH_AGENT_PID; [2023-07-17T20:10:30.648Z] echo Agent pid 38 killed; [2023-07-17T20:10:30.658Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-17T20:10:30.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-17T20:10:30.687Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-17T20:10:30.799Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-17T20:10:30.805Z] $ docker exec b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent [2023-07-17T20:10:30.917Z] SSH_AUTH_SOCK=/tmp/ssh-2TrCsyuEhgQd/agent.70 [2023-07-17T20:10:30.917Z] SSH_AGENT_PID=76 [2023-07-17T20:10:30.922Z] Running ssh-add (command line suppressed) [2023-07-17T20:10:31.030Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16544074848192738646.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_16544074848192738646.key) [2023-07-17T20:10:31.042Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-17T20:10:31.330Z] + git semver init [2023-07-17T20:10:31.589Z] 2023-07-17 20:10:31,517 [run_init] DEBUG init version:0.0.0 force:False [2023-07-17T20:10:31.589Z] 2023-07-17 20:10:31,518 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-17T20:10:31.589Z] 2023-07-17 20:10:31,519 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-17T20:10:31.589Z] 2023-07-17 20:10:31,519 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-20/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20, universal_newlines=False, shell=None, istream=None) [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,379 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,380 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 with force:False [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,380 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,384 [execute] INFO git cat-file --batch-check [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,390 [execute] INFO git cat-file --batch [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-17T20:10:32.526Z] 2023-07-17 20:10:32,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-17T20:10:32.526Z] 0.0.0 [Pipeline] } [2023-07-17T20:10:32.538Z] $ docker exec --env ******** --env ******** b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 ssh-agent -k [2023-07-17T20:10:32.639Z] unset SSH_AUTH_SOCK; [2023-07-17T20:10:32.640Z] unset SSH_AGENT_PID; [2023-07-17T20:10:32.640Z] echo Agent pid 76 killed; [2023-07-17T20:10:32.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-17T20:10:32.965Z] + git semver [Pipeline] } [2023-07-17T20:10:33.243Z] $ docker stop --time=1 b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 [2023-07-17T20:10:34.542Z] $ docker rm -f --volumes b2bd117c7978e1f3f78778a0e7ab3e28476e145746b7cb98552186d7fe9e6e10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T20:10:34.881Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-17T20:10:35.085Z] Stashed 1 file(s) [Pipeline] echo [2023-07-17T20:10:35.088Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T20:10:35.248Z] provisioning config files... [2023-07-17T20:10:35.259Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config1873196704805607303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:10:35.557Z] ---> docker-login.sh [2023-07-17T20:10:35.557Z] nexus3.edgexfoundry.org:10001 [2023-07-17T20:10:35.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:35.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:35.557Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:35.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:35.557Z] [2023-07-17T20:10:35.557Z] Login Succeeded [2023-07-17T20:10:35.557Z] nexus3.edgexfoundry.org:10002 [2023-07-17T20:10:35.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:35.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:35.557Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:35.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:35.557Z] [2023-07-17T20:10:35.557Z] Login Succeeded [2023-07-17T20:10:35.557Z] nexus3.edgexfoundry.org:10003 [2023-07-17T20:10:35.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:35.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:35.816Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:35.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:35.816Z] [2023-07-17T20:10:35.816Z] Login Succeeded [2023-07-17T20:10:35.816Z] nexus3.edgexfoundry.org:10004 [2023-07-17T20:10:35.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:35.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:35.816Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:35.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:35.816Z] [2023-07-17T20:10:35.816Z] Login Succeeded [2023-07-17T20:10:35.816Z] docker.io [2023-07-17T20:10:36.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:10:36.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:10:36.076Z] Configure a credential helper to remove this warning. See [2023-07-17T20:10:36.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:10:36.076Z] [2023-07-17T20:10:36.076Z] Login Succeeded [2023-07-17T20:10:36.076Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T20:10:36.083Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-17T20:10:36.139Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T20:10:36.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T20:10:36.154Z] ========================================================= [2023-07-17T20:10:36.154Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-17T20:10:36.154Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:10:36.464Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-17T20:10:36.465Z] Sending build context to Docker daemon 11.12MB [2023-07-17T20:10:36.465Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T20:10:36.465Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-17T20:10:36.465Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-17T20:10:36.465Z] 4db1b89c0bd1: Pulling fs layer [2023-07-17T20:10:36.465Z] 6911f1a30b25: Pulling fs layer [2023-07-17T20:10:36.465Z] e194b8c5c2a9: Pulling fs layer [2023-07-17T20:10:36.465Z] 6863d3e3a2b1: Pulling fs layer [2023-07-17T20:10:36.465Z] ec0bb842ea78: Pulling fs layer [2023-07-17T20:10:36.465Z] 40a00589a448: Pulling fs layer [2023-07-17T20:10:36.465Z] 6c08303d61cc: Pulling fs layer [2023-07-17T20:10:36.465Z] 798269fcf238: Pulling fs layer [2023-07-17T20:10:36.465Z] 6863d3e3a2b1: Waiting [2023-07-17T20:10:36.465Z] 40a00589a448: Waiting [2023-07-17T20:10:36.465Z] ec0bb842ea78: Waiting [2023-07-17T20:10:36.465Z] 6c08303d61cc: Waiting [2023-07-17T20:10:36.465Z] 798269fcf238: Waiting [2023-07-17T20:10:36.465Z] 6911f1a30b25: Verifying Checksum [2023-07-17T20:10:36.465Z] 6911f1a30b25: Download complete [2023-07-17T20:10:36.724Z] 6863d3e3a2b1: Verifying Checksum [2023-07-17T20:10:36.724Z] 6863d3e3a2b1: Download complete [2023-07-17T20:10:36.724Z] ec0bb842ea78: Verifying Checksum [2023-07-17T20:10:36.724Z] ec0bb842ea78: Download complete [2023-07-17T20:10:36.724Z] 4db1b89c0bd1: Verifying Checksum [2023-07-17T20:10:36.724Z] 4db1b89c0bd1: Download complete [2023-07-17T20:10:36.724Z] 40a00589a448: Verifying Checksum [2023-07-17T20:10:36.724Z] 40a00589a448: Download complete [2023-07-17T20:10:36.724Z] 4db1b89c0bd1: Pull complete [2023-07-17T20:10:36.983Z] 6911f1a30b25: Pull complete [2023-07-17T20:10:37.242Z] 798269fcf238: Download complete [2023-07-17T20:10:37.242Z] e194b8c5c2a9: Verifying Checksum [2023-07-17T20:10:37.242Z] e194b8c5c2a9: Download complete [2023-07-17T20:10:37.499Z] 6c08303d61cc: Verifying Checksum [2023-07-17T20:10:37.499Z] 6c08303d61cc: Download complete [2023-07-17T20:10:40.793Z] e194b8c5c2a9: Pull complete [2023-07-17T20:10:40.793Z] 6863d3e3a2b1: Pull complete [2023-07-17T20:10:40.793Z] ec0bb842ea78: Pull complete [2023-07-17T20:10:41.051Z] 40a00589a448: Pull complete [2023-07-17T20:10:43.585Z] 6c08303d61cc: Pull complete [2023-07-17T20:10:44.525Z] 798269fcf238: Pull complete [2023-07-17T20:10:44.525Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-17T20:10:44.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-17T20:10:44.525Z] ---> ec979cd7f677 [2023-07-17T20:10:44.525Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-17T20:10:50.201Z] Still waiting to schedule task [2023-07-17T20:10:50.202Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-17T20:10:52.649Z] ---> Running in e451b1fb0f79 [2023-07-17T20:10:52.649Z] Removing intermediate container e451b1fb0f79 [2023-07-17T20:10:52.649Z] ---> 64092cfe3f2e [2023-07-17T20:10:52.649Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-17T20:10:52.909Z] ---> Running in 35aef2b35d6a [2023-07-17T20:10:52.909Z] Removing intermediate container 35aef2b35d6a [2023-07-17T20:10:52.909Z] ---> bad1e0c0681c [2023-07-17T20:10:52.909Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-17T20:10:52.909Z] ---> Running in a0fcc41915ae [2023-07-17T20:10:52.909Z] Removing intermediate container a0fcc41915ae [2023-07-17T20:10:52.909Z] ---> 7aec57df095e [2023-07-17T20:10:52.909Z] Step 6/12 : WORKDIR /device-uart [2023-07-17T20:10:53.168Z] ---> Running in 83b918bd3645 [2023-07-17T20:10:53.168Z] Removing intermediate container 83b918bd3645 [2023-07-17T20:10:53.168Z] ---> 9857a3540ab7 [2023-07-17T20:10:53.168Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-17T20:10:53.168Z] ---> Running in 3b0b1ddf513d [2023-07-17T20:10:53.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-17T20:10:53.427Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-17T20:10:53.685Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-17T20:10:53.685Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-17T20:10:53.685Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-17T20:10:53.685Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-17T20:10:53.685Z] Executing busybox-1.35.0-r29.trigger [2023-07-17T20:10:53.685Z] OK: 269 MiB in 57 packages [2023-07-17T20:10:54.254Z] Removing intermediate container 3b0b1ddf513d [2023-07-17T20:10:54.254Z] ---> fd35a86c41f2 [2023-07-17T20:10:54.254Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-17T20:10:54.515Z] ---> c0ee68b0bdaf [2023-07-17T20:10:54.515Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T20:10:54.515Z] ---> Running in 476e9e75097b [2023-07-17T20:12:02.487Z] Removing intermediate container 476e9e75097b [2023-07-17T20:12:02.487Z] ---> 49ef9ddc8726 [2023-07-17T20:12:02.487Z] Step 10/12 : COPY . . [2023-07-17T20:12:02.487Z] ---> 03e5c62a4aca [2023-07-17T20:12:02.487Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-17T20:12:02.487Z] ---> Running in afed47a5d5d0 [2023-07-17T20:12:02.487Z] Removing intermediate container afed47a5d5d0 [2023-07-17T20:12:02.487Z] ---> 0675d37bc9dd [2023-07-17T20:12:02.487Z] Step 12/12 : RUN ${MAKE} [2023-07-17T20:12:02.487Z] ---> Running in 7635b9aa158c [2023-07-17T20:12:02.487Z] noop [2023-07-17T20:12:02.487Z] Removing intermediate container 7635b9aa158c [2023-07-17T20:12:02.487Z] ---> f706222d0815 [2023-07-17T20:12:02.487Z] Successfully built f706222d0815 [2023-07-17T20:12:02.487Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:12:02.809Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-17T20:12:02.809Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:12:02.879Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2023-07-17T20:12:02.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-17T20:12:03.246Z] $ docker top 829b9d19c4062a9656b629afb049a066d33ad08b13a5fda63c7cad5cddadb40f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:12:03.584Z] + go version [2023-07-17T20:12:03.584Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-17T20:12:03.597Z] $ docker stop --time=1 829b9d19c4062a9656b629afb049a066d33ad08b13a5fda63c7cad5cddadb40f [2023-07-17T20:12:04.946Z] $ docker rm -f --volumes 829b9d19c4062a9656b629afb049a066d33ad08b13a5fda63c7cad5cddadb40f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:12:05.359Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-17T20:12:05.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:12:05.435Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2023-07-17T20:12:05.469Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-07-17T20:12:05.784Z] $ docker top e9633d2fde8a4bb5837fc12a63df6c896d500a3604611d90c6da2b864e2a19fb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:12:06.126Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh [2023-07-17T20:12:06.422Z] + make test [2023-07-17T20:12:06.422Z] go test ./... -coverprofile=coverage.out [2023-07-17T20:12:11.704Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-17T20:12:21.474Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1360 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws [2023-07-17T20:12:21.490Z] Running in /w/workspace/device-uart/6 [Pipeline] { [Pipeline] checkout [2023-07-17T20:12:21.531Z] The recommended git tool is: git [2023-07-17T20:12:21.716Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-17T20:12:21.716Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-17T20:12:26.417Z] using credential edgex-jenkins-ssh [2023-07-17T20:12:26.436Z] Cloning the remote Git repository [2023-07-17T20:12:26.483Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-17T20:12:26.576Z] > git init /w/workspace/device-uart/6 # timeout=10 [2023-07-17T20:12:26.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-17T20:12:26.717Z] > git --version # timeout=10 [2023-07-17T20:12:26.737Z] > git --version # 'git version 2.25.1' [2023-07-17T20:12:26.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T20:12:26.888Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-17T20:12:28.313Z] internal/driver/driver.go:202:24: ineffectual assignment to err (ineffassign) [2023-07-17T20:12:28.313Z] key_timeout_value, err := cast.ToIntE(req.Attributes["timeout"]) [2023-07-17T20:12:28.313Z] ^ [2023-07-17T20:12:28.313Z] make: *** [Makefile:30: lint] Error 1 [Pipeline] } [2023-07-17T20:12:28.328Z] $ docker stop --time=1 e9633d2fde8a4bb5837fc12a63df6c896d500a3604611d90c6da2b864e2a19fb [2023-07-17T20:12:27.959Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-17T20:12:27.982Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-17T20:12:28.785Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-17T20:12:28.823Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-17T20:12:28.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T20:12:28.839Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/20/head:refs/remotes/origin/PR-20 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-17T20:12:29.501Z] Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit e1e5c0714d4b7ecb184c314f8395bbc096763fa2 [2023-07-17T20:12:29.800Z] Merge succeeded, producing b4e3526084261c02fcb95482fc5ecdede031c9c1 [2023-07-17T20:12:29.800Z] Checking out Revision b4e3526084261c02fcb95482fc5ecdede031c9c1 (PR-20) [2023-07-17T20:12:29.517Z] > git config core.sparsecheckout # timeout=10 [2023-07-17T20:12:29.594Z] > git checkout -f e1e5c0714d4b7ecb184c314f8395bbc096763fa2 # timeout=10 [2023-07-17T20:12:29.672Z] > git remote # timeout=10 [2023-07-17T20:12:29.692Z] > git config --get remote.origin.url # timeout=10 [2023-07-17T20:12:29.717Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-17T20:12:29.731Z] > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [2023-07-17T20:12:29.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-17T20:12:29.806Z] > git config core.sparsecheckout # timeout=10 [2023-07-17T20:12:29.819Z] > git checkout -f b4e3526084261c02fcb95482fc5ecdede031c9c1 # timeout=10 [2023-07-17T20:12:32.341Z] $ docker rm -f --volumes e9633d2fde8a4bb5837fc12a63df6c896d500a3604611d90c6da2b864e2a19fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:12:32.944Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:12:32.944Z] [2023-07-17T20:12:32.944Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:12:33.233Z] Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" [2023-07-17T20:12:33.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:12:33.241Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-17T20:12:33.241Z] 5eb5b503b376: Pulling fs layer [2023-07-17T20:12:33.241Z] 5c69ac0246d0: Pulling fs layer [2023-07-17T20:12:33.241Z] ec43610c2a17: Pulling fs layer [2023-07-17T20:12:33.241Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-17T20:12:33.241Z] 33b1e0a273af: Pulling fs layer [2023-07-17T20:12:33.241Z] 5d3b04190fa2: Pulling fs layer [2023-07-17T20:12:33.241Z] 2f39f015ded8: Pulling fs layer [2023-07-17T20:12:33.241Z] 3a2ae6a8a46f: Waiting [2023-07-17T20:12:33.241Z] 5d3b04190fa2: Waiting [2023-07-17T20:12:33.241Z] 2f39f015ded8: Waiting [2023-07-17T20:12:33.241Z] 5c69ac0246d0: Download complete [2023-07-17T20:12:33.241Z] 3a2ae6a8a46f: Download complete [2023-07-17T20:12:33.241Z] 33b1e0a273af: Download complete [2023-07-17T20:12:33.255Z] First time build. Skipping changelog. [2023-07-17T20:12:33.501Z] 5d3b04190fa2: Download complete [2023-07-17T20:12:33.501Z] ec43610c2a17: Verifying Checksum [2023-07-17T20:12:33.501Z] ec43610c2a17: Download complete [2023-07-17T20:12:33.501Z] 5eb5b503b376: Verifying Checksum [2023-07-17T20:12:33.501Z] 5eb5b503b376: Download complete [2023-07-17T20:12:33.738Z] [2023-07-17T20:12:33.738Z] GitHub has been notified of this commit’s build result [2023-07-17T20:12:33.738Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T20:12:34.074Z] 2f39f015ded8: Download complete [2023-07-17T20:12:34.252Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-17T20:12:34.252Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-17T20:12:34.252Z] Dload Upload Total Spent Left Speed [2023-07-17T20:12:34.252Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79198 0 --:--:-- --:--:-- --:--:-- 79693 [Pipeline] sh [2023-07-17T20:12:33.240Z] > git rev-list --no-walk 339ca57cf7f52cfc67dc0cd7081df455878fee0b # timeout=10 [2023-07-17T20:12:34.923Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-17T20:12:35.013Z] 5eb5b503b376: Pull complete [2023-07-17T20:12:35.013Z] 5c69ac0246d0: Pull complete [2023-07-17T20:12:35.247Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-17T20:12:35.247Z] + sudo tee /etc/docker/daemon.new [2023-07-17T20:12:35.247Z] { [2023-07-17T20:12:35.247Z] "registry-mirrors": [ [2023-07-17T20:12:35.247Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-17T20:12:35.247Z] ], [2023-07-17T20:12:35.247Z] "bip": "10.250.0.254/24", [2023-07-17T20:12:35.247Z] "hosts": [ [2023-07-17T20:12:35.247Z] "tcp://0.0.0.0:5555", [2023-07-17T20:12:35.247Z] "unix:///var/run/docker.sock" [2023-07-17T20:12:35.247Z] ], [2023-07-17T20:12:35.247Z] "mtu": 1458, [2023-07-17T20:12:35.247Z] "selinux-enabled": true, [2023-07-17T20:12:35.247Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-17T20:12:35.247Z] } [Pipeline] sh [2023-07-17T20:12:35.573Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-07-17T20:12:35.586Z] ec43610c2a17: Pull complete [Pipeline] sh [2023-07-17T20:12:35.846Z] 3a2ae6a8a46f: Pull complete [2023-07-17T20:12:35.892Z] + sudo service docker restart [2023-07-17T20:12:36.108Z] 33b1e0a273af: Pull complete [2023-07-17T20:12:36.108Z] 5d3b04190fa2: Pull complete [2023-07-17T20:12:41.381Z] 2f39f015ded8: Pull complete [2023-07-17T20:12:41.381Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-17T20:12:41.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:12:41.381Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:12:41.474Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2023-07-17T20:12:41.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-17T20:12:48.243Z] $ docker top fe6e3bb9a6b56e74bb77301ac01d1995ab08744674f7d1440138f66b7a83f23f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:12:48.649Z] ---> job-cost.sh [2023-07-17T20:12:48.649Z] lf-activate-venv: SKIPPING [2023-07-17T20:12:48.649Z] INFO: No Stack... [2023-07-17T20:12:48.910Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-17T20:12:49.168Z] INFO: Archiving Costs [Pipeline] sh [2023-07-17T20:12:49.460Z] + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv [2023-07-17T20:12:49.460Z] + cut -d, -f6 [Pipeline] lock [2023-07-17T20:12:49.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [2023-07-17T20:12:49.479Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] did not exist. Created. [2023-07-17T20:12:49.479Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-17T20:12:49.782Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-17T20:12:49.822Z] Stashed 1 file(s) [Pipeline] } [2023-07-17T20:12:49.829Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-17T20:12:49.847Z] $ docker stop --time=1 fe6e3bb9a6b56e74bb77301ac01d1995ab08744674f7d1440138f66b7a83f23f [2023-07-17T20:12:50.998Z] $ docker rm -f --volumes fe6e3bb9a6b56e74bb77301ac01d1995ab08744674f7d1440138f66b7a83f23f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-17T20:12:51.106Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T20:12:54.137Z] provisioning config files... [2023-07-17T20:12:54.157Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/6@tmp/config13737889343827221331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:12:54.499Z] ---> docker-login.sh [2023-07-17T20:12:54.499Z] nexus3.edgexfoundry.org:10001 [2023-07-17T20:12:54.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:12:55.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:12:55.037Z] Configure a credential helper to remove this warning. See [2023-07-17T20:12:55.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:12:55.037Z] [2023-07-17T20:12:55.037Z] Login Succeeded [2023-07-17T20:12:55.037Z] nexus3.edgexfoundry.org:10002 [2023-07-17T20:12:55.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:12:55.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:12:55.305Z] Configure a credential helper to remove this warning. See [2023-07-17T20:12:55.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:12:55.305Z] [2023-07-17T20:12:55.305Z] Login Succeeded [2023-07-17T20:12:55.305Z] nexus3.edgexfoundry.org:10003 [2023-07-17T20:12:55.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:12:55.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:12:55.850Z] Configure a credential helper to remove this warning. See [2023-07-17T20:12:55.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:12:55.850Z] [2023-07-17T20:12:55.850Z] Login Succeeded [2023-07-17T20:12:55.850Z] nexus3.edgexfoundry.org:10004 [2023-07-17T20:12:55.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:12:56.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:12:56.119Z] Configure a credential helper to remove this warning. See [2023-07-17T20:12:56.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:12:56.119Z] [2023-07-17T20:12:56.119Z] Login Succeeded [2023-07-17T20:12:56.119Z] docker.io [2023-07-17T20:12:56.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-17T20:12:56.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-17T20:12:56.387Z] Configure a credential helper to remove this warning. See [2023-07-17T20:12:56.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-17T20:12:56.387Z] [2023-07-17T20:12:56.387Z] Login Succeeded [2023-07-17T20:12:56.387Z] ---> docker-login.sh ends [Pipeline] } [2023-07-17T20:12:56.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-17T20:12:56.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T20:12:56.657Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-17T20:12:56.670Z] ========================================================= [2023-07-17T20:12:56.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-17T20:12:56.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:12:57.014Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-07-17T20:12:57.281Z] Sending build context to Docker daemon 5.617MB [2023-07-17T20:12:57.281Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T20:12:57.281Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-17T20:12:59.887Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-17T20:12:59.887Z] edb6bdbacee9: Pulling fs layer [2023-07-17T20:12:59.887Z] 5f9638ab2659: Pulling fs layer [2023-07-17T20:12:59.887Z] 8d51d6327a98: Pulling fs layer [2023-07-17T20:12:59.887Z] 8b374f2dd631: Pulling fs layer [2023-07-17T20:12:59.887Z] ec14aa9079de: Pulling fs layer [2023-07-17T20:12:59.887Z] 2f466654f4bb: Pulling fs layer [2023-07-17T20:12:59.887Z] 554e91adad29: Pulling fs layer [2023-07-17T20:12:59.887Z] ec14aa9079de: Waiting [2023-07-17T20:12:59.887Z] 2f466654f4bb: Waiting [2023-07-17T20:12:59.887Z] 554e91adad29: Waiting [2023-07-17T20:12:59.887Z] 8b374f2dd631: Waiting [2023-07-17T20:12:59.887Z] 5f9638ab2659: Verifying Checksum [2023-07-17T20:12:59.887Z] 5f9638ab2659: Download complete [2023-07-17T20:12:59.887Z] 8b374f2dd631: Verifying Checksum [2023-07-17T20:12:59.887Z] 8b374f2dd631: Download complete [2023-07-17T20:12:59.887Z] ec14aa9079de: Verifying Checksum [2023-07-17T20:12:59.887Z] ec14aa9079de: Download complete [2023-07-17T20:12:59.887Z] edb6bdbacee9: Verifying Checksum [2023-07-17T20:12:59.887Z] edb6bdbacee9: Download complete [2023-07-17T20:13:00.859Z] edb6bdbacee9: Pull complete [2023-07-17T20:13:01.130Z] 554e91adad29: Verifying Checksum [2023-07-17T20:13:01.130Z] 554e91adad29: Download complete [2023-07-17T20:13:01.401Z] 5f9638ab2659: Pull complete [2023-07-17T20:13:02.381Z] 8d51d6327a98: Verifying Checksum [2023-07-17T20:13:02.381Z] 8d51d6327a98: Download complete [2023-07-17T20:13:02.381Z] 2f466654f4bb: Verifying Checksum [2023-07-17T20:13:02.381Z] 2f466654f4bb: Download complete [2023-07-17T20:13:14.727Z] 8d51d6327a98: Pull complete [2023-07-17T20:13:14.727Z] 8b374f2dd631: Pull complete [2023-07-17T20:13:14.727Z] ec14aa9079de: Pull complete [2023-07-17T20:13:21.395Z] 2f466654f4bb: Pull complete [2023-07-17T20:13:23.342Z] 554e91adad29: Pull complete [2023-07-17T20:13:23.342Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-17T20:13:23.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-17T20:13:23.342Z] ---> 1e15ea492957 [2023-07-17T20:13:23.342Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-17T20:13:24.749Z] ---> Running in 8cb0e58804c9 [2023-07-17T20:13:25.016Z] Removing intermediate container 8cb0e58804c9 [2023-07-17T20:13:25.016Z] ---> 51b9a1f30ae9 [2023-07-17T20:13:25.016Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-17T20:13:25.016Z] ---> Running in 4417a8310216 [2023-07-17T20:13:25.287Z] Removing intermediate container 4417a8310216 [2023-07-17T20:13:25.287Z] ---> 040d113a740d [2023-07-17T20:13:25.287Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-17T20:13:25.287Z] ---> Running in ece97bcf79cf [2023-07-17T20:13:25.554Z] Removing intermediate container ece97bcf79cf [2023-07-17T20:13:25.554Z] ---> a3317365e1fa [2023-07-17T20:13:25.554Z] Step 6/12 : WORKDIR /device-uart [2023-07-17T20:13:25.822Z] ---> Running in edbac765e8e0 [2023-07-17T20:13:26.091Z] Removing intermediate container edbac765e8e0 [2023-07-17T20:13:26.091Z] ---> 04150aabe2a1 [2023-07-17T20:13:26.091Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-17T20:13:26.091Z] ---> Running in 495fdadbfc3c [2023-07-17T20:13:27.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-17T20:13:27.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-17T20:13:28.612Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-17T20:13:28.612Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-17T20:13:28.612Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-17T20:13:28.612Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-17T20:13:28.612Z] Executing busybox-1.35.0-r29.trigger [2023-07-17T20:13:28.612Z] OK: 268 MiB in 57 packages [2023-07-17T20:13:29.575Z] Removing intermediate container 495fdadbfc3c [2023-07-17T20:13:29.575Z] ---> f86fab2d4f6c [2023-07-17T20:13:29.575Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-17T20:13:30.177Z] ---> 8272a16294f1 [2023-07-17T20:13:30.177Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T20:13:30.177Z] ---> Running in 07893194f450 [2023-07-17T20:14:38.060Z] Removing intermediate container 07893194f450 [2023-07-17T20:14:38.060Z] ---> 0cc747548ae4 [2023-07-17T20:14:38.060Z] Step 10/12 : COPY . . [2023-07-17T20:14:38.060Z] ---> aeb9a2ca711e [2023-07-17T20:14:38.060Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-17T20:14:38.060Z] ---> Running in 8347958be25a [2023-07-17T20:14:38.060Z] Removing intermediate container 8347958be25a [2023-07-17T20:14:38.060Z] ---> 48abc96ce69c [2023-07-17T20:14:38.060Z] Step 12/12 : RUN ${MAKE} [2023-07-17T20:14:38.060Z] ---> Running in 6893a93bb737 [2023-07-17T20:14:38.060Z] noop [2023-07-17T20:14:38.060Z] Removing intermediate container 6893a93bb737 [2023-07-17T20:14:38.060Z] ---> cd4660cf0c64 [2023-07-17T20:14:38.060Z] Successfully built cd4660cf0c64 [2023-07-17T20:14:38.060Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:14:38.409Z] + docker inspect -f . ci-base-image-arm64 [2023-07-17T20:14:38.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:14:38.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container [2023-07-17T20:14:38.674Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-17T20:14:39.817Z] $ docker top 9bf1128df6680ef2dfd6b90005ff51e57463f2dcc605aafe965d29d5c1da967c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:14:40.633Z] + go version [2023-07-17T20:14:40.634Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-17T20:14:40.651Z] $ docker stop --time=1 9bf1128df6680ef2dfd6b90005ff51e57463f2dcc605aafe965d29d5c1da967c [2023-07-17T20:14:42.216Z] $ docker rm -f --volumes 9bf1128df6680ef2dfd6b90005ff51e57463f2dcc605aafe965d29d5c1da967c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:14:42.757Z] + docker inspect -f . ci-base-image-arm64 [2023-07-17T20:14:42.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:14:42.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container [2023-07-17T20:14:43.003Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-17T20:14:44.119Z] $ docker top 2c25b8092852ad29d3d7feedd428a5a653aaba83d446a1ca90821a2a6dd0b019 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:14:44.932Z] + git config --global --add safe.directory /w/workspace/device-uart/6 [Pipeline] fileExists [Pipeline] sh [2023-07-17T20:14:45.257Z] + make test [2023-07-17T20:14:45.257Z] go test ./... -coverprofile=coverage.out [2023-07-17T20:15:17.484Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-17T20:16:54.112Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-17T20:16:54.112Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-17T20:16:54.112Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-17T20:16:54.112Z] go vet ./... [2023-07-17T20:17:26.364Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-17T20:17:26.364Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-17T20:17:26.364Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-17T20:17:26.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-17T20:17:26.396Z] $ docker stop --time=1 2c25b8092852ad29d3d7feedd428a5a653aaba83d446a1ca90821a2a6dd0b019 [2023-07-17T20:17:29.612Z] $ docker rm -f --volumes 2c25b8092852ad29d3d7feedd428a5a653aaba83d446a1ca90821a2a6dd0b019 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-17T20:17:30.724Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-17T20:17:31.136Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-17T20:17:31.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-17T20:17:31.992Z] + ls -al . [2023-07-17T20:17:31.993Z] total 136 [2023-07-17T20:17:31.993Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 17 20:14 . [2023-07-17T20:17:31.993Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 17 20:12 .. [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 17 20:12 .dockerignore [2023-07-17T20:17:31.993Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:12 .git [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 17 20:12 .gitignore [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 17 20:12 .golangci.yml [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 8972 Jul 17 20:12 Attribution.txt [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 1777 Jul 17 20:12 Dockerfile [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 17 20:12 GOVERNANCE.md [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 675 Jul 17 20:12 Jenkinsfile [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 17 20:12 LICENSE [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 1641 Jul 17 20:12 Makefile [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 17 20:12 OWNERS.md [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 7340 Jul 17 20:12 README.md [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 17 20:10 VERSION [2023-07-17T20:17:31.993Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 17 20:12 bin [2023-07-17T20:17:31.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:12 cmd [2023-07-17T20:17:31.993Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 17 20:14 coverage.out [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 3244 Jul 17 20:12 go.mod [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 31451 Jul 17 20:12 go.sum [2023-07-17T20:17:31.993Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 17 20:12 internal [2023-07-17T20:17:31.993Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 17 20:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:17:32.324Z] + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b4e3526084261c02fcb95482fc5ecdede031c9c1 --label arch=arm64 --label version=0.0.0 . [2023-07-17T20:17:32.596Z] Sending build context to Docker daemon 5.618MB [2023-07-17T20:17:32.596Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-07-17T20:17:32.596Z] Step 2/25 : FROM ${BASE} AS builder [2023-07-17T20:17:32.596Z] ---> cd4660cf0c64 [2023-07-17T20:17:32.596Z] Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-17T20:17:32.865Z] ---> Running in a716232b7585 [2023-07-17T20:17:33.137Z] Removing intermediate container a716232b7585 [2023-07-17T20:17:33.137Z] ---> e8ad56206e39 [2023-07-17T20:17:33.137Z] Step 4/25 : ARG ALPINE_PKG_EXTRA="" [2023-07-17T20:17:33.402Z] ---> Running in 1681bef9d6cb [2023-07-17T20:17:33.672Z] Removing intermediate container 1681bef9d6cb [2023-07-17T20:17:33.672Z] ---> 4cdf23afd65c [2023-07-17T20:17:33.672Z] Step 5/25 : ARG ADD_BUILD_TAGS="" [2023-07-17T20:17:33.672Z] ---> Running in 26057ce8f9e8 [2023-07-17T20:17:33.950Z] Removing intermediate container 26057ce8f9e8 [2023-07-17T20:17:33.950Z] ---> 399bbcf27562 [2023-07-17T20:17:33.950Z] Step 6/25 : WORKDIR /device-uart [2023-07-17T20:17:34.218Z] ---> Running in edc0cb69cbe7 [2023-07-17T20:17:34.486Z] Removing intermediate container edc0cb69cbe7 [2023-07-17T20:17:34.486Z] ---> 84d45e517b98 [2023-07-17T20:17:34.486Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-17T20:17:34.487Z] ---> Running in 11b6431cc65a [2023-07-17T20:17:35.594Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-17T20:17:36.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-17T20:17:37.197Z] OK: 268 MiB in 57 packages [2023-07-17T20:17:38.193Z] Removing intermediate container 11b6431cc65a [2023-07-17T20:17:38.193Z] ---> 8b684174d78b [2023-07-17T20:17:38.193Z] Step 8/25 : COPY go.mod vendor* ./ [2023-07-17T20:17:40.143Z] ---> 3caa079ee898 [2023-07-17T20:17:40.143Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-17T20:17:40.143Z] ---> Running in d11a68103a0a [2023-07-17T20:17:45.498Z] Removing intermediate container d11a68103a0a [2023-07-17T20:17:45.498Z] ---> 6bd642ee87c0 [2023-07-17T20:17:45.498Z] Step 10/25 : COPY . . [2023-07-17T20:17:46.919Z] ---> a77db7a52885 [2023-07-17T20:17:46.919Z] Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-17T20:17:46.919Z] ---> Running in 82fc131de65c [2023-07-17T20:17:47.190Z] Removing intermediate container 82fc131de65c [2023-07-17T20:17:47.190Z] ---> ce731f98f38b [2023-07-17T20:17:47.190Z] Step 12/25 : RUN ${MAKE} [2023-07-17T20:17:47.466Z] ---> Running in ab994d5ac5e0 [2023-07-17T20:17:49.454Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2023-07-17T20:19:56.151Z] Removing intermediate container ab994d5ac5e0 [2023-07-17T20:19:56.151Z] ---> f4ffe4a778c0 [2023-07-17T20:19:56.151Z] Step 13/25 : FROM alpine:3.17 [2023-07-17T20:19:56.151Z] 3.17: Pulling from library/alpine [2023-07-17T20:19:56.151Z] edb6bdbacee9: Already exists [2023-07-17T20:19:56.151Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-17T20:19:56.151Z] Status: Downloaded newer image for alpine:3.17 [2023-07-17T20:19:56.151Z] ---> 779605e5fbc0 [2023-07-17T20:19:56.151Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-07-17T20:19:56.151Z] ---> Running in 117afded3b70 [2023-07-17T20:19:56.151Z] Removing intermediate container 117afded3b70 [2023-07-17T20:19:56.151Z] ---> b14af00bd774 [2023-07-17T20:19:56.151Z] Step 15/25 : RUN apk add --update --no-cache dumb-init [2023-07-17T20:19:56.151Z] ---> Running in bbbd55959fdc [2023-07-17T20:19:56.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-17T20:19:56.151Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-17T20:19:56.151Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-07-17T20:19:56.151Z] Executing busybox-1.35.0-r29.trigger [2023-07-17T20:19:56.151Z] OK: 8 MiB in 16 packages [2023-07-17T20:19:56.151Z] Removing intermediate container bbbd55959fdc [2023-07-17T20:19:56.151Z] ---> 5c3f613a1c64 [2023-07-17T20:19:56.151Z] Step 16/25 : WORKDIR / [2023-07-17T20:19:56.151Z] ---> Running in 48871cf0f8f5 [2023-07-17T20:19:56.151Z] Removing intermediate container 48871cf0f8f5 [2023-07-17T20:19:56.151Z] ---> 57a8fd6aa39a [2023-07-17T20:19:56.151Z] Step 17/25 : COPY --from=builder /device-uart/Attribution.txt / [2023-07-17T20:19:56.151Z] ---> 26946632a905 [2023-07-17T20:19:56.151Z] Step 18/25 : COPY --from=builder /device-uart/LICENSE / [2023-07-17T20:19:56.151Z] ---> b2e2e3bb0c74 [2023-07-17T20:19:56.151Z] Step 19/25 : COPY --from=builder /device-uart/cmd/ / [2023-07-17T20:19:56.151Z] ---> 23ce3507fbe3 [2023-07-17T20:19:56.151Z] Step 20/25 : EXPOSE 59995 [2023-07-17T20:19:56.151Z] ---> Running in f305c925ecd1 [2023-07-17T20:19:56.151Z] Removing intermediate container f305c925ecd1 [2023-07-17T20:19:56.151Z] ---> 1f1fcf20d6fa [2023-07-17T20:19:56.151Z] Step 21/25 : ENTRYPOINT ["/device-uart"] [2023-07-17T20:19:56.151Z] ---> Running in 0a2232d5fa99 [2023-07-17T20:19:56.151Z] Removing intermediate container 0a2232d5fa99 [2023-07-17T20:19:56.151Z] ---> d1e361d31129 [2023-07-17T20:19:56.151Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-17T20:19:56.151Z] ---> Running in 4e303a5b22e5 [2023-07-17T20:19:56.151Z] Removing intermediate container 4e303a5b22e5 [2023-07-17T20:19:56.151Z] ---> 05f539359157 [2023-07-17T20:19:56.151Z] Step 23/25 : LABEL arch=arm64 [2023-07-17T20:19:56.151Z] ---> Running in f11e68ecb323 [2023-07-17T20:19:56.151Z] Removing intermediate container f11e68ecb323 [2023-07-17T20:19:56.151Z] ---> b61b2a68bf60 [2023-07-17T20:19:56.151Z] Step 24/25 : LABEL git_sha=b4e3526084261c02fcb95482fc5ecdede031c9c1 [2023-07-17T20:19:56.151Z] ---> Running in 6df86a945261 [2023-07-17T20:19:56.151Z] Removing intermediate container 6df86a945261 [2023-07-17T20:19:56.151Z] ---> a3e77b0c1290 [2023-07-17T20:19:56.151Z] Step 25/25 : LABEL version=0.0.0 [2023-07-17T20:19:56.151Z] ---> Running in 1185d4d636b7 [2023-07-17T20:19:56.416Z] Removing intermediate container 1185d4d636b7 [2023-07-17T20:19:56.416Z] ---> 3e512a8651a0 [2023-07-17T20:19:56.416Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-17T20:19:56.416Z] Successfully built 3e512a8651a0 [2023-07-17T20:19:56.416Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:19:56.887Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-17T20:19:56.887Z] [2023-07-17T20:19:56.887Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:19:57.211Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-17T20:19:57.211Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-17T20:19:57.211Z] 8998bd30e6a1: Pulling fs layer [2023-07-17T20:19:57.211Z] 04944245beec: Pulling fs layer [2023-07-17T20:19:57.211Z] 699f458cf7ca: Pulling fs layer [2023-07-17T20:19:57.211Z] 765212b225bb: Pulling fs layer [2023-07-17T20:19:57.211Z] f23df028b6ca: Pulling fs layer [2023-07-17T20:19:57.211Z] d65c8cfc05b1: Pulling fs layer [2023-07-17T20:19:57.211Z] 2437ff75d9bd: Pulling fs layer [2023-07-17T20:19:57.211Z] 765212b225bb: Waiting [2023-07-17T20:19:57.211Z] f23df028b6ca: Waiting [2023-07-17T20:19:57.211Z] d65c8cfc05b1: Waiting [2023-07-17T20:19:57.211Z] 2437ff75d9bd: Waiting [2023-07-17T20:19:57.479Z] 04944245beec: Verifying Checksum [2023-07-17T20:19:57.479Z] 04944245beec: Download complete [2023-07-17T20:19:57.479Z] 765212b225bb: Verifying Checksum [2023-07-17T20:19:57.479Z] 765212b225bb: Download complete [2023-07-17T20:19:57.479Z] f23df028b6ca: Verifying Checksum [2023-07-17T20:19:57.479Z] f23df028b6ca: Download complete [2023-07-17T20:19:57.479Z] d65c8cfc05b1: Verifying Checksum [2023-07-17T20:19:57.479Z] d65c8cfc05b1: Download complete [2023-07-17T20:19:57.479Z] 699f458cf7ca: Verifying Checksum [2023-07-17T20:19:57.479Z] 699f458cf7ca: Download complete [2023-07-17T20:19:58.062Z] 8998bd30e6a1: Verifying Checksum [2023-07-17T20:19:58.062Z] 8998bd30e6a1: Download complete [2023-07-17T20:20:00.001Z] 2437ff75d9bd: Verifying Checksum [2023-07-17T20:20:00.001Z] 2437ff75d9bd: Download complete [2023-07-17T20:20:01.944Z] 8998bd30e6a1: Pull complete [2023-07-17T20:20:02.210Z] 04944245beec: Pull complete [2023-07-17T20:20:03.616Z] 699f458cf7ca: Pull complete [2023-07-17T20:20:03.616Z] 765212b225bb: Pull complete [2023-07-17T20:20:04.572Z] f23df028b6ca: Pull complete [2023-07-17T20:20:04.572Z] d65c8cfc05b1: Pull complete [2023-07-17T20:20:19.553Z] 2437ff75d9bd: Pull complete [2023-07-17T20:20:19.553Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-17T20:20:19.553Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-17T20:20:19.553Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:20:19.727Z] prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container [2023-07-17T20:20:19.783Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-17T20:20:22.170Z] $ docker top 625eea31c85a73bfb6e1b818cde3f7ceb1c524a99526f89d67b6d8b562bb06de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:22.695Z] ---> job-cost.sh [2023-07-17T20:20:22.964Z] lf-activate-venv: SKIPPING [2023-07-17T20:20:22.964Z] INFO: No Stack... [2023-07-17T20:20:23.228Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-17T20:20:24.180Z] INFO: Archiving Costs [Pipeline] sh [2023-07-17T20:20:24.496Z] + cat /w/workspace/device-uart/6/archives/cost.csv [2023-07-17T20:20:24.496Z] + cut -d, -f6 [Pipeline] lock [2023-07-17T20:20:24.554Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [2023-07-17T20:20:24.564Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] did not exist. Created. [2023-07-17T20:20:24.564Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-17T20:20:24.902Z] /w/workspace/device-uart/6@tmp/durable-fde8ae2b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-17T20:20:25.230Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-17T20:20:25.261Z] Warning: overwriting stash ‘stack-cost’ [2023-07-17T20:20:25.302Z] Stashed 1 file(s) [Pipeline] } [2023-07-17T20:20:25.308Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-17T20:20:25.324Z] $ docker stop --time=1 625eea31c85a73bfb6e1b818cde3f7ceb1c524a99526f89d67b6d8b562bb06de [2023-07-17T20:20:26.797Z] $ docker rm -f --volumes 625eea31c85a73bfb6e1b818cde3f7ceb1c524a99526f89d67b6d8b562bb06de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-17T20:20:27.762Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] [2023-07-17T20:20:27.763Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-17T20:20:27.763Z] total 16 [2023-07-17T20:20:27.763Z] drwxr-xr-x 3 root root 4096 Jul 17 20:12 . [2023-07-17T20:20:27.763Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:12 .. [2023-07-17T20:20:27.763Z] drwxr-xr-x 2 root root 4096 Jul 17 20:12 cost [2023-07-17T20:20:27.763Z] -rw-r--r-- 1 root root 82 Jul 17 20:12 cost.csv [2023-07-17T20:20:27.763Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-17T20:20:27.763Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-17T20:20:27.763Z] total 16 [2023-07-17T20:20:27.763Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 17 20:12 . [2023-07-17T20:20:27.763Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 17 20:12 .. [2023-07-17T20:20:27.763Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 17 20:12 cost [2023-07-17T20:20:27.763Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 17 20:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:28.052Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:28.908Z] ---> package-listing.sh [2023-07-17T20:20:28.908Z] ++ facter osfamily [2023-07-17T20:20:28.908Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-17T20:20:29.167Z] + OS_FAMILY=debian [2023-07-17T20:20:29.167Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-17T20:20:29.167Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-17T20:20:29.167Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-17T20:20:29.167Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-17T20:20:29.167Z] + PACKAGES=/tmp/packages_start.txt [2023-07-17T20:20:29.167Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-17T20:20:29.167Z] + PACKAGES=/tmp/packages_end.txt [2023-07-17T20:20:29.167Z] + case "${OS_FAMILY}" in [2023-07-17T20:20:29.167Z] + dpkg -l [2023-07-17T20:20:29.167Z] + grep '^ii' [2023-07-17T20:20:29.167Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-17T20:20:29.167Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-17T20:20:29.167Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-17T20:20:29.168Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-17T20:20:29.168Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [2023-07-17T20:20:29.168Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [Pipeline] echo [2023-07-17T20:20:29.179Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-17T20:20:29.459Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-17T20:20:30.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-17T20:20:30.020Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-17T20:20:30.093Z] prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container [2023-07-17T20:20:30.127Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-20/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-20 -v /w/workspace/edgexfoundry_device-uart_PR-20:/w/workspace/edgexfoundry_device-uart_PR-20:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-20@tmp:/w/workspace/edgexfoundry_device-uart_PR-20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-17T20:20:30.342Z] $ docker top 9981cf8f2d24b970dab24eb6a097f930c61c441e2fc315963f8bb9587009e78c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-17T20:20:30.690Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-17T20:20:30.977Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-17T20:20:31.263Z] + ls /var/log/sa-host [2023-07-17T20:20:31.263Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-17T20:20:31.417Z] provisioning config files... [2023-07-17T20:20:31.426Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config11682605594177055364tmp [Pipeline] { [Pipeline] echo [2023-07-17T20:20:31.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:31.723Z] ---> create-netrc.sh [Pipeline] } [2023-07-17T20:20:31.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:32.053Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-17T20:20:32.061Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:32.344Z] ---> sudo-logs.sh [2023-07-17T20:20:32.345Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-17T20:20:32.375Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:32.661Z] ---> job-cost.sh [2023-07-17T20:20:32.661Z] lf-activate-venv: SKIPPING [2023-07-17T20:20:32.661Z] DEBUG: total: 0.2199999988079071 [2023-07-17T20:20:32.661Z] INFO: Retrieving Stack Cost... [2023-07-17T20:20:32.922Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-17T20:20:33.489Z] INFO: Archiving Costs [Pipeline] echo [2023-07-17T20:20:33.500Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-17T20:20:33.783Z] ---> logs-deploy.sh [2023-07-17T20:20:33.783Z] lf-activate-venv: SKIPPING [2023-07-17T20:20:33.783Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/6 [2023-07-17T20:20:33.783Z] INFO: archiving workspace using pattern(s): [2023-07-17T20:20:34.722Z] Archives upload complete. [2023-07-17T20:20:34.722Z] INFO: archiving logs to Nexus