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 82b4c4f5808fa6ec25688ba6f4e82b3720ba89da 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-ssh10531447252355635172.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-ssh5270499250070665411.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-ssh5317794234647498164.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-ssh14725511224887770167.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-ssh13353862698640875203.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-1060 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 82b4c4f5808fa6ec25688ba6f4e82b3720ba89da Merge succeeded, producing 646dee13eada44b392c2123444618d63b80c1b5b Checking out Revision 646dee13eada44b392c2123444618d63b80c1b5b (PR-20) > git config core.sparsecheckout # timeout=10 > git checkout -f 82b4c4f5808fa6ec25688ba6f4e82b3720ba89da # 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 646dee13eada44b392c2123444618d63b80c1b5b # timeout=10 Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 5ce6d61d31315474da5ac2f65e14c5555215612d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-13T13:47:48.975Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-13T13:47:49.036Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-13T13:47:49.053Z] ========================================================= [2023-07-13T13:47:49.053Z] EdgeX Global Pipelines Version Info [2023-07-13T13:47:49.053Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:47:49.799Z] ------------------- [2023-07-13T13:47:49.799Z] stable info: [2023-07-13T13:47:49.799Z] ------------------- [2023-07-13T13:47:49.799Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-13T13:47:49.799Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T13:47:49.799Z] Message: update stable to v1.0.250 [2023-07-13T13:47:50.370Z] ------------------- [2023-07-13T13:47:50.370Z] experimental info: [2023-07-13T13:47:50.370Z] ------------------- [2023-07-13T13:47:50.370Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-13T13:47:50.370Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-13T13:47:50.370Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-13T13:47:50.577Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-07-13T13:47:50.592Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-07-13T13:47:50.605Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-13T13:47:50.623Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-13T13:47:50.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-13T13:47:50.651Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-13T13:47:50.664Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-13T13:47:50.677Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-07-13T13:47:50.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-13T13:47:50.705Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-13T13:47:50.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-13T13:47:50.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-07-13T13:47:50.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-13T13:47:50.809Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-13T13:47:50.820Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T13:47:50.834Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-07-13T13:47:50.851Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T13:47:50.866Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-13T13:47:50.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-13T13:47:50.982Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-13T13:47:51.001Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-07-13T13:47:51.019Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-07-13T13:47:51.032Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-13T13:47:51.044Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-13T13:47:51.060Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-13T13:47:51.079Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-13T13:47:51.100Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-13T13:47:51.118Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-20 [Pipeline] echo [2023-07-13T13:47:51.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-20 [Pipeline] echo [2023-07-13T13:47:51.152Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-20 [Pipeline] echo [2023-07-13T13:47:51.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 646dee13eada44b392c2123444618d63b80c1b5b [Pipeline] echo [2023-07-13T13:47:51.185Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 646dee1 [Pipeline] echo [2023-07-13T13:47:51.202Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T13:47:51.251Z] provisioning config files... [2023-07-13T13:47:51.264Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3746875658790746994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:47:51.566Z] ---> docker-login.sh [2023-07-13T13:47:51.566Z] nexus3.edgexfoundry.org:10001 [2023-07-13T13:47:51.826Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:47:51.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:47:51.826Z] Configure a credential helper to remove this warning. See [2023-07-13T13:47:51.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:47:51.826Z] [2023-07-13T13:47:51.826Z] Login Succeeded [2023-07-13T13:47:51.826Z] nexus3.edgexfoundry.org:10002 [2023-07-13T13:47:52.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:47:52.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:47:52.087Z] Configure a credential helper to remove this warning. See [2023-07-13T13:47:52.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:47:52.087Z] [2023-07-13T13:47:52.087Z] Login Succeeded [2023-07-13T13:47:52.087Z] nexus3.edgexfoundry.org:10003 [2023-07-13T13:47:52.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:47:52.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:47:52.087Z] Configure a credential helper to remove this warning. See [2023-07-13T13:47:52.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:47:52.088Z] [2023-07-13T13:47:52.088Z] Login Succeeded [2023-07-13T13:47:52.088Z] nexus3.edgexfoundry.org:10004 [2023-07-13T13:47:52.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:47:52.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:47:52.348Z] Configure a credential helper to remove this warning. See [2023-07-13T13:47:52.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:47:52.348Z] [2023-07-13T13:47:52.348Z] Login Succeeded [2023-07-13T13:47:52.348Z] docker.io [2023-07-13T13:47:52.348Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:47:52.609Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:47:52.609Z] Configure a credential helper to remove this warning. See [2023-07-13T13:47:52.609Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:47:52.609Z] [2023-07-13T13:47:52.609Z] Login Succeeded [2023-07-13T13:47:52.609Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T13:47:52.617Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-13T13:47:53.001Z] + git rev-list -1 --merges 646dee13eada44b392c2123444618d63b80c1b5b~1..646dee13eada44b392c2123444618d63b80c1b5b [Pipeline] echo [2023-07-13T13:47:53.092Z] -----------> git rev-list -1 --merges 646dee13eada44b392c2123444618d63b80c1b5b~1..646dee13eada44b392c2123444618d63b80c1b5b 646dee13eada44b392c2123444618d63b80c1b5b [2023-07-13T13:47:53.092Z] 646dee13eada44b392c2123444618d63b80c1b5b [false] [Pipeline] sh [2023-07-13T13:47:53.379Z] + git log --format=format:%s -1 646dee13eada44b392c2123444618d63b80c1b5b [Pipeline] echo [2023-07-13T13:47:53.394Z] ========================================================= [2023-07-13T13:47:53.394Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-13T13:47:53.394Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T13:47:53.712Z] + git log --format=format:%s -1 646dee13eada44b392c2123444618d63b80c1b5b [Pipeline] echo [2023-07-13T13:47:53.722Z] [semverPrep] GIT_COMMIT: 646dee13eada44b392c2123444618d63b80c1b5b, Commit Message: Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD [Pipeline] echo [2023-07-13T13:47:53.732Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-13T13:47:54.100Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-13T13:47:54.100Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-13T13:47:54.100Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-13T13:47:54.100Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-13T13:47:54.100Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-13T13:47:54.100Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-13T13:47:54.100Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:47:54.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T13:47:54.520Z] [2023-07-13T13:47:54.520Z] 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-13T13:47:54.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T13:47:54.837Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-13T13:47:54.837Z] b85a868b505f: Pulling fs layer [2023-07-13T13:47:54.837Z] e2be974225ed: Pulling fs layer [2023-07-13T13:47:54.837Z] 339a4e72a1f5: Pulling fs layer [2023-07-13T13:47:54.837Z] 988bab9f4d93: Pulling fs layer [2023-07-13T13:47:54.837Z] 1469e6f7b9e6: Pulling fs layer [2023-07-13T13:47:54.837Z] eaf3925da568: Pulling fs layer [2023-07-13T13:47:54.837Z] bab4dde63d76: Pulling fs layer [2023-07-13T13:47:54.837Z] bde34c3a00c8: Pulling fs layer [2023-07-13T13:47:54.837Z] b352a97aabf1: Pulling fs layer [2023-07-13T13:47:54.837Z] 4872d77fe225: Pulling fs layer [2023-07-13T13:47:54.837Z] 5851b861e8e6: Pulling fs layer [2023-07-13T13:47:54.837Z] 4872d77fe225: Waiting [2023-07-13T13:47:54.837Z] bab4dde63d76: Waiting [2023-07-13T13:47:54.837Z] b352a97aabf1: Waiting [2023-07-13T13:47:54.837Z] 5851b861e8e6: Waiting [2023-07-13T13:47:54.837Z] 988bab9f4d93: Waiting [2023-07-13T13:47:54.837Z] 1469e6f7b9e6: Waiting [2023-07-13T13:47:54.837Z] eaf3925da568: Waiting [2023-07-13T13:47:54.837Z] e2be974225ed: Download complete [2023-07-13T13:47:54.837Z] 988bab9f4d93: Download complete [2023-07-13T13:47:54.837Z] 1469e6f7b9e6: Verifying Checksum [2023-07-13T13:47:54.837Z] 1469e6f7b9e6: Download complete [2023-07-13T13:47:54.837Z] eaf3925da568: Verifying Checksum [2023-07-13T13:47:54.837Z] eaf3925da568: Download complete [2023-07-13T13:47:54.837Z] 339a4e72a1f5: Verifying Checksum [2023-07-13T13:47:54.837Z] 339a4e72a1f5: Download complete [2023-07-13T13:47:54.837Z] bde34c3a00c8: Verifying Checksum [2023-07-13T13:47:54.837Z] bde34c3a00c8: Download complete [2023-07-13T13:47:55.095Z] b352a97aabf1: Download complete [2023-07-13T13:47:55.096Z] 4872d77fe225: Verifying Checksum [2023-07-13T13:47:55.096Z] 4872d77fe225: Download complete [2023-07-13T13:47:55.096Z] 5851b861e8e6: Download complete [2023-07-13T13:47:55.096Z] b85a868b505f: Download complete [2023-07-13T13:47:55.354Z] bab4dde63d76: Verifying Checksum [2023-07-13T13:47:55.354Z] bab4dde63d76: Download complete [2023-07-13T13:47:56.290Z] b85a868b505f: Pull complete [2023-07-13T13:47:56.548Z] e2be974225ed: Pull complete [2023-07-13T13:47:57.116Z] 339a4e72a1f5: Pull complete [2023-07-13T13:47:57.116Z] 988bab9f4d93: Pull complete [2023-07-13T13:47:57.377Z] 1469e6f7b9e6: Pull complete [2023-07-13T13:47:57.377Z] eaf3925da568: Pull complete [2023-07-13T13:47:59.294Z] bab4dde63d76: Pull complete [2023-07-13T13:47:59.294Z] bde34c3a00c8: Pull complete [2023-07-13T13:47:59.294Z] b352a97aabf1: Pull complete [2023-07-13T13:47:59.554Z] 4872d77fe225: Pull complete [2023-07-13T13:47:59.554Z] 5851b861e8e6: Pull complete [2023-07-13T13:47:59.554Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-13T13:47:59.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-13T13:47:59.554Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:47:59.657Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2023-07-13T13:47:59.691Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-07-13T13:48:03.605Z] $ docker top 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 -eo pid,comm [2023-07-13T13:48:03.658Z] 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-13T13:48:03.658Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-13T13:48:03.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T13:48:03.698Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T13:48:03.817Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T13:48:03.823Z] $ docker exec 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 ssh-agent [2023-07-13T13:48:03.933Z] SSH_AUTH_SOCK=/tmp/ssh-Ysyqj6C1zUsr/agent.32 [2023-07-13T13:48:03.933Z] SSH_AGENT_PID=38 [2023-07-13T13:48:03.939Z] Running ssh-add (command line suppressed) [2023-07-13T13:48:04.037Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13492492713050386328.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_13492492713050386328.key) [2023-07-13T13:48:04.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T13:48:04.335Z] + git tag --points-at HEAD [Pipeline] } [2023-07-13T13:48:04.355Z] $ docker exec --env ******** --env ******** 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 ssh-agent -k [2023-07-13T13:48:04.453Z] unset SSH_AUTH_SOCK; [2023-07-13T13:48:04.454Z] unset SSH_AGENT_PID; [2023-07-13T13:48:04.454Z] echo Agent pid 38 killed; [2023-07-13T13:48:04.461Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-13T13:48:04.483Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-13T13:48:04.483Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-13T13:48:04.593Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-13T13:48:04.598Z] $ docker exec 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 ssh-agent [2023-07-13T13:48:04.702Z] SSH_AUTH_SOCK=/tmp/ssh-lgjqA60RpSZd/agent.70 [2023-07-13T13:48:04.702Z] SSH_AGENT_PID=76 [2023-07-13T13:48:04.706Z] Running ssh-add (command line suppressed) [2023-07-13T13:48:04.790Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_12390384926306022282.key (/w/workspace/edgexfoundry_device-uart_PR-20@tmp/private_key_12390384926306022282.key) [2023-07-13T13:48:04.800Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-13T13:48:05.089Z] + git semver init [2023-07-13T13:48:05.347Z] 2023-07-13 13:48:05,271 [run_init] DEBUG init version:0.0.0 force:False [2023-07-13T13:48:05.347Z] 2023-07-13 13:48:05,271 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T13:48:05.347Z] 2023-07-13 13:48:05,271 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-20/.semver [2023-07-13T13:48:05.347Z] 2023-07-13 13:48:05,272 [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-13T13:48:06.281Z] 2023-07-13 13:48:06,076 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-20/.git/info/exclude [2023-07-13T13:48:06.281Z] 2023-07-13 13:48:06,077 [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-13T13:48:06.281Z] 2023-07-13 13:48:06,077 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T13:48:06.281Z] 2023-07-13 13:48:06,081 [execute] INFO git cat-file --batch-check [2023-07-13T13:48:06.281Z] 2023-07-13 13:48:06,082 [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-13T13:48:06.281Z] 2023-07-13 13:48:06,087 [execute] INFO git cat-file --batch [2023-07-13T13:48:06.281Z] 2023-07-13 13:48:06,088 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-20/.semver, universal_newlines=False, shell=None, istream=) [2023-07-13T13:48:06.281Z] 2023-07-13 13:48:06,092 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-20/.semver/PR-20 [2023-07-13T13:48:06.281Z] 0.0.0 [Pipeline] } [2023-07-13T13:48:06.294Z] $ docker exec --env ******** --env ******** 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 ssh-agent -k [2023-07-13T13:48:06.393Z] unset SSH_AUTH_SOCK; [2023-07-13T13:48:06.394Z] unset SSH_AGENT_PID; [2023-07-13T13:48:06.394Z] echo Agent pid 76 killed; [2023-07-13T13:48:06.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-13T13:48:06.709Z] + git semver [Pipeline] } [2023-07-13T13:48:06.988Z] $ docker stop --time=1 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 [2023-07-13T13:48:08.306Z] $ docker rm -f --volumes 90ddfe3f8f31728bdde464cc7868ff486de920b7b86a91491485ff9892a87d08 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-13T13:48:08.634Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-13T13:48:08.833Z] Stashed 1 file(s) [Pipeline] echo [2023-07-13T13:48:08.836Z] [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-13T13:48:08.960Z] provisioning config files... [2023-07-13T13:48:08.969Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config3320885106476499678tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:48:09.266Z] ---> docker-login.sh [2023-07-13T13:48:09.266Z] nexus3.edgexfoundry.org:10001 [2023-07-13T13:48:09.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:48:09.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:48:09.266Z] Configure a credential helper to remove this warning. See [2023-07-13T13:48:09.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:48:09.266Z] [2023-07-13T13:48:09.266Z] Login Succeeded [2023-07-13T13:48:09.266Z] nexus3.edgexfoundry.org:10002 [2023-07-13T13:48:09.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:48:09.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:48:09.266Z] Configure a credential helper to remove this warning. See [2023-07-13T13:48:09.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:48:09.266Z] [2023-07-13T13:48:09.266Z] Login Succeeded [2023-07-13T13:48:09.266Z] nexus3.edgexfoundry.org:10003 [2023-07-13T13:48:09.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:48:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:48:09.525Z] Configure a credential helper to remove this warning. See [2023-07-13T13:48:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:48:09.525Z] [2023-07-13T13:48:09.525Z] Login Succeeded [2023-07-13T13:48:09.525Z] nexus3.edgexfoundry.org:10004 [2023-07-13T13:48:09.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:48:09.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:48:09.525Z] Configure a credential helper to remove this warning. See [2023-07-13T13:48:09.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:48:09.525Z] [2023-07-13T13:48:09.525Z] Login Succeeded [2023-07-13T13:48:09.525Z] docker.io [2023-07-13T13:48:09.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:48:09.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:48:09.784Z] Configure a credential helper to remove this warning. See [2023-07-13T13:48:09.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:48:09.784Z] [2023-07-13T13:48:09.784Z] Login Succeeded [2023-07-13T13:48:09.784Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T13:48:09.791Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T13:48:09.847Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T13:48:09.858Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T13:48:09.865Z] ========================================================= [2023-07-13T13:48:09.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-13T13:48:09.865Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:48:10.169Z] + 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-13T13:48:10.169Z] Sending build context to Docker daemon 11.1MB [2023-07-13T13:48:10.169Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T13:48:10.169Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T13:48:10.169Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-13T13:48:10.169Z] 4db1b89c0bd1: Pulling fs layer [2023-07-13T13:48:10.169Z] 6911f1a30b25: Pulling fs layer [2023-07-13T13:48:10.169Z] e194b8c5c2a9: Pulling fs layer [2023-07-13T13:48:10.169Z] 6863d3e3a2b1: Pulling fs layer [2023-07-13T13:48:10.169Z] ec0bb842ea78: Pulling fs layer [2023-07-13T13:48:10.169Z] 40a00589a448: Pulling fs layer [2023-07-13T13:48:10.169Z] 6c08303d61cc: Pulling fs layer [2023-07-13T13:48:10.169Z] 798269fcf238: Pulling fs layer [2023-07-13T13:48:10.169Z] ec0bb842ea78: Waiting [2023-07-13T13:48:10.169Z] 40a00589a448: Waiting [2023-07-13T13:48:10.169Z] 6c08303d61cc: Waiting [2023-07-13T13:48:10.169Z] 798269fcf238: Waiting [2023-07-13T13:48:10.169Z] 6863d3e3a2b1: Waiting [2023-07-13T13:48:10.169Z] 6911f1a30b25: Verifying Checksum [2023-07-13T13:48:10.169Z] 6911f1a30b25: Download complete [2023-07-13T13:48:10.169Z] 6863d3e3a2b1: Verifying Checksum [2023-07-13T13:48:10.169Z] 6863d3e3a2b1: Download complete [2023-07-13T13:48:10.426Z] ec0bb842ea78: Verifying Checksum [2023-07-13T13:48:10.426Z] ec0bb842ea78: Download complete [2023-07-13T13:48:10.426Z] 4db1b89c0bd1: Verifying Checksum [2023-07-13T13:48:10.426Z] 4db1b89c0bd1: Download complete [2023-07-13T13:48:10.426Z] 40a00589a448: Verifying Checksum [2023-07-13T13:48:10.426Z] 40a00589a448: Download complete [2023-07-13T13:48:10.426Z] 4db1b89c0bd1: Pull complete [2023-07-13T13:48:10.684Z] 6911f1a30b25: Pull complete [2023-07-13T13:48:10.685Z] 798269fcf238: Verifying Checksum [2023-07-13T13:48:10.685Z] 798269fcf238: Download complete [2023-07-13T13:48:10.943Z] e194b8c5c2a9: Verifying Checksum [2023-07-13T13:48:10.943Z] e194b8c5c2a9: Download complete [2023-07-13T13:48:11.200Z] 6c08303d61cc: Verifying Checksum [2023-07-13T13:48:11.200Z] 6c08303d61cc: Download complete [2023-07-13T13:48:14.483Z] e194b8c5c2a9: Pull complete [2023-07-13T13:48:14.483Z] 6863d3e3a2b1: Pull complete [2023-07-13T13:48:14.483Z] ec0bb842ea78: Pull complete [2023-07-13T13:48:14.483Z] 40a00589a448: Pull complete [2023-07-13T13:48:16.381Z] 6c08303d61cc: Pull complete [2023-07-13T13:48:17.330Z] 798269fcf238: Pull complete [2023-07-13T13:48:17.330Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-13T13:48:17.330Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-13T13:48:17.330Z] ---> ec979cd7f677 [2023-07-13T13:48:17.330Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T13:48:22.614Z] ---> Running in a26592947942 [2023-07-13T13:48:22.614Z] Removing intermediate container a26592947942 [2023-07-13T13:48:22.614Z] ---> 7f69b120dd0b [2023-07-13T13:48:22.614Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T13:48:22.614Z] ---> Running in aac7ea4dfcab [2023-07-13T13:48:22.614Z] Removing intermediate container aac7ea4dfcab [2023-07-13T13:48:22.614Z] ---> e503ab02dc12 [2023-07-13T13:48:22.614Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T13:48:22.614Z] ---> Running in 7800a5a0ca3a [2023-07-13T13:48:22.614Z] Removing intermediate container 7800a5a0ca3a [2023-07-13T13:48:22.614Z] ---> b2e9ee976785 [2023-07-13T13:48:22.614Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T13:48:22.614Z] ---> Running in 6167d0ea06ca [2023-07-13T13:48:22.614Z] Removing intermediate container 6167d0ea06ca [2023-07-13T13:48:22.614Z] ---> f689e95b198f [2023-07-13T13:48:22.614Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T13:48:22.872Z] ---> Running in 8de463060da4 [2023-07-13T13:48:23.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-13T13:48:23.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-13T13:48:23.390Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T13:48:23.390Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T13:48:23.390Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T13:48:23.390Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T13:48:23.649Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T13:48:23.649Z] OK: 269 MiB in 57 packages [2023-07-13T13:48:23.910Z] Removing intermediate container 8de463060da4 [2023-07-13T13:48:23.910Z] ---> 445707055e7b [2023-07-13T13:48:23.910Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T13:48:23.922Z] Still waiting to schedule task [2023-07-13T13:48:23.922Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-13T13:48:24.170Z] ---> ff4dfc4fdebe [2023-07-13T13:48:24.170Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T13:48:24.170Z] ---> Running in 92463906300f [2023-07-13T13:49:20.401Z] Removing intermediate container 92463906300f [2023-07-13T13:49:20.401Z] ---> 9b9211ac4b62 [2023-07-13T13:49:20.401Z] Step 10/12 : COPY . . [2023-07-13T13:49:20.401Z] ---> 7ecd6d4ce384 [2023-07-13T13:49:20.401Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T13:49:20.401Z] ---> Running in b6e512c12468 [2023-07-13T13:49:20.401Z] Removing intermediate container b6e512c12468 [2023-07-13T13:49:20.401Z] ---> 554ef8afaf35 [2023-07-13T13:49:20.401Z] Step 12/12 : RUN ${MAKE} [2023-07-13T13:49:20.401Z] ---> Running in 257415f1890d [2023-07-13T13:49:20.401Z] noop [2023-07-13T13:49:20.401Z] Removing intermediate container 257415f1890d [2023-07-13T13:49:20.401Z] ---> 8ce56574aa0a [2023-07-13T13:49:20.401Z] Successfully built 8ce56574aa0a [2023-07-13T13:49:20.401Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:49:20.732Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T13:49:20.733Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:49:20.805Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2023-07-13T13:49:20.835Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-13T13:49:21.168Z] $ docker top 81de4de9272b91c71bf25d338b0d8f4245b9b5a7e033fa306f23cbedbe446c88 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T13:49:21.511Z] + go version [2023-07-13T13:49:21.511Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-13T13:49:21.524Z] $ docker stop --time=1 81de4de9272b91c71bf25d338b0d8f4245b9b5a7e033fa306f23cbedbe446c88 [2023-07-13T13:49:22.798Z] $ docker rm -f --volumes 81de4de9272b91c71bf25d338b0d8f4245b9b5a7e033fa306f23cbedbe446c88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:49:23.218Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-13T13:49:23.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:49:23.293Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2023-07-13T13:49:23.322Z] $ 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 ******** ci-base-image-x86_64 cat [2023-07-13T13:49:23.669Z] $ docker top 80c7707135b47ba069b2ce9ee35a42e5945de4143adf7c7fae3d18425c7ba465 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T13:49:24.013Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-20 [Pipeline] fileExists [Pipeline] sh [2023-07-13T13:49:24.309Z] + make test [2023-07-13T13:49:24.309Z] go test ./... -coverprofile=coverage.out [2023-07-13T13:49:29.583Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T13:49:39.550Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T13:49:39.550Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T13:49:44.820Z] internal/driver/driver.go:212:17: unusedresult: result of fmt.Errorf call not used (govet) [2023-07-13T13:49:44.820Z] fmt.Errorf("Driver.HandleWriteCommands(): String decode failed: %v", err) [2023-07-13T13:49:44.820Z] ^ [2023-07-13T13:49:44.820Z] make: *** [Makefile:30: lint] Error 1 [Pipeline] } [2023-07-13T13:49:44.835Z] $ docker stop --time=1 80c7707135b47ba069b2ce9ee35a42e5945de4143adf7c7fae3d18425c7ba465 [2023-07-13T13:49:48.209Z] $ docker rm -f --volumes 80c7707135b47ba069b2ce9ee35a42e5945de4143adf7c7fae3d18425c7ba465 [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-13T13:49:48.836Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T13:49:48.836Z] [2023-07-13T13:49:48.836Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:49:49.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T13:49:49.137Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-13T13:49:49.137Z] 5eb5b503b376: Pulling fs layer [2023-07-13T13:49:49.137Z] 5c69ac0246d0: Pulling fs layer [2023-07-13T13:49:49.137Z] ec43610c2a17: Pulling fs layer [2023-07-13T13:49:49.137Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-13T13:49:49.137Z] 33b1e0a273af: Pulling fs layer [2023-07-13T13:49:49.137Z] 5d3b04190fa2: Pulling fs layer [2023-07-13T13:49:49.137Z] 2f39f015ded8: Pulling fs layer [2023-07-13T13:49:49.137Z] 33b1e0a273af: Waiting [2023-07-13T13:49:49.137Z] 5d3b04190fa2: Waiting [2023-07-13T13:49:49.137Z] 3a2ae6a8a46f: Waiting [2023-07-13T13:49:49.137Z] 5c69ac0246d0: Download complete [2023-07-13T13:49:49.137Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-13T13:49:49.137Z] 3a2ae6a8a46f: Download complete [2023-07-13T13:49:49.396Z] 33b1e0a273af: Verifying Checksum [2023-07-13T13:49:49.396Z] 33b1e0a273af: Download complete [2023-07-13T13:49:49.396Z] 5d3b04190fa2: Verifying Checksum [2023-07-13T13:49:49.396Z] 5d3b04190fa2: Download complete [2023-07-13T13:49:49.396Z] ec43610c2a17: Verifying Checksum [2023-07-13T13:49:49.396Z] ec43610c2a17: Download complete [2023-07-13T13:49:49.396Z] 5eb5b503b376: Verifying Checksum [2023-07-13T13:49:49.396Z] 5eb5b503b376: Download complete [2023-07-13T13:49:49.964Z] 2f39f015ded8: Verifying Checksum [2023-07-13T13:49:49.964Z] 2f39f015ded8: Download complete [2023-07-13T13:49:50.534Z] 5eb5b503b376: Pull complete [2023-07-13T13:49:50.792Z] 5c69ac0246d0: Pull complete [2023-07-13T13:49:51.358Z] ec43610c2a17: Pull complete [2023-07-13T13:49:51.358Z] 3a2ae6a8a46f: Pull complete [2023-07-13T13:49:51.617Z] 33b1e0a273af: Pull complete [2023-07-13T13:49:51.617Z] 5d3b04190fa2: Pull complete [2023-07-13T13:49:55.798Z] 2f39f015ded8: Pull complete [2023-07-13T13:49:55.798Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-13T13:49:55.798Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T13:49:55.798Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:49:55.877Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2023-07-13T13:49:55.905Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T13:49:56.848Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1061 in /w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-13T13:49:59.508Z] $ docker top f0c35beb51d9d89a0c6044ed2658e20ced3b7a3bc069d673306b02915edfe3a3 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-07-13T13:49:59.656Z] Running in /w/workspace/device-uart/3 [Pipeline] { [Pipeline] checkout [2023-07-13T13:49:59.686Z] The recommended git tool is: git [2023-07-13T13:49:59.909Z] ---> job-cost.sh [2023-07-13T13:49:59.909Z] lf-activate-venv: SKIPPING [2023-07-13T13:49:59.909Z] INFO: No Stack... [2023-07-13T13:50:00.474Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T13:50:00.732Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T13:50:01.018Z] + cat /w/workspace/edgexfoundry_device-uart_PR-20/archives/cost.csv [2023-07-13T13:50:01.018Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T13:50:01.032Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] [2023-07-13T13:50:01.038Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] did not exist. Created. [2023-07-13T13:50:01.038Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T13:50:01.337Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-13T13:50:01.373Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T13:50:01.380Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T13:50:01.402Z] $ docker stop --time=1 f0c35beb51d9d89a0c6044ed2658e20ced3b7a3bc069d673306b02915edfe3a3 [2023-07-13T13:50:02.542Z] $ docker rm -f --volumes f0c35beb51d9d89a0c6044ed2658e20ced3b7a3bc069d673306b02915edfe3a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T13:50:02.636Z] Failed in branch amd64 [2023-07-13T13:50:04.263Z] using credential edgex-jenkins-ssh [2023-07-13T13:50:04.282Z] Cloning the remote Git repository [2023-07-13T13:50:04.317Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-07-13T13:50:04.405Z] > git init /w/workspace/device-uart/3 # timeout=10 [2023-07-13T13:50:04.538Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T13:50:04.539Z] > git --version # timeout=10 [2023-07-13T13:50:04.561Z] > git --version # 'git version 2.25.1' [2023-07-13T13:50:04.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T13:50:04.711Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T13:50:07.127Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T13:50:07.149Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-13T13:50:07.949Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-07-13T13:50:07.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-07-13T13:50:07.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T13:50:08.003Z] > 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-13T13:50:08.553Z] Merging remotes/origin/main commit a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 into PR head commit 82b4c4f5808fa6ec25688ba6f4e82b3720ba89da [2023-07-13T13:50:08.858Z] Merge succeeded, producing 2146d130465d6cfa9402e903816842cc2a3089ba [2023-07-13T13:50:08.858Z] Checking out Revision 2146d130465d6cfa9402e903816842cc2a3089ba (PR-20) [2023-07-13T13:50:08.569Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T13:50:08.652Z] > git checkout -f 82b4c4f5808fa6ec25688ba6f4e82b3720ba89da # timeout=10 [2023-07-13T13:50:08.729Z] > git remote # timeout=10 [2023-07-13T13:50:08.749Z] > git config --get remote.origin.url # timeout=10 [2023-07-13T13:50:08.775Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-13T13:50:08.789Z] > git merge a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12 # timeout=10 [2023-07-13T13:50:08.839Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-13T13:50:08.863Z] > git config core.sparsecheckout # timeout=10 [2023-07-13T13:50:08.884Z] > git checkout -f 2146d130465d6cfa9402e903816842cc2a3089ba # timeout=10 [2023-07-13T13:50:12.323Z] Commit message: "Merge commit 'a7a4c95c0ae0db49935ec1ace62b07cb61e2aa12' into HEAD" [2023-07-13T13:50:12.347Z] First time build. Skipping changelog. [2023-07-13T13:50:12.330Z] > git rev-list --no-walk 5ce6d61d31315474da5ac2f65e14c5555215612d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-13T13:50:13.390Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-13T13:50:13.391Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-13T13:50:13.391Z] Dload Upload Total Spent Left Speed [2023-07-13T13:50:13.391Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-07-13T13:50:14.030Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-13T13:50:14.352Z] + sudo tee /etc/docker/daemon.new [2023-07-13T13:50:14.352Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-13T13:50:14.352Z] { [2023-07-13T13:50:14.352Z] "registry-mirrors": [ [2023-07-13T13:50:14.352Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-13T13:50:14.352Z] ], [2023-07-13T13:50:14.352Z] "bip": "10.250.0.254/24", [2023-07-13T13:50:14.352Z] "hosts": [ [2023-07-13T13:50:14.352Z] "tcp://0.0.0.0:5555", [2023-07-13T13:50:14.352Z] "unix:///var/run/docker.sock" [2023-07-13T13:50:14.352Z] ], [2023-07-13T13:50:14.352Z] "mtu": 1458, [2023-07-13T13:50:14.352Z] "selinux-enabled": true, [2023-07-13T13:50:14.352Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-13T13:50:14.352Z] } [Pipeline] sh [2023-07-13T13:50:14.673Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-13T13:50:14.998Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T13:50:33.224Z] provisioning config files... [2023-07-13T13:50:33.246Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/3@tmp/config4673543132326095366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:50:33.585Z] ---> docker-login.sh [2023-07-13T13:50:33.585Z] nexus3.edgexfoundry.org:10001 [2023-07-13T13:50:33.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:50:34.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:50:34.123Z] Configure a credential helper to remove this warning. See [2023-07-13T13:50:34.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:50:34.123Z] [2023-07-13T13:50:34.123Z] Login Succeeded [2023-07-13T13:50:34.123Z] nexus3.edgexfoundry.org:10002 [2023-07-13T13:50:34.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:50:34.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:50:34.390Z] Configure a credential helper to remove this warning. See [2023-07-13T13:50:34.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:50:34.390Z] [2023-07-13T13:50:34.390Z] Login Succeeded [2023-07-13T13:50:34.390Z] nexus3.edgexfoundry.org:10003 [2023-07-13T13:50:34.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:50:34.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:50:34.925Z] Configure a credential helper to remove this warning. See [2023-07-13T13:50:34.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:50:34.925Z] [2023-07-13T13:50:34.925Z] Login Succeeded [2023-07-13T13:50:34.925Z] nexus3.edgexfoundry.org:10004 [2023-07-13T13:50:34.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:50:35.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:50:35.198Z] Configure a credential helper to remove this warning. See [2023-07-13T13:50:35.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:50:35.198Z] [2023-07-13T13:50:35.198Z] Login Succeeded [2023-07-13T13:50:35.198Z] docker.io [2023-07-13T13:50:35.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-13T13:50:35.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-13T13:50:35.732Z] Configure a credential helper to remove this warning. See [2023-07-13T13:50:35.732Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-13T13:50:35.732Z] [2023-07-13T13:50:35.733Z] Login Succeeded [2023-07-13T13:50:35.733Z] ---> docker-login.sh ends [Pipeline] } [2023-07-13T13:50:35.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-13T13:50:35.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T13:50:36.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-13T13:50:36.015Z] ========================================================= [2023-07-13T13:50:36.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-13T13:50:36.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:50:36.354Z] + 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-13T13:50:36.624Z] Sending build context to Docker daemon 5.599MB [2023-07-13T13:50:36.624Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-07-13T13:50:36.624Z] Step 2/12 : FROM ${BASE} AS builder [2023-07-13T13:50:36.891Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-13T13:50:36.891Z] edb6bdbacee9: Pulling fs layer [2023-07-13T13:50:36.891Z] 5f9638ab2659: Pulling fs layer [2023-07-13T13:50:36.891Z] 8d51d6327a98: Pulling fs layer [2023-07-13T13:50:36.891Z] 8b374f2dd631: Pulling fs layer [2023-07-13T13:50:36.891Z] ec14aa9079de: Pulling fs layer [2023-07-13T13:50:36.891Z] 2f466654f4bb: Pulling fs layer [2023-07-13T13:50:36.891Z] 554e91adad29: Pulling fs layer [2023-07-13T13:50:36.891Z] 8b374f2dd631: Waiting [2023-07-13T13:50:36.891Z] ec14aa9079de: Waiting [2023-07-13T13:50:36.891Z] 2f466654f4bb: Waiting [2023-07-13T13:50:36.891Z] 5f9638ab2659: Verifying Checksum [2023-07-13T13:50:36.891Z] 5f9638ab2659: Download complete [2023-07-13T13:50:36.891Z] 8b374f2dd631: Verifying Checksum [2023-07-13T13:50:36.891Z] 8b374f2dd631: Download complete [2023-07-13T13:50:36.891Z] ec14aa9079de: Verifying Checksum [2023-07-13T13:50:36.891Z] ec14aa9079de: Download complete [2023-07-13T13:50:36.891Z] edb6bdbacee9: Verifying Checksum [2023-07-13T13:50:36.891Z] edb6bdbacee9: Download complete [2023-07-13T13:50:37.854Z] edb6bdbacee9: Pull complete [2023-07-13T13:50:38.122Z] 554e91adad29: Verifying Checksum [2023-07-13T13:50:38.122Z] 554e91adad29: Download complete [2023-07-13T13:50:38.393Z] 5f9638ab2659: Pull complete [2023-07-13T13:50:39.363Z] 8d51d6327a98: Download complete [2023-07-13T13:50:39.363Z] 2f466654f4bb: Verifying Checksum [2023-07-13T13:50:39.363Z] 2f466654f4bb: Download complete [2023-07-13T13:50:51.694Z] 8d51d6327a98: Pull complete [2023-07-13T13:50:51.694Z] 8b374f2dd631: Pull complete [2023-07-13T13:50:51.694Z] ec14aa9079de: Pull complete [2023-07-13T13:50:57.044Z] 2f466654f4bb: Pull complete [2023-07-13T13:50:59.644Z] 554e91adad29: Pull complete [2023-07-13T13:50:59.644Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-13T13:50:59.644Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-13T13:50:59.644Z] ---> 1e15ea492957 [2023-07-13T13:50:59.644Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-07-13T13:51:01.058Z] ---> Running in 85eb2196641b [2023-07-13T13:51:01.325Z] Removing intermediate container 85eb2196641b [2023-07-13T13:51:01.325Z] ---> 7ba7a85215ba [2023-07-13T13:51:01.325Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-07-13T13:51:01.325Z] ---> Running in 7ad9ea284f3d [2023-07-13T13:51:01.601Z] Removing intermediate container 7ad9ea284f3d [2023-07-13T13:51:01.601Z] ---> aeceb1c28ac3 [2023-07-13T13:51:01.601Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-07-13T13:51:01.871Z] ---> Running in 252b6da54a91 [2023-07-13T13:51:02.140Z] Removing intermediate container 252b6da54a91 [2023-07-13T13:51:02.140Z] ---> 64faae49561b [2023-07-13T13:51:02.140Z] Step 6/12 : WORKDIR /device-uart [2023-07-13T13:51:02.140Z] ---> Running in 04c6f8ffbb72 [2023-07-13T13:51:02.409Z] Removing intermediate container 04c6f8ffbb72 [2023-07-13T13:51:02.409Z] ---> ca907bb68246 [2023-07-13T13:51:02.409Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-07-13T13:51:02.680Z] ---> Running in b8868cb83840 [2023-07-13T13:51:03.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-13T13:51:04.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-13T13:51:05.176Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-07-13T13:51:05.176Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-07-13T13:51:05.176Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-07-13T13:51:05.176Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-07-13T13:51:05.176Z] Executing busybox-1.35.0-r29.trigger [2023-07-13T13:51:05.176Z] OK: 268 MiB in 57 packages [2023-07-13T13:51:06.146Z] Removing intermediate container b8868cb83840 [2023-07-13T13:51:06.146Z] ---> 52dc49bdc3f3 [2023-07-13T13:51:06.146Z] Step 8/12 : COPY go.mod vendor* ./ [2023-07-13T13:51:06.732Z] ---> 24b3024780ec [2023-07-13T13:51:06.732Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-13T13:51:06.732Z] ---> Running in c2ac39e38268 [2023-07-13T13:52:14.594Z] Removing intermediate container c2ac39e38268 [2023-07-13T13:52:14.594Z] ---> e8b168c5b3b8 [2023-07-13T13:52:14.594Z] Step 10/12 : COPY . . [2023-07-13T13:52:14.594Z] ---> e30164a7601a [2023-07-13T13:52:14.594Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-07-13T13:52:14.594Z] ---> Running in b8c95ab2bb8e [2023-07-13T13:52:14.594Z] Removing intermediate container b8c95ab2bb8e [2023-07-13T13:52:14.594Z] ---> fdfd98c4a6dd [2023-07-13T13:52:14.594Z] Step 12/12 : RUN ${MAKE} [2023-07-13T13:52:14.594Z] ---> Running in 42720f20112d [2023-07-13T13:52:14.594Z] noop [2023-07-13T13:52:14.594Z] Removing intermediate container 42720f20112d [2023-07-13T13:52:14.594Z] ---> 74c6cbba0cb7 [2023-07-13T13:52:14.594Z] Successfully built 74c6cbba0cb7 [2023-07-13T13:52:14.594Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:52:14.935Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T13:52:14.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:52:15.131Z] prd-ubuntu20.04-docker-arm64-4c-16g-1061 does not seem to be running inside a container [2023-07-13T13:52:15.194Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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-13T13:52:16.332Z] $ docker top 57a2ce5eb139173e700fd802d255e114abe6c767bc6679c7eb3d4e136f6fb19a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T13:52:17.130Z] + go version [2023-07-13T13:52:17.130Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-13T13:52:17.153Z] $ docker stop --time=1 57a2ce5eb139173e700fd802d255e114abe6c767bc6679c7eb3d4e136f6fb19a [2023-07-13T13:52:18.711Z] $ docker rm -f --volumes 57a2ce5eb139173e700fd802d255e114abe6c767bc6679c7eb3d4e136f6fb19a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:52:19.222Z] + docker inspect -f . ci-base-image-arm64 [2023-07-13T13:52:19.223Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:52:19.392Z] prd-ubuntu20.04-docker-arm64-4c-16g-1061 does not seem to be running inside a container [2023-07-13T13:52:19.453Z] $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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-13T13:52:20.530Z] $ docker top 90f47d95b07c8f9b9035d9d707fac2e3494a5e52c2ea6c588ca88db03445cde2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T13:52:21.013Z] + git config --global --add safe.directory /w/workspace/device-uart/3 [Pipeline] fileExists [Pipeline] sh [2023-07-13T13:52:21.344Z] + make test [2023-07-13T13:52:21.344Z] go test ./... -coverprofile=coverage.out [2023-07-13T13:52:53.580Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-07-13T13:54:30.214Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-07-13T13:54:30.214Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-07-13T13:54:30.214Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-13T13:54:30.214Z] go vet ./... [2023-07-13T13:54:56.924Z] # github.com/edgexfoundry/device-uart/internal/driver [2023-07-13T13:54:56.924Z] internal/driver/driver.go:212:17: result of fmt.Errorf call not used [2023-07-13T13:54:58.879Z] make: *** [Makefile:36: test] Error 1 [Pipeline] } [2023-07-13T13:54:58.904Z] $ docker stop --time=1 90f47d95b07c8f9b9035d9d707fac2e3494a5e52c2ea6c588ca88db03445cde2 [2023-07-13T13:55:01.081Z] $ docker rm -f --volumes 90f47d95b07c8f9b9035d9d707fac2e3494a5e52c2ea6c588ca88db03445cde2 [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-13T13:55:02.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T13:55:02.334Z] [2023-07-13T13:55:02.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:55:02.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T13:55:02.933Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-13T13:55:02.933Z] 8998bd30e6a1: Pulling fs layer [2023-07-13T13:55:02.933Z] 04944245beec: Pulling fs layer [2023-07-13T13:55:02.933Z] 699f458cf7ca: Pulling fs layer [2023-07-13T13:55:02.933Z] 765212b225bb: Pulling fs layer [2023-07-13T13:55:02.933Z] f23df028b6ca: Pulling fs layer [2023-07-13T13:55:02.933Z] d65c8cfc05b1: Pulling fs layer [2023-07-13T13:55:02.933Z] 2437ff75d9bd: Pulling fs layer [2023-07-13T13:55:02.933Z] 765212b225bb: Waiting [2023-07-13T13:55:02.933Z] f23df028b6ca: Waiting [2023-07-13T13:55:02.933Z] d65c8cfc05b1: Waiting [2023-07-13T13:55:02.933Z] 2437ff75d9bd: Waiting [2023-07-13T13:55:02.933Z] 04944245beec: Verifying Checksum [2023-07-13T13:55:02.933Z] 04944245beec: Download complete [2023-07-13T13:55:02.933Z] 765212b225bb: Verifying Checksum [2023-07-13T13:55:02.933Z] 765212b225bb: Download complete [2023-07-13T13:55:03.205Z] f23df028b6ca: Download complete [2023-07-13T13:55:03.205Z] d65c8cfc05b1: Verifying Checksum [2023-07-13T13:55:03.205Z] d65c8cfc05b1: Download complete [2023-07-13T13:55:03.205Z] 699f458cf7ca: Verifying Checksum [2023-07-13T13:55:03.205Z] 699f458cf7ca: Download complete [2023-07-13T13:55:03.475Z] 8998bd30e6a1: Download complete [2023-07-13T13:55:06.815Z] 2437ff75d9bd: Verifying Checksum [2023-07-13T13:55:06.815Z] 2437ff75d9bd: Download complete [2023-07-13T13:55:08.756Z] 8998bd30e6a1: Pull complete [2023-07-13T13:55:09.024Z] 04944245beec: Pull complete [2023-07-13T13:55:10.428Z] 699f458cf7ca: Pull complete [2023-07-13T13:55:10.698Z] 765212b225bb: Pull complete [2023-07-13T13:55:11.289Z] f23df028b6ca: Pull complete [2023-07-13T13:55:11.556Z] d65c8cfc05b1: Pull complete [2023-07-13T13:55:33.760Z] 2437ff75d9bd: Pull complete [2023-07-13T13:55:33.760Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-13T13:55:33.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-13T13:55:33.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:55:33.947Z] prd-ubuntu20.04-docker-arm64-4c-16g-1061 does not seem to be running inside a container [2023-07-13T13:55:34.014Z] $ 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/3 -v /w/workspace/device-uart/3:/w/workspace/device-uart/3:rw,z -v /w/workspace/device-uart/3@tmp:/w/workspace/device-uart/3@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-13T13:55:35.673Z] $ docker top 602c2e25e2c21f2bd1d92155bf7628dc2734547cc5d12136290ce998d6636672 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:36.476Z] ---> job-cost.sh [2023-07-13T13:55:36.476Z] lf-activate-venv: SKIPPING [2023-07-13T13:55:36.476Z] INFO: No Stack... [2023-07-13T13:55:37.056Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-13T13:55:37.635Z] INFO: Archiving Costs [Pipeline] sh [2023-07-13T13:55:37.951Z] + cat /w/workspace/device-uart/3/archives/cost.csv [2023-07-13T13:55:37.951Z] + cut -d, -f6 [Pipeline] lock [2023-07-13T13:55:38.014Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] [2023-07-13T13:55:38.020Z] Resource [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] did not exist. Created. [2023-07-13T13:55:38.020Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-13T13:55:38.354Z] /w/workspace/device-uart/3@tmp/durable-6654bc5f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-13T13:55:38.687Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-13T13:55:38.712Z] Warning: overwriting stash ‘stack-cost’ [2023-07-13T13:55:39.079Z] Stashed 1 file(s) [Pipeline] } [2023-07-13T13:55:39.086Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-20-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-13T13:55:39.111Z] $ docker stop --time=1 602c2e25e2c21f2bd1d92155bf7628dc2734547cc5d12136290ce998d6636672 [2023-07-13T13:55:42.269Z] $ docker rm -f --volumes 602c2e25e2c21f2bd1d92155bf7628dc2734547cc5d12136290ce998d6636672 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-13T13:55:42.520Z] 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-13T13:55:43.223Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-20/archives ] [2023-07-13T13:55:43.224Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T13:55:43.224Z] total 16 [2023-07-13T13:55:43.224Z] drwxr-xr-x 3 root root 4096 Jul 13 13:50 . [2023-07-13T13:55:43.224Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 13:50 .. [2023-07-13T13:55:43.224Z] drwxr-xr-x 2 root root 4096 Jul 13 13:50 cost [2023-07-13T13:55:43.224Z] -rw-r--r-- 1 root root 82 Jul 13 13:50 cost.csv [2023-07-13T13:55:43.224Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T13:55:43.224Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-20/archives [2023-07-13T13:55:43.224Z] total 16 [2023-07-13T13:55:43.224Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 13:50 . [2023-07-13T13:55:43.224Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 13:50 .. [2023-07-13T13:55:43.224Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 13:50 cost [2023-07-13T13:55:43.224Z] -rw-r--r-- 1 jenkins jenkins 82 Jul 13 13:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:43.514Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:44.373Z] ---> package-listing.sh [2023-07-13T13:55:44.373Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-13T13:55:44.373Z] ++ facter osfamily [2023-07-13T13:55:44.632Z] + OS_FAMILY=debian [2023-07-13T13:55:44.632Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-20 [2023-07-13T13:55:44.632Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-13T13:55:44.632Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-13T13:55:44.632Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-13T13:55:44.632Z] + PACKAGES=/tmp/packages_start.txt [2023-07-13T13:55:44.632Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T13:55:44.632Z] + PACKAGES=/tmp/packages_end.txt [2023-07-13T13:55:44.632Z] + case "${OS_FAMILY}" in [2023-07-13T13:55:44.632Z] + dpkg -l [2023-07-13T13:55:44.632Z] + grep '^ii' [2023-07-13T13:55:44.632Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-13T13:55:44.632Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-13T13:55:44.632Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-13T13:55:44.632Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-20 ']' [2023-07-13T13:55:44.632Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-20/archives/ [2023-07-13T13:55:44.632Z] + 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-13T13:55:44.642Z] 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-13T13:55:44.919Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-13T13:55:45.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-13T13:55:45.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-13T13:55:45.548Z] prd-ubuntu20.04-docker-8c-8g-1060 does not seem to be running inside a container [2023-07-13T13:55:45.577Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-13T13:55:45.786Z] $ docker top 1e7adceaca290f2e65233bcc6c16ca921306db4f4626a837fe56175636398077 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-13T13:55:46.130Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-13T13:55:46.414Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-13T13:55:46.701Z] + ls /var/log/sa-host [2023-07-13T13:55:46.701Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-13T13:55:46.858Z] provisioning config files... [2023-07-13T13:55:46.867Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-20@tmp/config7807163441200523512tmp [Pipeline] { [Pipeline] echo [2023-07-13T13:55:46.881Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:47.163Z] ---> create-netrc.sh [Pipeline] } [2023-07-13T13:55:47.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:47.522Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-13T13:55:47.530Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:47.820Z] ---> sudo-logs.sh [2023-07-13T13:55:47.820Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-13T13:55:47.853Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:48.142Z] ---> job-cost.sh [2023-07-13T13:55:48.142Z] lf-activate-venv: SKIPPING [2023-07-13T13:55:48.142Z] DEBUG: total: 0.2199999988079071 [2023-07-13T13:55:48.142Z] INFO: Retrieving Stack Cost... [2023-07-13T13:55:49.080Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-13T13:55:49.080Z] INFO: Archiving Costs [Pipeline] echo [2023-07-13T13:55:49.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-13T13:55:49.651Z] ---> logs-deploy.sh [2023-07-13T13:55:49.651Z] lf-activate-venv: SKIPPING [2023-07-13T13:55:49.651Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-20/3 [2023-07-13T13:55:49.651Z] INFO: archiving workspace using pattern(s): [2023-07-13T13:55:50.591Z] Archives upload complete. [2023-07-13T13:55:50.850Z] INFO: archiving logs to Nexus [2023-07-13T13:55:51.420Z] ---> uname -a: [2023-07-13T13:55:51.420Z] Linux prd-ubuntu20-04-docker-8c-8g-1060 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z] ---> lscpu: [2023-07-13T13:55:51.420Z] Architecture: x86_64 [2023-07-13T13:55:51.420Z] CPU op-mode(s): 32-bit, 64-bit [2023-07-13T13:55:51.420Z] Byte Order: Little Endian [2023-07-13T13:55:51.420Z] Address sizes: 40 bits physical, 48 bits virtual [2023-07-13T13:55:51.420Z] CPU(s): 8 [2023-07-13T13:55:51.420Z] On-line CPU(s) list: 0-7 [2023-07-13T13:55:51.420Z] Thread(s) per core: 1 [2023-07-13T13:55:51.420Z] Core(s) per socket: 1 [2023-07-13T13:55:51.420Z] Socket(s): 8 [2023-07-13T13:55:51.420Z] NUMA node(s): 1 [2023-07-13T13:55:51.420Z] Vendor ID: AuthenticAMD [2023-07-13T13:55:51.420Z] CPU family: 23 [2023-07-13T13:55:51.420Z] Model: 49 [2023-07-13T13:55:51.420Z] Model name: AMD EPYC-Rome Processor [2023-07-13T13:55:51.420Z] Stepping: 0 [2023-07-13T13:55:51.420Z] CPU MHz: 2800.000 [2023-07-13T13:55:51.420Z] BogoMIPS: 5600.00 [2023-07-13T13:55:51.420Z] Virtualization: AMD-V [2023-07-13T13:55:51.420Z] Hypervisor vendor: KVM [2023-07-13T13:55:51.420Z] Virtualization type: full [2023-07-13T13:55:51.420Z] L1d cache: 256 KiB [2023-07-13T13:55:51.420Z] L1i cache: 256 KiB [2023-07-13T13:55:51.420Z] L2 cache: 4 MiB [2023-07-13T13:55:51.420Z] L3 cache: 128 MiB [2023-07-13T13:55:51.420Z] NUMA node0 CPU(s): 0-7 [2023-07-13T13:55:51.420Z] Vulnerability Itlb multihit: Not affected [2023-07-13T13:55:51.420Z] Vulnerability L1tf: Not affected [2023-07-13T13:55:51.420Z] Vulnerability Mds: Not affected [2023-07-13T13:55:51.420Z] Vulnerability Meltdown: Not affected [2023-07-13T13:55:51.420Z] Vulnerability Mmio stale data: Not affected [2023-07-13T13:55:51.420Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-07-13T13:55:51.420Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-07-13T13:55:51.420Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-07-13T13:55:51.420Z] Vulnerability Srbds: Not affected [2023-07-13T13:55:51.420Z] Vulnerability Tsx async abort: Not affected [2023-07-13T13:55:51.420Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z] ---> nproc: [2023-07-13T13:55:51.420Z] 8 [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z] ---> df -h: [2023-07-13T13:55:51.420Z] Filesystem Size Used Avail Use% Mounted on [2023-07-13T13:55:51.420Z] overlay 155G 12G 144G 8% / [2023-07-13T13:55:51.420Z] tmpfs 64M 0 64M 0% /dev [2023-07-13T13:55:51.420Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-07-13T13:55:51.420Z] shm 64M 0 64M 0% /dev/shm [2023-07-13T13:55:51.420Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-07-13T13:55:51.420Z] [2023-07-13T13:55:51.420Z]