Pull request #14 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vediyappan-hcl for edgexfoundry/device-uart Loading trusted files from base branch main at 45a931a0542841c366d3c8b3b227d12dead9e8fd rather than 124e7ce8f31a8947612702f0bb96b554a6ae53e5 Obtained Jenkinsfile from 45a931a0542841c366d3c8b3b227d12dead9e8fd Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17631163672680108574.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-ssh9083232342713992542.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17755544604873716651.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-ssh17956440434695933289.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-14/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17625607182689151548.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-uart, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-uart-settings PROJECT: device-uart USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-202 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-uart.git > git init /w/workspace/edgexfoundry_device-uart_PR-14 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 124e7ce8f31a8947612702f0bb96b554a6ae53e5 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 124e7ce8f31a8947612702f0bb96b554a6ae53e5 Checking out Revision 124e7ce8f31a8947612702f0bb96b554a6ae53e5 (PR-14) > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 Commit message: "Merge branch 'main' into main" First time build. Skipping changelog. > git rev-list --no-walk 5115dc3e8e9c6f1474469384f920d3885243d03c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-30T00:40:17.076Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-30T00:40:17.121Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-30T00:40:17.137Z] ========================================================= [2023-06-30T00:40:17.137Z] EdgeX Global Pipelines Version Info [2023-06-30T00:40:17.137Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:40:17.835Z] ------------------- [2023-06-30T00:40:17.836Z] stable info: [2023-06-30T00:40:17.836Z] ------------------- [2023-06-30T00:40:17.836Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-30T00:40:17.836Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-30T00:40:17.836Z] Message: update stable to v1.0.250 [2023-06-30T00:40:18.404Z] ------------------- [2023-06-30T00:40:18.404Z] experimental info: [2023-06-30T00:40:18.404Z] ------------------- [2023-06-30T00:40:18.404Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-30T00:40:18.404Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-30T00:40:18.404Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-30T00:40:18.579Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-06-30T00:40:18.589Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-06-30T00:40:18.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-30T00:40:18.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-30T00:40:18.615Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-30T00:40:18.624Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-30T00:40:18.633Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-30T00:40:18.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-30T00:40:18.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-30T00:40:18.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-30T00:40:18.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-30T00:40:18.702Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-06-30T00:40:18.714Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-30T00:40:18.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-30T00:40:18.738Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-30T00:40:18.750Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-30T00:40:18.761Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-30T00:40:18.773Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-30T00:40:18.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-30T00:40:18.800Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-30T00:40:18.812Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-30T00:40:18.823Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-30T00:40:18.835Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-30T00:40:18.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-30T00:40:18.869Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-30T00:40:18.881Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-30T00:40:18.892Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-30T00:40:18.903Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-14 [Pipeline] echo [2023-06-30T00:40:18.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-14 [Pipeline] echo [2023-06-30T00:40:18.929Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-14 [Pipeline] echo [2023-06-30T00:40:18.944Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo [2023-06-30T00:40:18.961Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 124e7ce [Pipeline] echo [2023-06-30T00:40:18.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T00:40:19.022Z] provisioning config files... [2023-06-30T00:40:19.035Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config116420594703498703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:40:19.338Z] ---> docker-login.sh [2023-06-30T00:40:19.338Z] nexus3.edgexfoundry.org:10001 [2023-06-30T00:40:19.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:19.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:19.856Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:19.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:19.856Z] [2023-06-30T00:40:19.856Z] Login Succeeded [2023-06-30T00:40:19.856Z] nexus3.edgexfoundry.org:10002 [2023-06-30T00:40:19.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:19.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:19.857Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:19.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:19.857Z] [2023-06-30T00:40:19.857Z] Login Succeeded [2023-06-30T00:40:19.857Z] nexus3.edgexfoundry.org:10003 [2023-06-30T00:40:20.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:20.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:20.117Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:20.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:20.117Z] [2023-06-30T00:40:20.117Z] Login Succeeded [2023-06-30T00:40:20.117Z] nexus3.edgexfoundry.org:10004 [2023-06-30T00:40:20.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:20.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:20.117Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:20.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:20.117Z] [2023-06-30T00:40:20.117Z] Login Succeeded [2023-06-30T00:40:20.117Z] docker.io [2023-06-30T00:40:20.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:20.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:20.377Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:20.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:20.377Z] [2023-06-30T00:40:20.377Z] Login Succeeded [2023-06-30T00:40:20.377Z] ---> docker-login.sh ends [Pipeline] } [2023-06-30T00:40:20.385Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-30T00:40:20.758Z] + git rev-list -1 --merges 124e7ce8f31a8947612702f0bb96b554a6ae53e5~1..124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo [2023-06-30T00:40:20.801Z] -----------> git rev-list -1 --merges 124e7ce8f31a8947612702f0bb96b554a6ae53e5~1..124e7ce8f31a8947612702f0bb96b554a6ae53e5 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [2023-06-30T00:40:20.801Z] 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [false] [Pipeline] sh [2023-06-30T00:40:21.091Z] + git log --format=format:%s -1 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo [2023-06-30T00:40:21.107Z] ========================================================= [2023-06-30T00:40:21.107Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-30T00:40:21.107Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-30T00:40:21.442Z] + git log --format=format:%s -1 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [Pipeline] echo [2023-06-30T00:40:21.452Z] [semverPrep] GIT_COMMIT: 124e7ce8f31a8947612702f0bb96b554a6ae53e5, Commit Message: Merge branch 'main' into main [Pipeline] echo [2023-06-30T00:40:21.462Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-30T00:40:21.832Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-30T00:40:21.832Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-30T00:40:21.832Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-30T00:40:21.832Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-30T00:40:21.832Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-30T00:40:21.832Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-30T00:40:21.832Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:40:22.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-30T00:40:22.249Z] [2023-06-30T00:40:22.249Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:40:22.544Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-30T00:40:22.544Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-30T00:40:22.544Z] b85a868b505f: Pulling fs layer [2023-06-30T00:40:22.544Z] e2be974225ed: Pulling fs layer [2023-06-30T00:40:22.544Z] 339a4e72a1f5: Pulling fs layer [2023-06-30T00:40:22.544Z] 988bab9f4d93: Pulling fs layer [2023-06-30T00:40:22.544Z] 1469e6f7b9e6: Pulling fs layer [2023-06-30T00:40:22.544Z] eaf3925da568: Pulling fs layer [2023-06-30T00:40:22.544Z] bab4dde63d76: Pulling fs layer [2023-06-30T00:40:22.544Z] bde34c3a00c8: Pulling fs layer [2023-06-30T00:40:22.544Z] b352a97aabf1: Pulling fs layer [2023-06-30T00:40:22.544Z] 4872d77fe225: Pulling fs layer [2023-06-30T00:40:22.544Z] 5851b861e8e6: Pulling fs layer [2023-06-30T00:40:22.544Z] 988bab9f4d93: Waiting [2023-06-30T00:40:22.544Z] 1469e6f7b9e6: Waiting [2023-06-30T00:40:22.544Z] eaf3925da568: Waiting [2023-06-30T00:40:22.544Z] bab4dde63d76: Waiting [2023-06-30T00:40:22.544Z] bde34c3a00c8: Waiting [2023-06-30T00:40:22.544Z] b352a97aabf1: Waiting [2023-06-30T00:40:22.544Z] 4872d77fe225: Waiting [2023-06-30T00:40:22.544Z] 5851b861e8e6: Waiting [2023-06-30T00:40:22.544Z] e2be974225ed: Download complete [2023-06-30T00:40:22.544Z] 988bab9f4d93: Verifying Checksum [2023-06-30T00:40:22.544Z] 988bab9f4d93: Download complete [2023-06-30T00:40:22.544Z] 1469e6f7b9e6: Verifying Checksum [2023-06-30T00:40:22.544Z] 1469e6f7b9e6: Download complete [2023-06-30T00:40:22.802Z] 339a4e72a1f5: Verifying Checksum [2023-06-30T00:40:22.802Z] 339a4e72a1f5: Download complete [2023-06-30T00:40:22.802Z] eaf3925da568: Verifying Checksum [2023-06-30T00:40:22.802Z] eaf3925da568: Download complete [2023-06-30T00:40:22.802Z] bde34c3a00c8: Download complete [2023-06-30T00:40:22.802Z] b352a97aabf1: Download complete [2023-06-30T00:40:22.802Z] 4872d77fe225: Verifying Checksum [2023-06-30T00:40:22.802Z] 4872d77fe225: Download complete [2023-06-30T00:40:22.802Z] 5851b861e8e6: Download complete [2023-06-30T00:40:22.802Z] b85a868b505f: Verifying Checksum [2023-06-30T00:40:22.802Z] b85a868b505f: Download complete [2023-06-30T00:40:23.061Z] bab4dde63d76: Verifying Checksum [2023-06-30T00:40:23.061Z] bab4dde63d76: Download complete [2023-06-30T00:40:23.995Z] b85a868b505f: Pull complete [2023-06-30T00:40:23.995Z] e2be974225ed: Pull complete [2023-06-30T00:40:24.563Z] 339a4e72a1f5: Pull complete [2023-06-30T00:40:24.563Z] 988bab9f4d93: Pull complete [2023-06-30T00:40:24.823Z] 1469e6f7b9e6: Pull complete [2023-06-30T00:40:24.823Z] eaf3925da568: Pull complete [2023-06-30T00:40:26.730Z] bab4dde63d76: Pull complete [2023-06-30T00:40:26.730Z] bde34c3a00c8: Pull complete [2023-06-30T00:40:26.730Z] b352a97aabf1: Pull complete [2023-06-30T00:40:26.730Z] 4872d77fe225: Pull complete [2023-06-30T00:40:26.730Z] 5851b861e8e6: Pull complete [2023-06-30T00:40:26.730Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-30T00:40:26.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-30T00:40:26.730Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:40:26.822Z] prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container [2023-06-30T00:40:26.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-30T00:40:29.637Z] $ docker top e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c -eo pid,comm [2023-06-30T00:40:29.686Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-06-30T00:40:29.686Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-30T00:40:29.718Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-30T00:40:29.718Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-30T00:40:29.819Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-30T00:40:29.825Z] $ docker exec e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent [2023-06-30T00:40:29.927Z] SSH_AUTH_SOCK=/tmp/ssh-0eEcJs6o0vKC/agent.33 [2023-06-30T00:40:29.927Z] SSH_AGENT_PID=39 [2023-06-30T00:40:29.933Z] Running ssh-add (command line suppressed) [2023-06-30T00:40:30.040Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_16963394042022334834.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_16963394042022334834.key) [2023-06-30T00:40:30.048Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-30T00:40:30.330Z] + git tag --points-at HEAD [Pipeline] } [2023-06-30T00:40:30.348Z] $ docker exec --env ******** --env ******** e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent -k [2023-06-30T00:40:30.462Z] unset SSH_AUTH_SOCK; [2023-06-30T00:40:30.463Z] unset SSH_AGENT_PID; [2023-06-30T00:40:30.463Z] echo Agent pid 39 killed; [2023-06-30T00:40:30.480Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-30T00:40:30.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-30T00:40:30.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-30T00:40:30.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-30T00:40:30.606Z] $ docker exec e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent [2023-06-30T00:40:30.695Z] SSH_AUTH_SOCK=/tmp/ssh-QkVJAKCSfQ5p/agent.71 [2023-06-30T00:40:30.695Z] SSH_AGENT_PID=77 [2023-06-30T00:40:30.700Z] Running ssh-add (command line suppressed) [2023-06-30T00:40:30.795Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_18131753725154201831.key (/w/workspace/edgexfoundry_device-uart_PR-14@tmp/private_key_18131753725154201831.key) [2023-06-30T00:40:30.806Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-30T00:40:31.097Z] + git semver init [2023-06-30T00:40:31.356Z] 2023-06-30 00:40:31,263 [run_init] DEBUG init version:0.0.0 force:False [2023-06-30T00:40:31.356Z] 2023-06-30 00:40:31,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-30T00:40:31.356Z] 2023-06-30 00:40:31,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-14/.semver [2023-06-30T00:40:31.356Z] 2023-06-30 00:40:31,265 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-14/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14, universal_newlines=False, shell=None, istream=None) [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,059 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-14/.git/info/exclude [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,059 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 with force:False [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,059 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,063 [execute] INFO git cat-file --batch-check [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,064 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,069 [execute] INFO git cat-file --batch [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,069 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-14/.semver, universal_newlines=False, shell=None, istream=) [2023-06-30T00:40:32.293Z] 2023-06-30 00:40:32,073 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-14/.semver/PR-14 [2023-06-30T00:40:32.293Z] 0.0.0 [Pipeline] } [2023-06-30T00:40:32.305Z] $ docker exec --env ******** --env ******** e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c ssh-agent -k [2023-06-30T00:40:32.395Z] unset SSH_AUTH_SOCK; [2023-06-30T00:40:32.395Z] unset SSH_AGENT_PID; [2023-06-30T00:40:32.396Z] echo Agent pid 77 killed; [2023-06-30T00:40:32.403Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-30T00:40:32.701Z] + git semver [Pipeline] } [2023-06-30T00:40:32.975Z] $ docker stop --time=1 e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c [2023-06-30T00:40:34.293Z] $ docker rm -f --volumes e3e7e173d2ef66d90c6ce8c752aba5e16679ca6caa762ee5368531daa4a2f07c [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-30T00:40:34.627Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-30T00:40:34.839Z] Stashed 1 file(s) [Pipeline] echo [2023-06-30T00:40:34.842Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T00:40:34.948Z] provisioning config files... [2023-06-30T00:40:34.958Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11591132079476398095tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:40:35.261Z] ---> docker-login.sh [2023-06-30T00:40:35.261Z] nexus3.edgexfoundry.org:10001 [2023-06-30T00:40:35.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:35.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:35.261Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:35.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:35.261Z] [2023-06-30T00:40:35.261Z] Login Succeeded [2023-06-30T00:40:35.261Z] nexus3.edgexfoundry.org:10002 [2023-06-30T00:40:35.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:35.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:35.261Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:35.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:35.261Z] [2023-06-30T00:40:35.261Z] Login Succeeded [2023-06-30T00:40:35.261Z] nexus3.edgexfoundry.org:10003 [2023-06-30T00:40:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:35.520Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:35.520Z] [2023-06-30T00:40:35.520Z] Login Succeeded [2023-06-30T00:40:35.520Z] nexus3.edgexfoundry.org:10004 [2023-06-30T00:40:35.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:35.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:35.520Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:35.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:35.520Z] [2023-06-30T00:40:35.520Z] Login Succeeded [2023-06-30T00:40:35.520Z] docker.io [2023-06-30T00:40:35.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:40:35.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:40:35.779Z] Configure a credential helper to remove this warning. See [2023-06-30T00:40:35.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:40:35.779Z] [2023-06-30T00:40:35.779Z] Login Succeeded [2023-06-30T00:40:35.779Z] ---> docker-login.sh ends [Pipeline] } [2023-06-30T00:40:35.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-30T00:40:35.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T00:40:35.859Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T00:40:35.865Z] ========================================================= [2023-06-30T00:40:35.865Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-30T00:40:35.865Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:40:36.162Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-30T00:40:36.162Z] Sending build context to Docker daemon 11.07MB [2023-06-30T00:40:36.162Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-30T00:40:36.162Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-30T00:40:36.427Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-30T00:40:36.427Z] f56be85fc22e: Pulling fs layer [2023-06-30T00:40:36.427Z] 85791d961cd3: Pulling fs layer [2023-06-30T00:40:36.427Z] d694b5ae8c79: Pulling fs layer [2023-06-30T00:40:36.427Z] 9f32a84ed3da: Pulling fs layer [2023-06-30T00:40:36.427Z] 4d19c01a9841: Pulling fs layer [2023-06-30T00:40:36.427Z] 9325e15d5711: Pulling fs layer [2023-06-30T00:40:36.427Z] 556b6ee489ea: Pulling fs layer [2023-06-30T00:40:36.427Z] c5a4b2cf53e6: Pulling fs layer [2023-06-30T00:40:36.427Z] 4d19c01a9841: Waiting [2023-06-30T00:40:36.427Z] 9325e15d5711: Waiting [2023-06-30T00:40:36.427Z] 556b6ee489ea: Waiting [2023-06-30T00:40:36.427Z] c5a4b2cf53e6: Waiting [2023-06-30T00:40:36.427Z] 9f32a84ed3da: Waiting [2023-06-30T00:40:36.427Z] 85791d961cd3: Download complete [2023-06-30T00:40:36.427Z] 9f32a84ed3da: Verifying Checksum [2023-06-30T00:40:36.427Z] 9f32a84ed3da: Download complete [2023-06-30T00:40:36.427Z] 4d19c01a9841: Verifying Checksum [2023-06-30T00:40:36.427Z] 4d19c01a9841: Download complete [2023-06-30T00:40:36.427Z] f56be85fc22e: Download complete [2023-06-30T00:40:36.427Z] 9325e15d5711: Verifying Checksum [2023-06-30T00:40:36.427Z] 9325e15d5711: Download complete [2023-06-30T00:40:36.688Z] f56be85fc22e: Pull complete [2023-06-30T00:40:36.955Z] 85791d961cd3: Pull complete [2023-06-30T00:40:37.213Z] c5a4b2cf53e6: Verifying Checksum [2023-06-30T00:40:37.213Z] c5a4b2cf53e6: Download complete [2023-06-30T00:40:37.213Z] d694b5ae8c79: Verifying Checksum [2023-06-30T00:40:37.213Z] d694b5ae8c79: Download complete [2023-06-30T00:40:37.471Z] 556b6ee489ea: Verifying Checksum [2023-06-30T00:40:37.471Z] 556b6ee489ea: Download complete [2023-06-30T00:40:40.754Z] d694b5ae8c79: Pull complete [2023-06-30T00:40:40.754Z] 9f32a84ed3da: Pull complete [2023-06-30T00:40:40.754Z] 4d19c01a9841: Pull complete [2023-06-30T00:40:41.012Z] 9325e15d5711: Pull complete [2023-06-30T00:40:43.589Z] 556b6ee489ea: Pull complete [2023-06-30T00:40:44.154Z] c5a4b2cf53e6: Pull complete [2023-06-30T00:40:44.154Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-30T00:40:44.412Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-30T00:40:44.412Z] ---> c4be618373d6 [2023-06-30T00:40:44.412Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-30T00:40:49.919Z] Still waiting to schedule task [2023-06-30T00:40:49.919Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-199’ [2023-06-30T00:40:59.290Z] ---> Running in 2d25df0a286e [2023-06-30T00:40:59.290Z] Removing intermediate container 2d25df0a286e [2023-06-30T00:40:59.290Z] ---> c3578f1b98e3 [2023-06-30T00:40:59.290Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-30T00:40:59.290Z] ---> Running in d9eb8adfe775 [2023-06-30T00:40:59.290Z] Removing intermediate container d9eb8adfe775 [2023-06-30T00:40:59.290Z] ---> 0edb155ad488 [2023-06-30T00:40:59.290Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-30T00:40:59.290Z] ---> Running in 92926f5e9667 [2023-06-30T00:40:59.290Z] Removing intermediate container 92926f5e9667 [2023-06-30T00:40:59.290Z] ---> b447504a7f6d [2023-06-30T00:40:59.290Z] Step 6/12 : WORKDIR /device-uart [2023-06-30T00:40:59.290Z] ---> Running in 460ebaadb5e4 [2023-06-30T00:40:59.858Z] Removing intermediate container 460ebaadb5e4 [2023-06-30T00:40:59.858Z] ---> 5038071c317b [2023-06-30T00:40:59.858Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-30T00:40:59.858Z] ---> Running in aa7a506f5d80 [2023-06-30T00:41:00.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-30T00:41:00.687Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-30T00:41:00.946Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-30T00:41:00.946Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-30T00:41:00.946Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-30T00:41:00.946Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-30T00:41:00.946Z] Executing busybox-1.35.0-r29.trigger [2023-06-30T00:41:00.946Z] OK: 269 MiB in 57 packages [2023-06-30T00:41:01.515Z] Removing intermediate container aa7a506f5d80 [2023-06-30T00:41:01.515Z] ---> 63cb8292d878 [2023-06-30T00:41:01.515Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-30T00:41:01.515Z] ---> b8154d6c7c1b [2023-06-30T00:41:01.515Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-30T00:41:01.515Z] ---> Running in 0f0d0d828e75 [2023-06-30T00:41:57.774Z] Removing intermediate container 0f0d0d828e75 [2023-06-30T00:41:57.774Z] ---> 6838cada86a6 [2023-06-30T00:41:57.774Z] Step 10/12 : COPY . . [2023-06-30T00:41:57.774Z] ---> 9b99ac427d8e [2023-06-30T00:41:57.774Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-30T00:41:57.774Z] ---> Running in 710264ccb58b [2023-06-30T00:41:57.774Z] Removing intermediate container 710264ccb58b [2023-06-30T00:41:57.774Z] ---> cfdb9f5632a2 [2023-06-30T00:41:57.774Z] Step 12/12 : RUN ${MAKE} [2023-06-30T00:41:57.774Z] ---> Running in a883992414fa [2023-06-30T00:41:57.774Z] noop [2023-06-30T00:41:57.774Z] Removing intermediate container a883992414fa [2023-06-30T00:41:57.774Z] ---> f59d93c9ab8b [2023-06-30T00:41:57.774Z] Successfully built f59d93c9ab8b [2023-06-30T00:41:57.774Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:41:58.097Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-30T00:41:58.097Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:41:58.175Z] prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container [2023-06-30T00:41:58.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-30T00:41:58.548Z] $ docker top 9f11b6983bdf24ca4e9d085b62e52419de784109676720b8b17c62e0495d4694 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T00:41:58.894Z] + go version [2023-06-30T00:41:58.895Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-30T00:41:58.908Z] $ docker stop --time=1 9f11b6983bdf24ca4e9d085b62e52419de784109676720b8b17c62e0495d4694 [2023-06-30T00:42:00.162Z] $ docker rm -f --volumes 9f11b6983bdf24ca4e9d085b62e52419de784109676720b8b17c62e0495d4694 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:42:00.584Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-30T00:42:00.584Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:42:00.661Z] prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container [2023-06-30T00:42:00.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-30T00:42:01.036Z] $ docker top 3e76298af47904bcdc8b3ac9c329a251a54ca88965b8529f99b0e4827345e998 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T00:42:01.375Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] fileExists [Pipeline] sh [2023-06-30T00:42:01.676Z] + make test [2023-06-30T00:42:01.676Z] go test ./... -coverprofile=coverage.out [2023-06-30T00:42:06.942Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-30T00:42:15.046Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-30T00:42:15.046Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-30T00:42:20.309Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-30T00:42:23.596Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-30T00:42:23.596Z] ./internal/driver/driver.go [2023-06-30T00:42:23.596Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-30T00:42:23.596Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2023-06-30T00:42:23.617Z] $ docker stop --time=1 3e76298af47904bcdc8b3ac9c329a251a54ca88965b8529f99b0e4827345e998 [2023-06-30T00:42:26.531Z] $ docker rm -f --volumes 3e76298af47904bcdc8b3ac9c329a251a54ca88965b8529f99b0e4827345e998 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:42:27.137Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T00:42:27.137Z] [2023-06-30T00:42:27.137Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:42:27.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T00:42:27.433Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-30T00:42:27.433Z] 5eb5b503b376: Pulling fs layer [2023-06-30T00:42:27.433Z] 5c69ac0246d0: Pulling fs layer [2023-06-30T00:42:27.433Z] ec43610c2a17: Pulling fs layer [2023-06-30T00:42:27.433Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-30T00:42:27.433Z] 33b1e0a273af: Pulling fs layer [2023-06-30T00:42:27.433Z] 5d3b04190fa2: Pulling fs layer [2023-06-30T00:42:27.433Z] 2f39f015ded8: Pulling fs layer [2023-06-30T00:42:27.433Z] 2f39f015ded8: Waiting [2023-06-30T00:42:27.433Z] 5d3b04190fa2: Waiting [2023-06-30T00:42:27.433Z] 3a2ae6a8a46f: Waiting [2023-06-30T00:42:27.433Z] 33b1e0a273af: Waiting [2023-06-30T00:42:27.433Z] 5c69ac0246d0: Download complete [2023-06-30T00:42:27.433Z] 3a2ae6a8a46f: Download complete [2023-06-30T00:42:27.433Z] 33b1e0a273af: Download complete [2023-06-30T00:42:27.693Z] 5d3b04190fa2: Verifying Checksum [2023-06-30T00:42:27.693Z] 5d3b04190fa2: Download complete [2023-06-30T00:42:27.693Z] ec43610c2a17: Verifying Checksum [2023-06-30T00:42:27.693Z] ec43610c2a17: Download complete [2023-06-30T00:42:27.693Z] 5eb5b503b376: Verifying Checksum [2023-06-30T00:42:27.693Z] 5eb5b503b376: Download complete [2023-06-30T00:42:28.286Z] 2f39f015ded8: Download complete [2023-06-30T00:42:28.852Z] 5eb5b503b376: Pull complete [2023-06-30T00:42:28.852Z] 5c69ac0246d0: Pull complete [2023-06-30T00:42:29.417Z] ec43610c2a17: Pull complete [2023-06-30T00:42:29.417Z] 3a2ae6a8a46f: Pull complete [2023-06-30T00:42:29.675Z] 33b1e0a273af: Pull complete [2023-06-30T00:42:29.675Z] 5d3b04190fa2: Pull complete [2023-06-30T00:42:33.858Z] 2f39f015ded8: Pull complete [2023-06-30T00:42:33.858Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-30T00:42:33.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T00:42:33.858Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:42:33.946Z] prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container [2023-06-30T00:42:33.977Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-30T00:42:37.689Z] $ docker top cc8f18e95390781ed0105867871adebcb63f71cb1354e36364a026ee24e2b417 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:42:38.081Z] ---> job-cost.sh [2023-06-30T00:42:38.081Z] lf-activate-venv: SKIPPING [2023-06-30T00:42:38.081Z] INFO: No Stack... [2023-06-30T00:42:38.341Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-30T00:42:38.907Z] INFO: Archiving Costs [Pipeline] sh [2023-06-30T00:42:39.193Z] + cat /w/workspace/edgexfoundry_device-uart_PR-14/archives/cost.csv [2023-06-30T00:42:39.193Z] + cut -d, -f6 [Pipeline] lock [2023-06-30T00:42:39.207Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [2023-06-30T00:42:39.213Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] did not exist. Created. [2023-06-30T00:42:39.213Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-30T00:42:39.521Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-30T00:42:39.558Z] Stashed 1 file(s) [Pipeline] } [2023-06-30T00:42:39.566Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-30T00:42:39.587Z] $ docker stop --time=1 cc8f18e95390781ed0105867871adebcb63f71cb1354e36364a026ee24e2b417 [2023-06-30T00:42:40.726Z] $ docker rm -f --volumes cc8f18e95390781ed0105867871adebcb63f71cb1354e36364a026ee24e2b417 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-30T00:42:40.815Z] Failed in branch amd64 [2023-06-30T00:43:16.907Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-203 in /w/workspace/edgexfoundry_device-uart_PR-14 [Pipeline] { [Pipeline] ws [2023-06-30T00:43:16.921Z] Running in /w/workspace/device-uart/10 [Pipeline] { [Pipeline] checkout [2023-06-30T00:43:16.956Z] The recommended git tool is: git [2023-06-30T00:43:22.092Z] using credential edgex-jenkins-ssh [2023-06-30T00:43:22.108Z] Cloning the remote Git repository [2023-06-30T00:43:22.154Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-06-30T00:43:22.242Z] > git init /w/workspace/device-uart/10 # timeout=10 [2023-06-30T00:43:22.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-30T00:43:22.372Z] > git --version # timeout=10 [2023-06-30T00:43:22.392Z] > git --version # 'git version 2.25.1' [2023-06-30T00:43:22.395Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-30T00:43:22.538Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-30T00:43:23.620Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-30T00:43:23.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-30T00:43:25.018Z] Merging remotes/origin/main commit 45a931a0542841c366d3c8b3b227d12dead9e8fd into PR head commit 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [2023-06-30T00:43:25.260Z] Merge succeeded, producing 124e7ce8f31a8947612702f0bb96b554a6ae53e5 [2023-06-30T00:43:25.261Z] Checking out Revision 124e7ce8f31a8947612702f0bb96b554a6ae53e5 (PR-14) [2023-06-30T00:43:24.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-30T00:43:24.514Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-30T00:43:24.515Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-30T00:43:24.532Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/14/head:refs/remotes/origin/PR-14 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-30T00:43:25.036Z] > git config core.sparsecheckout # timeout=10 [2023-06-30T00:43:25.101Z] > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 [2023-06-30T00:43:25.167Z] > git remote # timeout=10 [2023-06-30T00:43:25.188Z] > git config --get remote.origin.url # timeout=10 [2023-06-30T00:43:25.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-30T00:43:25.219Z] > git merge 45a931a0542841c366d3c8b3b227d12dead9e8fd # timeout=10 [2023-06-30T00:43:25.241Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-30T00:43:25.269Z] > git config core.sparsecheckout # timeout=10 [2023-06-30T00:43:25.285Z] > git checkout -f 124e7ce8f31a8947612702f0bb96b554a6ae53e5 # timeout=10 [2023-06-30T00:43:28.701Z] Commit message: "Merge branch 'main' into main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-30T00:43:29.592Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-30T00:43:29.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-30T00:43:29.592Z] Dload Upload Total Spent Left Speed [2023-06-30T00:43:29.592Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh [2023-06-30T00:43:30.430Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-30T00:43:30.765Z] + sudo tee /etc/docker/daemon.new [2023-06-30T00:43:30.765Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-30T00:43:30.765Z] { [2023-06-30T00:43:30.765Z] "registry-mirrors": [ [2023-06-30T00:43:30.765Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-30T00:43:30.765Z] ], [2023-06-30T00:43:30.765Z] "bip": "10.250.0.254/24", [2023-06-30T00:43:30.765Z] "hosts": [ [2023-06-30T00:43:30.765Z] "tcp://0.0.0.0:5555", [2023-06-30T00:43:30.765Z] "unix:///var/run/docker.sock" [2023-06-30T00:43:30.765Z] ], [2023-06-30T00:43:30.765Z] "mtu": 1458, [2023-06-30T00:43:30.765Z] "selinux-enabled": true, [2023-06-30T00:43:30.765Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-30T00:43:30.765Z] } [Pipeline] sh [2023-06-30T00:43:31.098Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-30T00:43:31.436Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T00:43:49.725Z] provisioning config files... [2023-06-30T00:43:49.754Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/10@tmp/config3069705343041056568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:43:50.112Z] ---> docker-login.sh [2023-06-30T00:43:50.112Z] nexus3.edgexfoundry.org:10001 [2023-06-30T00:43:50.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:43:50.674Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:43:50.674Z] Configure a credential helper to remove this warning. See [2023-06-30T00:43:50.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:43:50.674Z] [2023-06-30T00:43:50.674Z] Login Succeeded [2023-06-30T00:43:50.674Z] nexus3.edgexfoundry.org:10002 [2023-06-30T00:43:50.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:43:50.952Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:43:50.952Z] Configure a credential helper to remove this warning. See [2023-06-30T00:43:50.952Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:43:50.952Z] [2023-06-30T00:43:50.952Z] Login Succeeded [2023-06-30T00:43:50.952Z] nexus3.edgexfoundry.org:10003 [2023-06-30T00:43:51.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:43:51.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:43:51.492Z] Configure a credential helper to remove this warning. See [2023-06-30T00:43:51.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:43:51.492Z] [2023-06-30T00:43:51.492Z] Login Succeeded [2023-06-30T00:43:51.492Z] nexus3.edgexfoundry.org:10004 [2023-06-30T00:43:51.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:43:51.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:43:51.758Z] Configure a credential helper to remove this warning. See [2023-06-30T00:43:51.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:43:51.758Z] [2023-06-30T00:43:51.758Z] Login Succeeded [2023-06-30T00:43:51.758Z] docker.io [2023-06-30T00:43:52.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-30T00:43:52.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-30T00:43:52.295Z] Configure a credential helper to remove this warning. See [2023-06-30T00:43:52.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-30T00:43:52.295Z] [2023-06-30T00:43:52.295Z] Login Succeeded [2023-06-30T00:43:52.295Z] ---> docker-login.sh ends [Pipeline] } [2023-06-30T00:43:52.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-30T00:43:52.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T00:43:52.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-30T00:43:52.608Z] ========================================================= [2023-06-30T00:43:52.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-30T00:43:52.608Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:43:52.966Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-30T00:43:53.235Z] Sending build context to Docker daemon 5.595MB [2023-06-30T00:43:53.235Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-06-30T00:43:53.235Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-30T00:43:53.504Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-30T00:43:53.504Z] c41833b44d91: Pulling fs layer [2023-06-30T00:43:53.504Z] ed15518f5707: Pulling fs layer [2023-06-30T00:43:53.504Z] feae8fd75edb: Pulling fs layer [2023-06-30T00:43:53.504Z] 242c74f7c9fa: Pulling fs layer [2023-06-30T00:43:53.504Z] 3cdef696dda3: Pulling fs layer [2023-06-30T00:43:53.504Z] 2ced38df9373: Pulling fs layer [2023-06-30T00:43:53.504Z] 58f1dce35555: Pulling fs layer [2023-06-30T00:43:53.504Z] 3cdef696dda3: Waiting [2023-06-30T00:43:53.504Z] 242c74f7c9fa: Waiting [2023-06-30T00:43:53.504Z] 2ced38df9373: Waiting [2023-06-30T00:43:53.504Z] ed15518f5707: Verifying Checksum [2023-06-30T00:43:53.504Z] ed15518f5707: Download complete [2023-06-30T00:43:53.504Z] 242c74f7c9fa: Verifying Checksum [2023-06-30T00:43:53.504Z] 242c74f7c9fa: Download complete [2023-06-30T00:43:53.504Z] 3cdef696dda3: Verifying Checksum [2023-06-30T00:43:53.504Z] 3cdef696dda3: Download complete [2023-06-30T00:43:53.504Z] c41833b44d91: Download complete [2023-06-30T00:43:54.484Z] c41833b44d91: Pull complete [2023-06-30T00:43:54.767Z] 58f1dce35555: Verifying Checksum [2023-06-30T00:43:54.767Z] 58f1dce35555: Download complete [2023-06-30T00:43:55.047Z] ed15518f5707: Pull complete [2023-06-30T00:43:56.018Z] feae8fd75edb: Verifying Checksum [2023-06-30T00:43:56.018Z] feae8fd75edb: Download complete [2023-06-30T00:43:56.018Z] 2ced38df9373: Verifying Checksum [2023-06-30T00:44:06.102Z] feae8fd75edb: Pull complete [2023-06-30T00:44:06.374Z] 242c74f7c9fa: Pull complete [2023-06-30T00:44:06.643Z] 3cdef696dda3: Pull complete [2023-06-30T00:44:13.311Z] 2ced38df9373: Pull complete [2023-06-30T00:44:15.906Z] 58f1dce35555: Pull complete [2023-06-30T00:44:15.906Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-30T00:44:15.906Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-30T00:44:15.906Z] ---> fadd8f120f05 [2023-06-30T00:44:15.906Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-30T00:44:17.870Z] ---> Running in dcdfe1f96470 [2023-06-30T00:44:17.870Z] Removing intermediate container dcdfe1f96470 [2023-06-30T00:44:17.870Z] ---> 0e35ec9dda16 [2023-06-30T00:44:17.870Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-30T00:44:18.145Z] ---> Running in 09ae13a70dca [2023-06-30T00:44:18.413Z] Removing intermediate container 09ae13a70dca [2023-06-30T00:44:18.413Z] ---> 29689f9abf26 [2023-06-30T00:44:18.413Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-30T00:44:18.413Z] ---> Running in e3068fd154fb [2023-06-30T00:44:18.682Z] Removing intermediate container e3068fd154fb [2023-06-30T00:44:18.682Z] ---> 7aa272b6d629 [2023-06-30T00:44:18.682Z] Step 6/12 : WORKDIR /device-uart [2023-06-30T00:44:18.682Z] ---> Running in d72917cbc2f8 [2023-06-30T00:44:18.952Z] Removing intermediate container d72917cbc2f8 [2023-06-30T00:44:18.952Z] ---> 68e36caa23f6 [2023-06-30T00:44:18.952Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-30T00:44:19.219Z] ---> Running in 3287d9f6334b [2023-06-30T00:44:20.181Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-30T00:44:20.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-30T00:44:21.811Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-30T00:44:21.811Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-30T00:44:21.811Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-30T00:44:21.811Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-30T00:44:21.811Z] Executing busybox-1.35.0-r29.trigger [2023-06-30T00:44:22.079Z] OK: 268 MiB in 57 packages [2023-06-30T00:44:23.055Z] Removing intermediate container 3287d9f6334b [2023-06-30T00:44:23.055Z] ---> 4283ccd00a7c [2023-06-30T00:44:23.055Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-30T00:44:23.641Z] ---> e8691ff004fb [2023-06-30T00:44:23.641Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-30T00:44:23.641Z] ---> Running in 3b439328f7f7 [2023-06-30T00:45:31.516Z] Removing intermediate container 3b439328f7f7 [2023-06-30T00:45:31.517Z] ---> 68ba82bc6d42 [2023-06-30T00:45:31.517Z] Step 10/12 : COPY . . [2023-06-30T00:45:31.517Z] ---> 8ffee755f4a3 [2023-06-30T00:45:31.517Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-30T00:45:31.517Z] ---> Running in 90fd0cc0139d [2023-06-30T00:45:31.517Z] Removing intermediate container 90fd0cc0139d [2023-06-30T00:45:31.517Z] ---> bef6ae106a70 [2023-06-30T00:45:31.517Z] Step 12/12 : RUN ${MAKE} [2023-06-30T00:45:31.517Z] ---> Running in fbfde73ce84b [2023-06-30T00:45:31.517Z] noop [2023-06-30T00:45:31.517Z] Removing intermediate container fbfde73ce84b [2023-06-30T00:45:31.517Z] ---> b383166d4814 [2023-06-30T00:45:31.517Z] Successfully built b383166d4814 [2023-06-30T00:45:31.517Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:45:31.873Z] + docker inspect -f . ci-base-image-arm64 [2023-06-30T00:45:31.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:45:32.092Z] prd-ubuntu20.04-docker-arm64-4c-16g-203 does not seem to be running inside a container [2023-06-30T00:45:32.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-30T00:45:33.388Z] $ docker top 7659dec954dbfe0c8ec8344ad2e77e73c11b87adc39b3db8023b36a7911560e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T00:45:34.225Z] + go version [2023-06-30T00:45:34.225Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-30T00:45:34.245Z] $ docker stop --time=1 7659dec954dbfe0c8ec8344ad2e77e73c11b87adc39b3db8023b36a7911560e6 [2023-06-30T00:45:35.867Z] $ docker rm -f --volumes 7659dec954dbfe0c8ec8344ad2e77e73c11b87adc39b3db8023b36a7911560e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:45:36.377Z] + docker inspect -f . ci-base-image-arm64 [2023-06-30T00:45:36.377Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:45:36.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-203 does not seem to be running inside a container [2023-06-30T00:45:36.618Z] $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-30T00:45:37.667Z] $ docker top 5ca07b8b7aa0972e776b8a081a96907f962572f6bb5790019f667bcd5552c89b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T00:45:38.156Z] + git config --global --add safe.directory /w/workspace/device-uart/10 [Pipeline] fileExists [Pipeline] sh [2023-06-30T00:45:38.483Z] + make test [2023-06-30T00:45:38.483Z] go test ./... -coverprofile=coverage.out [2023-06-30T00:46:17.352Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-30T00:48:09.017Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-30T00:48:09.017Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-30T00:48:09.017Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-06-30T00:48:09.017Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-30T00:48:35.723Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-30T00:48:35.723Z] ./internal/driver/driver.go [2023-06-30T00:48:35.723Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-30T00:48:35.723Z] make: *** [Makefile:41: test] Error 1 [Pipeline] } [2023-06-30T00:48:35.745Z] $ docker stop --time=1 5ca07b8b7aa0972e776b8a081a96907f962572f6bb5790019f667bcd5552c89b [2023-06-30T00:48:37.771Z] $ docker rm -f --volumes 5ca07b8b7aa0972e776b8a081a96907f962572f6bb5790019f667bcd5552c89b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:48:39.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-30T00:48:39.068Z] [2023-06-30T00:48:39.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:48:39.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-30T00:48:39.413Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-30T00:48:39.413Z] 8998bd30e6a1: Pulling fs layer [2023-06-30T00:48:39.413Z] 04944245beec: Pulling fs layer [2023-06-30T00:48:39.413Z] 699f458cf7ca: Pulling fs layer [2023-06-30T00:48:39.413Z] 765212b225bb: Pulling fs layer [2023-06-30T00:48:39.413Z] f23df028b6ca: Pulling fs layer [2023-06-30T00:48:39.413Z] d65c8cfc05b1: Pulling fs layer [2023-06-30T00:48:39.413Z] 2437ff75d9bd: Pulling fs layer [2023-06-30T00:48:39.413Z] f23df028b6ca: Waiting [2023-06-30T00:48:39.413Z] d65c8cfc05b1: Waiting [2023-06-30T00:48:39.413Z] 2437ff75d9bd: Waiting [2023-06-30T00:48:39.413Z] 765212b225bb: Waiting [2023-06-30T00:48:39.683Z] 04944245beec: Verifying Checksum [2023-06-30T00:48:39.683Z] 04944245beec: Download complete [2023-06-30T00:48:39.683Z] 765212b225bb: Verifying Checksum [2023-06-30T00:48:39.683Z] 765212b225bb: Download complete [2023-06-30T00:48:39.683Z] f23df028b6ca: Verifying Checksum [2023-06-30T00:48:39.683Z] f23df028b6ca: Download complete [2023-06-30T00:48:39.683Z] d65c8cfc05b1: Verifying Checksum [2023-06-30T00:48:39.683Z] d65c8cfc05b1: Download complete [2023-06-30T00:48:39.953Z] 699f458cf7ca: Verifying Checksum [2023-06-30T00:48:39.953Z] 699f458cf7ca: Download complete [2023-06-30T00:48:40.542Z] 8998bd30e6a1: Verifying Checksum [2023-06-30T00:48:40.542Z] 8998bd30e6a1: Download complete [2023-06-30T00:48:44.795Z] 2437ff75d9bd: Verifying Checksum [2023-06-30T00:48:44.795Z] 2437ff75d9bd: Download complete [2023-06-30T00:48:47.373Z] 8998bd30e6a1: Pull complete [2023-06-30T00:48:49.324Z] 04944245beec: Pull complete [2023-06-30T00:48:50.763Z] 699f458cf7ca: Pull complete [2023-06-30T00:48:50.763Z] 765212b225bb: Pull complete [2023-06-30T00:48:51.726Z] f23df028b6ca: Pull complete [2023-06-30T00:48:51.994Z] d65c8cfc05b1: Pull complete [2023-06-30T00:49:06.989Z] 2437ff75d9bd: Pull complete [2023-06-30T00:49:06.989Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-30T00:49:06.989Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-30T00:49:06.989Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:49:07.185Z] prd-ubuntu20.04-docker-arm64-4c-16g-203 does not seem to be running inside a container [2023-06-30T00:49:07.251Z] $ 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/10 -v /w/workspace/device-uart/10:/w/workspace/device-uart/10:rw,z -v /w/workspace/device-uart/10@tmp:/w/workspace/device-uart/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-30T00:49:10.143Z] $ docker top fbcf4fd45c628ad8f42f0bc5b46dd7b9571c5f211d9ec94ca05ac0bb3f00b9e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:10.981Z] ---> job-cost.sh [2023-06-30T00:49:10.981Z] lf-activate-venv: SKIPPING [2023-06-30T00:49:10.981Z] INFO: No Stack... [2023-06-30T00:49:11.251Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-30T00:49:12.211Z] INFO: Archiving Costs [Pipeline] sh [2023-06-30T00:49:12.533Z] + cat /w/workspace/device-uart/10/archives/cost.csv [2023-06-30T00:49:12.533Z] + cut -d, -f6 [Pipeline] lock [2023-06-30T00:49:12.599Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [2023-06-30T00:49:12.607Z] Resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] did not exist. Created. [2023-06-30T00:49:12.607Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-30T00:49:13.260Z] /w/workspace/device-uart/10@tmp/durable-c6058f6a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-30T00:49:13.592Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-30T00:49:13.613Z] Warning: overwriting stash ‘stack-cost’ [2023-06-30T00:49:14.004Z] Stashed 1 file(s) [Pipeline] } [2023-06-30T00:49:14.012Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-14-10-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-30T00:49:14.037Z] $ docker stop --time=1 fbcf4fd45c628ad8f42f0bc5b46dd7b9571c5f211d9ec94ca05ac0bb3f00b9e0 [2023-06-30T00:49:15.522Z] $ docker rm -f --volumes fbcf4fd45c628ad8f42f0bc5b46dd7b9571c5f211d9ec94ca05ac0bb3f00b9e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-30T00:49:15.783Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-06-30T00:49:16.485Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-14/archives ] [2023-06-30T00:49:16.485Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-30T00:49:16.485Z] total 16 [2023-06-30T00:49:16.485Z] drwxr-xr-x 3 root root 4096 Jun 30 00:42 . [2023-06-30T00:49:16.485Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 00:42 .. [2023-06-30T00:49:16.485Z] drwxr-xr-x 2 root root 4096 Jun 30 00:42 cost [2023-06-30T00:49:16.485Z] -rw-r--r-- 1 root root 83 Jun 30 00:42 cost.csv [2023-06-30T00:49:16.485Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-30T00:49:16.485Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-14/archives [2023-06-30T00:49:16.485Z] total 16 [2023-06-30T00:49:16.485Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 00:42 . [2023-06-30T00:49:16.485Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 00:42 .. [2023-06-30T00:49:16.485Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 00:42 cost [2023-06-30T00:49:16.485Z] -rw-r--r-- 1 jenkins jenkins 83 Jun 30 00:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:16.777Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:17.634Z] ---> package-listing.sh [2023-06-30T00:49:17.634Z] ++ facter osfamily [2023-06-30T00:49:17.634Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-30T00:49:17.894Z] + OS_FAMILY=debian [2023-06-30T00:49:17.894Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-14 [2023-06-30T00:49:17.894Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-30T00:49:17.894Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-30T00:49:17.894Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-30T00:49:17.894Z] + PACKAGES=/tmp/packages_start.txt [2023-06-30T00:49:17.894Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-30T00:49:17.894Z] + PACKAGES=/tmp/packages_end.txt [2023-06-30T00:49:17.894Z] + case "${OS_FAMILY}" in [2023-06-30T00:49:17.894Z] + dpkg -l [2023-06-30T00:49:17.894Z] + grep '^ii' [2023-06-30T00:49:17.894Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-30T00:49:17.894Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-30T00:49:17.894Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-30T00:49:17.894Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-14 ']' [2023-06-30T00:49:17.894Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [2023-06-30T00:49:17.894Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-14/archives/ [Pipeline] echo [2023-06-30T00:49:17.905Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-30T00:49:18.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-30T00:49:18.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-30T00:49:18.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-30T00:49:18.824Z] prd-ubuntu20.04-docker-8c-8g-202 does not seem to be running inside a container [2023-06-30T00:49:18.855Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-uart_PR-14/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-uart_PR-14 -v /w/workspace/edgexfoundry_device-uart_PR-14:/w/workspace/edgexfoundry_device-uart_PR-14:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-14@tmp:/w/workspace/edgexfoundry_device-uart_PR-14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-30T00:49:19.073Z] $ docker top 1b49d0f58bdfb607e46af18b41434ee14c0cc00fc9426631555447e16865e48a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-30T00:49:19.410Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-30T00:49:19.695Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-30T00:49:19.979Z] + ls /var/log/sa-host [2023-06-30T00:49:19.979Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-30T00:49:20.124Z] provisioning config files... [2023-06-30T00:49:20.133Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-14@tmp/config11544588685443929902tmp [Pipeline] { [Pipeline] echo [2023-06-30T00:49:20.142Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:20.419Z] ---> create-netrc.sh [Pipeline] } [2023-06-30T00:49:20.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:20.761Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-30T00:49:20.769Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:21.054Z] ---> sudo-logs.sh [2023-06-30T00:49:21.054Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-30T00:49:21.084Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:21.366Z] ---> job-cost.sh [2023-06-30T00:49:21.366Z] lf-activate-venv: SKIPPING [2023-06-30T00:49:21.366Z] DEBUG: total: 0.2199999988079071 [2023-06-30T00:49:21.366Z] INFO: Retrieving Stack Cost... [2023-06-30T00:49:21.933Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-30T00:49:22.193Z] INFO: Archiving Costs [Pipeline] echo [2023-06-30T00:49:22.201Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-30T00:49:22.480Z] ---> logs-deploy.sh [2023-06-30T00:49:22.480Z] lf-activate-venv: SKIPPING [2023-06-30T00:49:22.480Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-14/10 [2023-06-30T00:49:22.480Z] INFO: archiving workspace using pattern(s): [2023-06-30T00:49:23.418Z] Archives upload complete. [2023-06-30T00:49:23.418Z] INFO: archiving logs to Nexus