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 9d3745f36b82d322dca2405a064a0be74bfd3dac 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-ssh3757351788835810241.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-ssh846723400298472480.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-ssh12101214285977931283.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-ssh17003701011319119749.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-ssh12407935905890059210.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1079’ Running on prd-ubuntu20.04-docker-8c-8g-1081 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 Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 9d3745f36b82d322dca2405a064a0be74bfd3dac > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 9d3745f36b82d322dca2405a064a0be74bfd3dac # timeout=10 Merge succeeded, producing 0f366c175951765fd165778484f94d7710621056 Checking out Revision 0f366c175951765fd165778484f94d7710621056 (PR-20) > 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 0f366c175951765fd165778484f94d7710621056 # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 2146d130465d6cfa9402e903816842cc2a3089ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T17:28:26.763Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T17:28:26.821Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T17:28:26.838Z] ========================================================= [2023-07-13T17:28:26.838Z] EdgeX Global Pipelines Version Info [2023-07-13T17:28:26.838Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:28:27.565Z] ------------------- [2023-07-13T17:28:27.565Z] stable info: [2023-07-13T17:28:27.565Z] ------------------- [2023-07-13T17:28:27.565Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T17:28:27.565Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T17:28:27.565Z] Message: update stable to v1.0.250 [2023-07-13T17:28:28.136Z] ------------------- [2023-07-13T17:28:28.136Z] experimental info: [2023-07-13T17:28:28.136Z] ------------------- [2023-07-13T17:28:28.136Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T17:28:28.136Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T17:28:28.136Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T17:28:28.343Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-13T17:28:28.360Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-13T17:28:28.374Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T17:28:28.433Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T17:28:28.445Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T17:28:28.458Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T17:28:28.473Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T17:28:28.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-13T17:28:28.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T17:28:28.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T17:28:28.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T17:28:28.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-13T17:28:28.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T17:28:28.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T17:28:28.607Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T17:28:28.625Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T17:28:28.637Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T17:28:28.646Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T17:28:28.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T17:28:28.663Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T17:28:28.671Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-13T17:28:28.680Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-13T17:28:28.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T17:28:28.702Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T17:28:28.719Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T17:28:28.735Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T17:28:28.750Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T17:28:28.767Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo [2023-07-13T17:28:28.781Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo [2023-07-13T17:28:28.796Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo [2023-07-13T17:28:28.809Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0f366c175951765fd165778484f94d7710621056 [Pipeline] echo [2023-07-13T17:28:28.822Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0f366c1 [Pipeline] echo [2023-07-13T17:28:28.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T17:28:28.877Z] provisioning config files... [2023-07-13T17:28:28.891Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config11799702274585126936tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:28:29.198Z] ---> docker-login.sh [2023-07-13T17:28:29.198Z] nexus3.edgexfoundry.org:10001 [2023-07-13T17:28:29.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:29.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:29.459Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:29.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:29.459Z] [2023-07-13T17:28:29.459Z] Login Succeeded [2023-07-13T17:28:29.459Z] nexus3.edgexfoundry.org:10002 [2023-07-13T17:28:29.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:29.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:29.722Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:29.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:29.722Z] [2023-07-13T17:28:29.722Z] Login Succeeded [2023-07-13T17:28:29.722Z] nexus3.edgexfoundry.org:10003 [2023-07-13T17:28:29.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:29.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:29.722Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:29.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:29.722Z] [2023-07-13T17:28:29.722Z] Login Succeeded [2023-07-13T17:28:29.722Z] nexus3.edgexfoundry.org:10004 [2023-07-13T17:28:29.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:29.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:29.984Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:29.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:29.984Z] [2023-07-13T17:28:29.984Z] Login Succeeded [2023-07-13T17:28:29.984Z] docker.io [2023-07-13T17:28:29.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:30.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:30.244Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:30.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:30.245Z] [2023-07-13T17:28:30.245Z] Login Succeeded [2023-07-13T17:28:30.245Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T17:28:30.252Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T17:28:30.633Z] + git rev-list -1 --merges 0f366c175951765fd165778484f94d7710621056~1..0f366c175951765fd165778484f94d7710621056 [Pipeline] echo [2023-07-13T17:28:30.678Z] -----------> git rev-list -1 --merges 0f366c175951765fd165778484f94d7710621056~1..0f366c175951765fd165778484f94d7710621056 0f366c175951765fd165778484f94d7710621056 [2023-07-13T17:28:30.678Z] 0f366c175951765fd165778484f94d7710621056 [false] [Pipeline] sh [2023-07-13T17:28:30.964Z] + git log --format=format:%s -1 0f366c175951765fd165778484f94d7710621056 [Pipeline] echo [2023-07-13T17:28:30.979Z] ========================================================= [2023-07-13T17:28:30.979Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T17:28:30.979Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T17:28:31.324Z] + git log --format=format:%s -1 0f366c175951765fd165778484f94d7710621056 [Pipeline] echo [2023-07-13T17:28:31.336Z] [semverPrep] GIT_COMMIT: 0f366c175951765fd165778484f94d7710621056, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo [2023-07-13T17:28:31.349Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T17:28:31.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T17:28:31.702Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T17:28:31.702Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T17:28:31.702Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T17:28:31.702Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T17:28:31.702Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T17:28:31.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:28:32.054Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T17:28:32.054Z] [2023-07-13T17:28:32.054Z] 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-13T17:28:32.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T17:28:32.357Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T17:28:32.357Z] b85a868b505f: Pulling fs layer [2023-07-13T17:28:32.357Z] e2be974225ed: Pulling fs layer [2023-07-13T17:28:32.357Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T17:28:32.357Z] 988bab9f4d93: Pulling fs layer [2023-07-13T17:28:32.357Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T17:28:32.357Z] eaf3925da568: Pulling fs layer [2023-07-13T17:28:32.357Z] bab4dde63d76: Pulling fs layer [2023-07-13T17:28:32.357Z] bde34c3a00c8: Pulling fs layer [2023-07-13T17:28:32.357Z] b352a97aabf1: Pulling fs layer [2023-07-13T17:28:32.357Z] 4872d77fe225: Pulling fs layer [2023-07-13T17:28:32.357Z] 5851b861e8e6: Pulling fs layer [2023-07-13T17:28:32.357Z] bab4dde63d76: Waiting [2023-07-13T17:28:32.357Z] bde34c3a00c8: Waiting [2023-07-13T17:28:32.357Z] b352a97aabf1: Waiting [2023-07-13T17:28:32.357Z] 4872d77fe225: Waiting [2023-07-13T17:28:32.357Z] 5851b861e8e6: Waiting [2023-07-13T17:28:32.357Z] 988bab9f4d93: Waiting [2023-07-13T17:28:32.357Z] 1469e6f7b9e6: Waiting [2023-07-13T17:28:32.357Z] eaf3925da568: Waiting [2023-07-13T17:28:32.357Z] e2be974225ed: Verifying Checksum [2023-07-13T17:28:32.357Z] e2be974225ed: Download complete [2023-07-13T17:28:32.357Z] 988bab9f4d93: Verifying Checksum [2023-07-13T17:28:32.357Z] 988bab9f4d93: Download complete [2023-07-13T17:28:32.617Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T17:28:32.618Z] 339a4e72a1f5: Download complete [2023-07-13T17:28:32.618Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T17:28:32.618Z] 1469e6f7b9e6: Download complete [2023-07-13T17:28:32.618Z] eaf3925da568: Verifying Checksum [2023-07-13T17:28:32.618Z] eaf3925da568: Download complete [2023-07-13T17:28:32.618Z] bde34c3a00c8: Verifying Checksum [2023-07-13T17:28:32.618Z] bde34c3a00c8: Download complete [2023-07-13T17:28:32.618Z] b352a97aabf1: Verifying Checksum [2023-07-13T17:28:32.618Z] b352a97aabf1: Download complete [2023-07-13T17:28:32.618Z] 4872d77fe225: Download complete [2023-07-13T17:28:32.618Z] 5851b861e8e6: Verifying Checksum [2023-07-13T17:28:32.618Z] 5851b861e8e6: Download complete [2023-07-13T17:28:32.618Z] b85a868b505f: Verifying Checksum [2023-07-13T17:28:32.618Z] b85a868b505f: Download complete [2023-07-13T17:28:32.876Z] bab4dde63d76: Verifying Checksum [2023-07-13T17:28:32.876Z] bab4dde63d76: Download complete [2023-07-13T17:28:33.813Z] b85a868b505f: Pull complete [2023-07-13T17:28:33.813Z] e2be974225ed: Pull complete [2023-07-13T17:28:34.379Z] 339a4e72a1f5: Pull complete [2023-07-13T17:28:34.379Z] 988bab9f4d93: Pull complete [2023-07-13T17:28:34.637Z] 1469e6f7b9e6: Pull complete [2023-07-13T17:28:34.637Z] eaf3925da568: Pull complete [2023-07-13T17:28:36.544Z] bab4dde63d76: Pull complete [2023-07-13T17:28:36.544Z] bde34c3a00c8: Pull complete [2023-07-13T17:28:36.544Z] b352a97aabf1: Pull complete [2023-07-13T17:28:36.544Z] 4872d77fe225: Pull complete [2023-07-13T17:28:36.544Z] 5851b861e8e6: Pull complete [2023-07-13T17:28:36.544Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T17:28:36.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T17:28:36.544Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:28:36.638Z] prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container [2023-07-13T17:28:36.677Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-13T17:28:38.482Z] $ docker top 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc -eo pid,comm [2023-07-13T17:28:38.529Z] 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-13T17:28:38.529Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T17:28:38.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T17:28:38.566Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T17:28:38.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T17:28:38.680Z] $ docker exec 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent [2023-07-13T17:28:38.771Z] SSH_AUTH_SOCK=/tmp/ssh-BNhzDzXgPtw8/agent.32 [2023-07-13T17:28:38.771Z] SSH_AGENT_PID=38 [2023-07-13T17:28:38.778Z] Running ssh-add (command line suppressed) [2023-07-13T17:28:38.867Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_1870274077472934796.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_1870274077472934796.key) [2023-07-13T17:28:38.874Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T17:28:39.161Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T17:28:39.188Z] $ docker exec --env ******** --env ******** 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent -k [2023-07-13T17:28:39.274Z] unset SSH_AUTH_SOCK; [2023-07-13T17:28:39.274Z] unset SSH_AGENT_PID; [2023-07-13T17:28:39.274Z] echo Agent pid 38 killed; [2023-07-13T17:28:39.279Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T17:28:39.305Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T17:28:39.305Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T17:28:39.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T17:28:39.414Z] $ docker exec 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent [2023-07-13T17:28:39.516Z] SSH_AUTH_SOCK=/tmp/ssh-4s6BAsswRiqM/agent.69 [2023-07-13T17:28:39.516Z] SSH_AGENT_PID=75 [2023-07-13T17:28:39.520Z] Running ssh-add (command line suppressed) [2023-07-13T17:28:39.616Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_4534988232353068526.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_4534988232353068526.key) [2023-07-13T17:28:39.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T17:28:39.909Z] + git semver init [2023-07-13T17:28:40.167Z] 2023-07-13 17:28:40,073 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T17:28:40.167Z] 2023-07-13 17:28:40,074 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T17:28:40.168Z] 2023-07-13 17:28:40,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T17:28:40.168Z] 2023-07-13 17:28:40,074 [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-13T17:28:41.107Z] 2023-07-13 17:28:40,913 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude [2023-07-13T17:28:41.107Z] 2023-07-13 17:28:40,914 [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-13T17:28:41.107Z] 2023-07-13 17:28:40,914 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T17:28:41.107Z] 2023-07-13 17:28:40,919 [execute] INFO git cat-file --batch-check [2023-07-13T17:28:41.107Z] 2023-07-13 17:28:40,919 [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-13T17:28:41.107Z] 2023-07-13 17:28:40,926 [execute] INFO git cat-file --batch [2023-07-13T17:28:41.107Z] 2023-07-13 17:28:40,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T17:28:41.107Z] 2023-07-13 17:28:40,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T17:28:41.107Z] 0.0.0 [Pipeline] } [2023-07-13T17:28:41.122Z] $ docker exec --env ******** --env ******** 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc ssh-agent -k [2023-07-13T17:28:41.230Z] unset SSH_AUTH_SOCK; [2023-07-13T17:28:41.231Z] unset SSH_AGENT_PID; [2023-07-13T17:28:41.231Z] echo Agent pid 75 killed; [2023-07-13T17:28:41.239Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T17:28:41.544Z] + git semver [Pipeline] } [2023-07-13T17:28:41.820Z] $ docker stop --time=1 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc [2023-07-13T17:28:43.114Z] $ docker rm -f --volumes 7e816748b022a62f46f063e5930c5485dcf2f0cfe48b07a99f36ea3a70519ddc [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T17:28:43.446Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T17:28:43.643Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T17:28:43.645Z] [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-13T17:28:43.782Z] provisioning config files... [2023-07-13T17:28:43.794Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3838363070703119082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:28:44.087Z] ---> docker-login.sh [2023-07-13T17:28:44.088Z] nexus3.edgexfoundry.org:10001 [2023-07-13T17:28:44.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:44.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:44.088Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:44.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:44.088Z] [2023-07-13T17:28:44.088Z] Login Succeeded [2023-07-13T17:28:44.088Z] nexus3.edgexfoundry.org:10002 [2023-07-13T17:28:44.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:44.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:44.088Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:44.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:44.088Z] [2023-07-13T17:28:44.088Z] Login Succeeded [2023-07-13T17:28:44.088Z] nexus3.edgexfoundry.org:10003 [2023-07-13T17:28:44.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:44.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:44.347Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:44.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:44.347Z] [2023-07-13T17:28:44.347Z] Login Succeeded [2023-07-13T17:28:44.348Z] nexus3.edgexfoundry.org:10004 [2023-07-13T17:28:44.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:44.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:44.348Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:44.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:44.348Z] [2023-07-13T17:28:44.348Z] Login Succeeded [2023-07-13T17:28:44.348Z] docker.io [2023-07-13T17:28:44.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:28:44.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:28:44.607Z] Configure a credential helper to remove this warning. See [2023-07-13T17:28:44.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:28:44.607Z] [2023-07-13T17:28:44.607Z] Login Succeeded [2023-07-13T17:28:44.607Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T17:28:44.614Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T17:28:44.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T17:28:44.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T17:28:44.702Z] ========================================================= [2023-07-13T17:28:44.702Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T17:28:44.702Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:28:45.002Z] + 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-13T17:28:45.002Z] Sending build context to Docker daemon 11.1MB [2023-07-13T17:28:45.002Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T17:28:45.002Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T17:28:45.002Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T17:28:45.002Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T17:28:45.002Z] 6911f1a30b25: Pulling fs layer [2023-07-13T17:28:45.002Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T17:28:45.002Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T17:28:45.002Z] ec0bb842ea78: Pulling fs layer [2023-07-13T17:28:45.002Z] 40a00589a448: Pulling fs layer [2023-07-13T17:28:45.002Z] 6c08303d61cc: Pulling fs layer [2023-07-13T17:28:45.002Z] 798269fcf238: Pulling fs layer [2023-07-13T17:28:45.003Z] ec0bb842ea78: Waiting [2023-07-13T17:28:45.003Z] 40a00589a448: Waiting [2023-07-13T17:28:45.003Z] 6c08303d61cc: Waiting [2023-07-13T17:28:45.003Z] 798269fcf238: Waiting [2023-07-13T17:28:45.003Z] 6863d3e3a2b1: Waiting [2023-07-13T17:28:45.003Z] 6911f1a30b25: Download complete [2023-07-13T17:28:45.003Z] 6863d3e3a2b1: Download complete [2023-07-13T17:28:45.003Z] ec0bb842ea78: Download complete [2023-07-13T17:28:45.261Z] 4db1b89c0bd1: Verifying Checksum [2023-07-13T17:28:45.261Z] 4db1b89c0bd1: Download complete [2023-07-13T17:28:45.261Z] 40a00589a448: Verifying Checksum [2023-07-13T17:28:45.261Z] 40a00589a448: Download complete [2023-07-13T17:28:45.261Z] 4db1b89c0bd1: Pull complete [2023-07-13T17:28:45.523Z] 6911f1a30b25: Pull complete [2023-07-13T17:28:45.523Z] 798269fcf238: Verifying Checksum [2023-07-13T17:28:45.523Z] 798269fcf238: Download complete [2023-07-13T17:28:45.782Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T17:28:45.782Z] e194b8c5c2a9: Download complete [2023-07-13T17:28:46.040Z] 6c08303d61cc: Verifying Checksum [2023-07-13T17:28:46.040Z] 6c08303d61cc: Download complete [2023-07-13T17:28:48.569Z] e194b8c5c2a9: Pull complete [2023-07-13T17:28:48.569Z] 6863d3e3a2b1: Pull complete [2023-07-13T17:28:48.828Z] ec0bb842ea78: Pull complete [2023-07-13T17:28:48.828Z] 40a00589a448: Pull complete [2023-07-13T17:28:51.357Z] 6c08303d61cc: Pull complete [2023-07-13T17:28:51.922Z] 798269fcf238: Pull complete [2023-07-13T17:28:51.922Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T17:28:51.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T17:28:51.922Z] ---> ec979cd7f677 [2023-07-13T17:28:51.922Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T17:28:55.357Z] ---> Running in ba7afc3ce213 [2023-07-13T17:28:55.357Z] Removing intermediate container ba7afc3ce213 [2023-07-13T17:28:55.357Z] ---> 6f13afdf8170 [2023-07-13T17:28:55.357Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T17:28:55.357Z] ---> Running in df7bf68a1fe9 [2023-07-13T17:28:55.357Z] Removing intermediate container df7bf68a1fe9 [2023-07-13T17:28:55.357Z] ---> 05fb3d630e29 [2023-07-13T17:28:55.357Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T17:28:55.357Z] ---> Running in a2eac9313508 [2023-07-13T17:28:55.357Z] Removing intermediate container a2eac9313508 [2023-07-13T17:28:55.357Z] ---> d511ce0cfcac [2023-07-13T17:28:55.357Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T17:28:55.357Z] ---> Running in d92d4f9e7817 [2023-07-13T17:28:55.357Z] Removing intermediate container d92d4f9e7817 [2023-07-13T17:28:55.357Z] ---> a85ce213ed95 [2023-07-13T17:28:55.357Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T17:28:55.357Z] ---> Running in 9b914aaaf4b8 [2023-07-13T17:28:55.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T17:28:55.617Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T17:28:55.877Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T17:28:56.137Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T17:28:56.137Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T17:28:56.137Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T17:28:56.137Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T17:28:56.137Z] OK: 269 MiB in 57 packages [2023-07-13T17:28:56.394Z] Removing intermediate container 9b914aaaf4b8 [2023-07-13T17:28:56.394Z] ---> d21c58b6aee7 [2023-07-13T17:28:56.394Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T17:28:56.653Z] ---> 4f4ce801ed17 [2023-07-13T17:28:56.653Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T17:28:56.653Z] ---> Running in 3a69856d5333 [2023-07-13T17:28:58.744Z] Still waiting to schedule task [2023-07-13T17:28:58.745Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1080’ [2023-07-13T17:29:18.582Z] Removing intermediate container 3a69856d5333 [2023-07-13T17:29:18.582Z] ---> 65dd1b1f0f03 [2023-07-13T17:29:18.582Z] Step 10/12 : COPY . . [2023-07-13T17:29:18.582Z] ---> a422d007d932 [2023-07-13T17:29:18.582Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T17:29:18.582Z] ---> Running in 01f67d71f827 [2023-07-13T17:29:18.582Z] Removing intermediate container 01f67d71f827 [2023-07-13T17:29:18.582Z] ---> a20ba35c8069 [2023-07-13T17:29:18.582Z] Step 12/12 : RUN ${MAKE} [2023-07-13T17:29:18.582Z] ---> Running in 09c65e8fb284 [2023-07-13T17:29:18.582Z] noop [2023-07-13T17:29:18.582Z] Removing intermediate container 09c65e8fb284 [2023-07-13T17:29:18.582Z] ---> 4a433950903c [2023-07-13T17:29:18.582Z] Successfully built 4a433950903c [2023-07-13T17:29:18.582Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:29:18.882Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T17:29:18.882Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:29:18.949Z] prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container [2023-07-13T17:29:18.978Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-13T17:29:19.291Z] $ docker top 88b61ed40fe678e799991d66565c8fc659253e227bd1211d700dc5816c495a6c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T17:29:19.619Z] + go version [2023-07-13T17:29:19.619Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T17:29:19.632Z] $ docker stop --time=1 88b61ed40fe678e799991d66565c8fc659253e227bd1211d700dc5816c495a6c [2023-07-13T17:29:20.902Z] $ docker rm -f --volumes 88b61ed40fe678e799991d66565c8fc659253e227bd1211d700dc5816c495a6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:29:21.311Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T17:29:21.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:29:21.385Z] prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container [2023-07-13T17:29:21.418Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-13T17:29:21.731Z] $ docker top efa498fd31f6d1f584f88cebfe3505de9f93a03e2f15fafe05bf420b0d21fe39 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T17:29:22.071Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh [2023-07-13T17:29:22.366Z] + make test [2023-07-13T17:29:22.366Z] go test ./... -coverprofile=coverage.out [2023-07-13T17:29:26.548Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T17:29:33.106Z] # github.com/edgexfoundry/device-uart/internal/driver [2023-07-13T17:29:33.106Z] internal/driver/driver.go:212:19: too many return values [2023-07-13T17:29:33.106Z] have (nil, error) [2023-07-13T17:29:33.106Z] want (error) [2023-07-13T17:29:35.004Z] FAIL [2023-07-13T17:29:35.004Z] make: *** [Makefile:26: unittest] Error 1 [Pipeline] } [2023-07-13T17:29:35.018Z] $ docker stop --time=1 efa498fd31f6d1f584f88cebfe3505de9f93a03e2f15fafe05bf420b0d21fe39 [2023-07-13T17:29:37.420Z] $ docker rm -f --volumes efa498fd31f6d1f584f88cebfe3505de9f93a03e2f15fafe05bf420b0d21fe39 [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-13T17:29:37.952Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T17:29:37.952Z] [2023-07-13T17:29:37.952Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:29:38.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T17:29:38.246Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T17:29:38.246Z] 5eb5b503b376: Pulling fs layer [2023-07-13T17:29:38.246Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T17:29:38.246Z] ec43610c2a17: Pulling fs layer [2023-07-13T17:29:38.246Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T17:29:38.246Z] 33b1e0a273af: Pulling fs layer [2023-07-13T17:29:38.246Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T17:29:38.246Z] 2f39f015ded8: Pulling fs layer [2023-07-13T17:29:38.246Z] 33b1e0a273af: Waiting [2023-07-13T17:29:38.246Z] 5d3b04190fa2: Waiting [2023-07-13T17:29:38.246Z] 2f39f015ded8: Waiting [2023-07-13T17:29:38.246Z] 3a2ae6a8a46f: Waiting [2023-07-13T17:29:38.246Z] 5c69ac0246d0: Verifying Checksum [2023-07-13T17:29:38.246Z] 5c69ac0246d0: Download complete [2023-07-13T17:29:38.246Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T17:29:38.246Z] 3a2ae6a8a46f: Download complete [2023-07-13T17:29:38.246Z] 33b1e0a273af: Verifying Checksum [2023-07-13T17:29:38.246Z] 33b1e0a273af: Download complete [2023-07-13T17:29:38.246Z] ec43610c2a17: Verifying Checksum [2023-07-13T17:29:38.246Z] ec43610c2a17: Download complete [2023-07-13T17:29:38.246Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T17:29:38.246Z] 5d3b04190fa2: Download complete [2023-07-13T17:29:38.504Z] 5eb5b503b376: Verifying Checksum [2023-07-13T17:29:38.504Z] 5eb5b503b376: Download complete [2023-07-13T17:29:39.069Z] 2f39f015ded8: Verifying Checksum [2023-07-13T17:29:39.069Z] 2f39f015ded8: Download complete [2023-07-13T17:29:39.635Z] 5eb5b503b376: Pull complete [2023-07-13T17:29:39.635Z] 5c69ac0246d0: Pull complete [2023-07-13T17:29:39.893Z] ec43610c2a17: Pull complete [2023-07-13T17:29:39.893Z] 3a2ae6a8a46f: Pull complete [2023-07-13T17:29:40.150Z] 33b1e0a273af: Pull complete [2023-07-13T17:29:40.150Z] 5d3b04190fa2: Pull complete [2023-07-13T17:29:44.335Z] 2f39f015ded8: Pull complete [2023-07-13T17:29:44.335Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T17:29:44.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T17:29:44.335Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:29:44.408Z] prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container [2023-07-13T17:29:44.435Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T17:29:46.698Z] $ docker top ec0cc82dafd1261f24eddbf05017fd17fb9728b71ef9a539a5dcfc4dad9b7b3d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:29:47.087Z] ---> job-cost.sh [2023-07-13T17:29:47.087Z] lf-activate-venv: SKIPPING [2023-07-13T17:29:47.087Z] INFO: No Stack... [2023-07-13T17:29:47.655Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T17:29:47.914Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T17:29:48.204Z] + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv [2023-07-13T17:29:48.204Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T17:29:48.217Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [2023-07-13T17:29:48.226Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] did not exist. Created. [2023-07-13T17:29:48.226Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T17:29:48.531Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T17:29:48.571Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T17:29:48.578Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T17:29:48.598Z] $ docker stop --time=1 ec0cc82dafd1261f24eddbf05017fd17fb9728b71ef9a539a5dcfc4dad9b7b3d [2023-07-13T17:29:49.736Z] $ docker rm -f --volumes ec0cc82dafd1261f24eddbf05017fd17fb9728b71ef9a539a5dcfc4dad9b7b3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T17:29:49.828Z] Failed in branch amd64 [2023-07-13T17:32:29.132Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1082 in /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] { [Pipeline] ws [2023-07-13T17:32:29.146Z] Running in /w/workspace/device-uart/4 [Pipeline] { [Pipeline] checkout [2023-07-13T17:32:29.186Z] The recommended git tool is: git [2023-07-13T17:32:34.108Z] using credential edgex-jenkins-ssh [2023-07-13T17:32:34.128Z] Cloning the remote Git repository [2023-07-13T17:32:34.164Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-13T17:32:34.255Z] > git init /w/workspace/device-uart/4 # timeout=10 [2023-07-13T17:32:34.394Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T17:32:34.394Z] > git --version # timeout=10 [2023-07-13T17:32:34.414Z] > git --version # 'git version 2.25.1' [2023-07-13T17:32:34.416Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T17:32:34.560Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T17:32:35.619Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T17:32:35.646Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T17:32:36.482Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T17:32:36.527Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T17:32:36.527Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T17:32:36.545Z] > 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-13T17:32:37.069Z] Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 9d3745f36b82d322dca2405a064a0be74bfd3dac [2023-07-13T17:32:37.382Z] Merge succeeded, producing fea352f855c980cdcdb57b25457106bca20e69bf [2023-07-13T17:32:37.383Z] Checking out Revision fea352f855c980cdcdb57b25457106bca20e69bf (PR-20) [2023-07-13T17:32:37.085Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T17:32:37.171Z] > git checkout -f 9d3745f36b82d322dca2405a064a0be74bfd3dac # timeout=10 [2023-07-13T17:32:37.248Z] > git remote # timeout=10 [2023-07-13T17:32:37.268Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T17:32:37.298Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T17:32:37.311Z] > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [2023-07-13T17:32:37.363Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T17:32:37.388Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T17:32:37.405Z] > git checkout -f fea352f855c980cdcdb57b25457106bca20e69bf # timeout=10 [2023-07-13T17:32:40.890Z] Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" [2023-07-13T17:32:40.915Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T17:32:41.868Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T17:32:41.868Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T17:32:41.868Z] Dload Upload Total Spent Left Speed [2023-07-13T17:32:41.868Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-07-13T17:32:40.897Z] > git rev-list --no-walk 2146d130465d6cfa9402e903816842cc2a3089ba # timeout=10 [2023-07-13T17:32:42.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T17:32:42.832Z] + sudo tee /etc/docker/daemon.new [2023-07-13T17:32:42.833Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T17:32:42.833Z] { [2023-07-13T17:32:42.833Z] "registry-mirrors": [ [2023-07-13T17:32:42.833Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T17:32:42.833Z] ], [2023-07-13T17:32:42.833Z] "bip": "10.250.0.254/24", [2023-07-13T17:32:42.833Z] "hosts": [ [2023-07-13T17:32:42.833Z] "tcp://0.0.0.0:5555", [2023-07-13T17:32:42.833Z] "unix:///var/run/docker.sock" [2023-07-13T17:32:42.833Z] ], [2023-07-13T17:32:42.833Z] "mtu": 1458, [2023-07-13T17:32:42.833Z] "selinux-enabled": true, [2023-07-13T17:32:42.833Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T17:32:42.833Z] } [Pipeline] sh [2023-07-13T17:32:43.157Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T17:32:43.477Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T17:33:01.717Z] provisioning config files... [2023-07-13T17:33:01.746Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/4@tmp/config6640734669320330175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:33:02.100Z] ---> docker-login.sh [2023-07-13T17:33:02.100Z] nexus3.edgexfoundry.org:10001 [2023-07-13T17:33:02.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:33:02.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:33:02.642Z] Configure a credential helper to remove this warning. See [2023-07-13T17:33:02.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:33:02.642Z] [2023-07-13T17:33:02.642Z] Login Succeeded [2023-07-13T17:33:02.642Z] nexus3.edgexfoundry.org:10002 [2023-07-13T17:33:02.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:33:03.183Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:33:03.183Z] Configure a credential helper to remove this warning. See [2023-07-13T17:33:03.183Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:33:03.183Z] [2023-07-13T17:33:03.183Z] Login Succeeded [2023-07-13T17:33:03.183Z] nexus3.edgexfoundry.org:10003 [2023-07-13T17:33:03.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:33:03.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:33:03.454Z] Configure a credential helper to remove this warning. See [2023-07-13T17:33:03.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:33:03.454Z] [2023-07-13T17:33:03.454Z] Login Succeeded [2023-07-13T17:33:03.454Z] nexus3.edgexfoundry.org:10004 [2023-07-13T17:33:03.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:33:03.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:33:03.723Z] Configure a credential helper to remove this warning. See [2023-07-13T17:33:03.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:33:03.723Z] [2023-07-13T17:33:03.723Z] Login Succeeded [2023-07-13T17:33:03.723Z] docker.io [2023-07-13T17:33:03.993Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T17:33:04.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T17:33:04.263Z] Configure a credential helper to remove this warning. See [2023-07-13T17:33:04.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T17:33:04.263Z] [2023-07-13T17:33:04.263Z] Login Succeeded [2023-07-13T17:33:04.263Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T17:33:04.278Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T17:33:04.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T17:33:04.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T17:33:04.555Z] ========================================================= [2023-07-13T17:33:04.555Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T17:33:04.555Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:33:04.906Z] + 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-13T17:33:05.178Z] Sending build context to Docker daemon 5.599MB [2023-07-13T17:33:05.178Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T17:33:05.178Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T17:33:05.450Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T17:33:05.450Z] edb6bdbacee9: Pulling fs layer [2023-07-13T17:33:05.450Z] 5f9638ab2659: Pulling fs layer [2023-07-13T17:33:05.450Z] 8d51d6327a98: Pulling fs layer [2023-07-13T17:33:05.450Z] 8b374f2dd631: Pulling fs layer [2023-07-13T17:33:05.450Z] ec14aa9079de: Pulling fs layer [2023-07-13T17:33:05.450Z] 2f466654f4bb: Pulling fs layer [2023-07-13T17:33:05.450Z] 554e91adad29: Pulling fs layer [2023-07-13T17:33:05.450Z] ec14aa9079de: Waiting [2023-07-13T17:33:05.450Z] 2f466654f4bb: Waiting [2023-07-13T17:33:05.450Z] 554e91adad29: Waiting [2023-07-13T17:33:05.450Z] 8b374f2dd631: Waiting [2023-07-13T17:33:05.450Z] 5f9638ab2659: Verifying Checksum [2023-07-13T17:33:05.450Z] 5f9638ab2659: Download complete [2023-07-13T17:33:05.450Z] 8b374f2dd631: Verifying Checksum [2023-07-13T17:33:05.450Z] 8b374f2dd631: Download complete [2023-07-13T17:33:05.450Z] ec14aa9079de: Verifying Checksum [2023-07-13T17:33:05.450Z] ec14aa9079de: Download complete [2023-07-13T17:33:05.450Z] edb6bdbacee9: Verifying Checksum [2023-07-13T17:33:05.450Z] edb6bdbacee9: Download complete [2023-07-13T17:33:06.907Z] edb6bdbacee9: Pull complete [2023-07-13T17:33:06.907Z] 554e91adad29: Verifying Checksum [2023-07-13T17:33:06.907Z] 554e91adad29: Download complete [2023-07-13T17:33:07.493Z] 5f9638ab2659: Pull complete [2023-07-13T17:33:08.083Z] 2f466654f4bb: Verifying Checksum [2023-07-13T17:33:08.083Z] 2f466654f4bb: Download complete [2023-07-13T17:33:08.351Z] 8d51d6327a98: Download complete [2023-07-13T17:33:20.705Z] 8d51d6327a98: Pull complete [2023-07-13T17:33:20.705Z] 8b374f2dd631: Pull complete [2023-07-13T17:33:20.705Z] ec14aa9079de: Pull complete [2023-07-13T17:33:27.361Z] 2f466654f4bb: Pull complete [2023-07-13T17:33:29.333Z] 554e91adad29: Pull complete [2023-07-13T17:33:29.333Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T17:33:29.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T17:33:29.333Z] ---> 1e15ea492957 [2023-07-13T17:33:29.333Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T17:33:31.287Z] ---> Running in a1cb4bffa348 [2023-07-13T17:33:31.287Z] Removing intermediate container a1cb4bffa348 [2023-07-13T17:33:31.287Z] ---> 00026b62df06 [2023-07-13T17:33:31.287Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T17:33:31.559Z] ---> Running in e46eb8a4eb68 [2023-07-13T17:33:31.829Z] Removing intermediate container e46eb8a4eb68 [2023-07-13T17:33:31.829Z] ---> 183ccd944af7 [2023-07-13T17:33:31.829Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T17:33:31.829Z] ---> Running in a028e230f867 [2023-07-13T17:33:32.100Z] Removing intermediate container a028e230f867 [2023-07-13T17:33:32.100Z] ---> a2f8400c4792 [2023-07-13T17:33:32.100Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T17:33:32.372Z] ---> Running in 9cb9c254861f [2023-07-13T17:33:32.644Z] Removing intermediate container 9cb9c254861f [2023-07-13T17:33:32.644Z] ---> 8a34450e42ae [2023-07-13T17:33:32.644Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T17:33:32.644Z] ---> Running in c0fb6533cb27 [2023-07-13T17:33:34.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T17:33:34.333Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T17:33:35.299Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T17:33:35.299Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T17:33:35.299Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T17:33:35.568Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T17:33:35.568Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T17:33:35.568Z] OK: 268 MiB in 57 packages [2023-07-13T17:33:36.528Z] Removing intermediate container c0fb6533cb27 [2023-07-13T17:33:36.528Z] ---> 6be6e1071481 [2023-07-13T17:33:36.528Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T17:33:37.113Z] ---> c184bd4d60ee [2023-07-13T17:33:37.113Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T17:33:37.113Z] ---> Running in b61820f12356 [2023-07-13T17:34:44.985Z] Removing intermediate container b61820f12356 [2023-07-13T17:34:44.985Z] ---> e78739af1baa [2023-07-13T17:34:44.985Z] Step 10/12 : COPY . . [2023-07-13T17:34:44.985Z] ---> f67643a57777 [2023-07-13T17:34:44.985Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T17:34:44.985Z] ---> Running in 7b2de40cb11d [2023-07-13T17:34:44.985Z] Removing intermediate container 7b2de40cb11d [2023-07-13T17:34:44.985Z] ---> c2f36b38427d [2023-07-13T17:34:44.985Z] Step 12/12 : RUN ${MAKE} [2023-07-13T17:34:44.985Z] ---> Running in ca8de549e174 [2023-07-13T17:34:44.985Z] noop [2023-07-13T17:34:44.985Z] Removing intermediate container ca8de549e174 [2023-07-13T17:34:44.985Z] ---> a27a33cf4ace [2023-07-13T17:34:44.985Z] Successfully built a27a33cf4ace [2023-07-13T17:34:44.985Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:34:45.334Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T17:34:45.334Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:34:45.529Z] prd-ubuntu20.04-docker-arm64-4c-16g-1082 does not seem to be running inside a container [2023-07-13T17:34:45.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T17:34:46.730Z] $ docker top 72e3f7630290c251421ecc11d8374d467442c2251746eec03c500af20ee3a145 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T17:34:47.566Z] + go version [2023-07-13T17:34:47.566Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T17:34:47.591Z] $ docker stop --time=1 72e3f7630290c251421ecc11d8374d467442c2251746eec03c500af20ee3a145 [2023-07-13T17:34:49.197Z] $ docker rm -f --volumes 72e3f7630290c251421ecc11d8374d467442c2251746eec03c500af20ee3a145 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:34:49.699Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T17:34:49.699Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:34:49.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-1082 does not seem to be running inside a container [2023-07-13T17:34:49.932Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-07-13T17:34:51.024Z] $ docker top f90defe5c8b8c33591eff4c7098138b8c44bc236a0f6e596258813cabb3f03de -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T17:34:51.520Z] + git config --global --add safe.directory /w/workspace/device-uart/4 [Pipeline] fileExists [Pipeline] sh [2023-07-13T17:34:52.114Z] + make test [2023-07-13T17:34:52.114Z] go test ./... -coverprofile=coverage.out [2023-07-13T17:35:24.346Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T17:36:20.726Z] # github.com/edgexfoundry/device-uart/internal/driver [2023-07-13T17:36:20.726Z] internal/driver/driver.go:212:19: too many return values [2023-07-13T17:36:20.726Z] have (nil, error) [2023-07-13T17:36:20.726Z] want (error) [2023-07-13T17:36:59.594Z] FAIL [2023-07-13T17:36:59.594Z] make: *** [Makefile:26: unittest] Error 1 [Pipeline] } [2023-07-13T17:36:59.621Z] $ docker stop --time=1 f90defe5c8b8c33591eff4c7098138b8c44bc236a0f6e596258813cabb3f03de [2023-07-13T17:37:04.275Z] $ docker rm -f --volumes f90defe5c8b8c33591eff4c7098138b8c44bc236a0f6e596258813cabb3f03de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:37:05.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T17:37:05.460Z] [2023-07-13T17:37:05.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:37:05.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T17:37:06.061Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T17:37:06.061Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T17:37:06.061Z] 04944245beec: Pulling fs layer [2023-07-13T17:37:06.061Z] 699f458cf7ca: Pulling fs layer [2023-07-13T17:37:06.061Z] 765212b225bb: Pulling fs layer [2023-07-13T17:37:06.061Z] f23df028b6ca: Pulling fs layer [2023-07-13T17:37:06.061Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T17:37:06.061Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T17:37:06.061Z] 765212b225bb: Waiting [2023-07-13T17:37:06.061Z] f23df028b6ca: Waiting [2023-07-13T17:37:06.061Z] d65c8cfc05b1: Waiting [2023-07-13T17:37:06.061Z] 2437ff75d9bd: Waiting [2023-07-13T17:37:06.061Z] 04944245beec: Verifying Checksum [2023-07-13T17:37:06.061Z] 04944245beec: Download complete [2023-07-13T17:37:06.061Z] 765212b225bb: Download complete [2023-07-13T17:37:06.333Z] f23df028b6ca: Verifying Checksum [2023-07-13T17:37:06.333Z] f23df028b6ca: Download complete [2023-07-13T17:37:06.333Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T17:37:06.333Z] d65c8cfc05b1: Download complete [2023-07-13T17:37:06.920Z] 699f458cf7ca: Verifying Checksum [2023-07-13T17:37:06.920Z] 699f458cf7ca: Download complete [2023-07-13T17:37:07.187Z] 8998bd30e6a1: Verifying Checksum [2023-07-13T17:37:07.187Z] 8998bd30e6a1: Download complete [2023-07-13T17:37:11.432Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T17:37:11.432Z] 2437ff75d9bd: Download complete [2023-07-13T17:37:14.032Z] 8998bd30e6a1: Pull complete [2023-07-13T17:37:14.616Z] 04944245beec: Pull complete [2023-07-13T17:37:17.196Z] 699f458cf7ca: Pull complete [2023-07-13T17:37:17.196Z] 765212b225bb: Pull complete [2023-07-13T17:37:18.153Z] f23df028b6ca: Pull complete [2023-07-13T17:37:18.419Z] d65c8cfc05b1: Pull complete [2023-07-13T17:37:36.639Z] 2437ff75d9bd: Pull complete [2023-07-13T17:37:36.639Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T17:37:36.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T17:37:36.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:37:36.931Z] prd-ubuntu20.04-docker-arm64-4c-16g-1082 does not seem to be running inside a container [2023-07-13T17:37:37.040Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-uart/4 -v /w/workspace/device-uart/4:/w/workspace/device-uart/4:rw,z -v /w/workspace/device-uart/4@tmp:/w/workspace/device-uart/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-13T17:37:38.266Z] $ docker top 248e045eff4f3e6b004505ae9ac3d5f1c3273f1a7f65689ec942d247b0a81dfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:39.129Z] ---> job-cost.sh [2023-07-13T17:37:39.129Z] lf-activate-venv: SKIPPING [2023-07-13T17:37:39.129Z] INFO: No Stack... [2023-07-13T17:37:39.723Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T17:37:40.316Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T17:37:40.953Z] + cat /w/workspace/device-uart/4/archives/cost.csv [2023-07-13T17:37:40.953Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T17:37:41.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [2023-07-13T17:37:41.026Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] did not exist. Created. [2023-07-13T17:37:41.026Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T17:37:41.689Z] /w/workspace/device-uart/4@tmp/durable-55ecc548/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T17:37:42.346Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T17:37:42.369Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T17:37:42.736Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T17:37:42.746Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-4-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T17:37:42.774Z] $ docker stop --time=1 248e045eff4f3e6b004505ae9ac3d5f1c3273f1a7f65689ec942d247b0a81dfc [2023-07-13T17:37:44.758Z] $ docker rm -f --volumes 248e045eff4f3e6b004505ae9ac3d5f1c3273f1a7f65689ec942d247b0a81dfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T17:37:45.000Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-07-13T17:37:45.651Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] [2023-07-13T17:37:45.651Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T17:37:45.651Z] total 16 [2023-07-13T17:37:45.651Z] drwxr-xr-x 3 root root 4096 Jul 13 17:29 . [2023-07-13T17:37:45.651Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:29 .. [2023-07-13T17:37:45.651Z] drwxr-xr-x 2 root root 4096 Jul 13 17:29 cost [2023-07-13T17:37:45.651Z] -rw-r--r-- 1 root root 82 Jul 13 17:29 cost.csv [2023-07-13T17:37:45.651Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T17:37:45.651Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T17:37:45.651Z] total 16 [2023-07-13T17:37:45.651Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 17:29 . [2023-07-13T17:37:45.651Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 17:29 .. [2023-07-13T17:37:45.651Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 17:29 cost [2023-07-13T17:37:45.651Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 13 17:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:45.941Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:46.799Z] ---> package-listing.sh [2023-07-13T17:37:46.799Z] ++ facter osfamily [2023-07-13T17:37:46.799Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T17:37:47.060Z] + OS_FAMILY=debian [2023-07-13T17:37:47.060Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-13T17:37:47.060Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T17:37:47.060Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T17:37:47.060Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T17:37:47.060Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T17:37:47.060Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T17:37:47.060Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T17:37:47.060Z] + case "${OS_FAMILY}" in [2023-07-13T17:37:47.060Z] + dpkg -l [2023-07-13T17:37:47.060Z] + grep '^ii' [2023-07-13T17:37:47.060Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T17:37:47.060Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T17:37:47.060Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T17:37:47.060Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T17:37:47.060Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [2023-07-13T17:37:47.060Z] + 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-13T17:37:47.069Z] 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-13T17:37:47.348Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T17:37:47.909Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T17:37:47.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T17:37:48.030Z] prd-ubuntu20.04-docker-8c-8g-1081 does not seem to be running inside a container [2023-07-13T17:37:48.063Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T17:37:48.237Z] $ docker top 11f46ae6d5b5f54fa86ed316a1b6ad135a199fcc89e0c6e1934c3bceee961a2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T17:37:48.705Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T17:37:48.992Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T17:37:49.288Z] + ls /var/log/sa-host [2023-07-13T17:37:49.288Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T17:37:49.351Z] provisioning config files... [2023-07-13T17:37:49.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config17383160075503634996tmp [Pipeline] { [Pipeline] echo [2023-07-13T17:37:49.376Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:49.668Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T17:37:49.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:49.992Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T17:37:50.002Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:50.287Z] ---> sudo-logs.sh [2023-07-13T17:37:50.287Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T17:37:50.314Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:50.601Z] ---> job-cost.sh [2023-07-13T17:37:50.601Z] lf-activate-venv: SKIPPING [2023-07-13T17:37:50.601Z] DEBUG: total: 0.2199999988079071 [2023-07-13T17:37:50.601Z] INFO: Retrieving Stack Cost... [2023-07-13T17:37:51.172Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T17:37:51.433Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T17:37:51.443Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T17:37:51.723Z] ---> logs-deploy.sh [2023-07-13T17:37:51.723Z] lf-activate-venv: SKIPPING [2023-07-13T17:37:51.723Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/4 [2023-07-13T17:37:51.723Z] INFO: archiving workspace using pattern(s): [2023-07-13T17:37:52.661Z] Archives upload complete. [2023-07-13T17:37:52.661Z] INFO: archiving logs to Nexus [2023-07-13T17:37:53.230Z] ---> uname -a: [2023-07-13T17:37:53.230Z] Linux prd-ubuntu20-04-docker-8c-8g-1081 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-07-13T17:37:53.230Z] [2023-07-13T17:37:53.230Z]