Started by user Ernesto Ojeda 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 lenny-intel for edgexfoundry/device-uart Obtained Jenkinsfile from 58df4ce731a2656a4d55a8bfd2b22e7f551af182+76742ff9602b72f1c5afc2fbf46c0c306594ce56 (36a533714457124e0640ec29060107d9fca5940b) 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-ssh10113974871807176857.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-ssh7592096045721796222.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-8/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-8/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1503805156192098122.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-ssh450323093765708412.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-8/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-8/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2127413547532238391.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-17 in /w/workspace/edgexfoundry_device-uart_PR-8 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE 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-8 # 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 Merging remotes/origin/main commit 76742ff9602b72f1c5afc2fbf46c0c306594ce56 into PR head commit 58df4ce731a2656a4d55a8bfd2b22e7f551af182 Merge succeeded, producing 58df4ce731a2656a4d55a8bfd2b22e7f551af182 Checking out Revision 58df4ce731a2656a4d55a8bfd2b22e7f551af182 (PR-8) > 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/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # 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 76742ff9602b72f1c5afc2fbf46c0c306594ce56 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 Commit message: "build: Add jenkinsfile" > git rev-list --no-walk 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-27T03:08:58.148Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-27T03:08:58.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-27T03:08:58.204Z] ========================================================= [2023-06-27T03:08:58.205Z] EdgeX Global Pipelines Version Info [2023-06-27T03:08:58.205Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:08:59.283Z] ------------------- [2023-06-27T03:08:59.283Z] stable info: [2023-06-27T03:08:59.283Z] ------------------- [2023-06-27T03:08:59.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-27T03:08:59.283Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-27T03:08:59.283Z] Message: update stable to v1.0.250 [2023-06-27T03:08:59.854Z] ------------------- [2023-06-27T03:08:59.854Z] experimental info: [2023-06-27T03:08:59.854Z] ------------------- [2023-06-27T03:08:59.854Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-27T03:08:59.854Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-27T03:08:59.854Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-27T03:09:00.006Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2023-06-27T03:09:00.018Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2023-06-27T03:09:00.034Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-27T03:09:00.049Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-27T03:09:00.060Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-27T03:09:00.073Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-27T03:09:00.090Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-27T03:09:00.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-27T03:09:00.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-27T03:09:00.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-27T03:09:00.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-27T03:09:00.170Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2023-06-27T03:09:00.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-27T03:09:00.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-27T03:09:00.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-27T03:09:00.225Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-27T03:09:00.238Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-27T03:09:00.251Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-27T03:09:00.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-27T03:09:00.286Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-27T03:09:00.303Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-27T03:09:00.316Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-27T03:09:00.328Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-27T03:09:00.344Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-27T03:09:00.357Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-27T03:09:00.371Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-27T03:09:00.385Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-27T03:09:00.400Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-8 [Pipeline] echo [2023-06-27T03:09:00.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-8 [Pipeline] echo [2023-06-27T03:09:00.434Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-8 [Pipeline] echo [2023-06-27T03:09:00.454Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo [2023-06-27T03:09:00.471Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58df4ce [Pipeline] echo [2023-06-27T03:09:00.490Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-27T03:09:00.538Z] provisioning config files... [2023-06-27T03:09:00.556Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-8@tmp/config194670098612222035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:09:00.863Z] ---> docker-login.sh [2023-06-27T03:09:00.863Z] nexus3.edgexfoundry.org:10001 [2023-06-27T03:09:01.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:01.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:01.124Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:01.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:01.124Z] [2023-06-27T03:09:01.124Z] Login Succeeded [2023-06-27T03:09:01.124Z] nexus3.edgexfoundry.org:10002 [2023-06-27T03:09:01.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:01.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:01.386Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:01.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:01.386Z] [2023-06-27T03:09:01.386Z] Login Succeeded [2023-06-27T03:09:01.386Z] nexus3.edgexfoundry.org:10003 [2023-06-27T03:09:01.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:01.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:01.386Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:01.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:01.386Z] [2023-06-27T03:09:01.386Z] Login Succeeded [2023-06-27T03:09:01.386Z] nexus3.edgexfoundry.org:10004 [2023-06-27T03:09:01.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:01.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:01.651Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:01.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:01.651Z] [2023-06-27T03:09:01.651Z] Login Succeeded [2023-06-27T03:09:01.651Z] docker.io [2023-06-27T03:09:01.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:01.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:01.912Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:01.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:01.912Z] [2023-06-27T03:09:01.912Z] Login Succeeded [2023-06-27T03:09:01.912Z] ---> docker-login.sh ends [Pipeline] } [2023-06-27T03:09:01.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-27T03:09:02.298Z] + git rev-list -1 --merges 58df4ce731a2656a4d55a8bfd2b22e7f551af182~1..58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo [2023-06-27T03:09:02.345Z] -----------> git rev-list -1 --merges 58df4ce731a2656a4d55a8bfd2b22e7f551af182~1..58df4ce731a2656a4d55a8bfd2b22e7f551af182 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [false] [Pipeline] sh [2023-06-27T03:09:02.636Z] + git log --format=format:%s -1 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo [2023-06-27T03:09:02.654Z] ========================================================= [2023-06-27T03:09:02.654Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-27T03:09:02.654Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-27T03:09:02.974Z] + git log --format=format:%s -1 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [Pipeline] echo [2023-06-27T03:09:02.984Z] [semverPrep] GIT_COMMIT: 58df4ce731a2656a4d55a8bfd2b22e7f551af182, Commit Message: build: Add jenkinsfile [Pipeline] echo [2023-06-27T03:09:02.994Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-27T03:09:03.364Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-27T03:09:03.364Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-27T03:09:03.364Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-27T03:09:03.364Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-27T03:09:03.364Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-27T03:09:03.364Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-27T03:09:03.364Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:09:03.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-27T03:09:03.744Z] [2023-06-27T03:09:03.744Z] 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-27T03:09:04.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-27T03:09:04.044Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-27T03:09:04.044Z] b85a868b505f: Pulling fs layer [2023-06-27T03:09:04.044Z] e2be974225ed: Pulling fs layer [2023-06-27T03:09:04.044Z] 339a4e72a1f5: Pulling fs layer [2023-06-27T03:09:04.044Z] 988bab9f4d93: Pulling fs layer [2023-06-27T03:09:04.044Z] 1469e6f7b9e6: Pulling fs layer [2023-06-27T03:09:04.044Z] eaf3925da568: Pulling fs layer [2023-06-27T03:09:04.044Z] bab4dde63d76: Pulling fs layer [2023-06-27T03:09:04.044Z] bde34c3a00c8: Pulling fs layer [2023-06-27T03:09:04.044Z] b352a97aabf1: Pulling fs layer [2023-06-27T03:09:04.044Z] 4872d77fe225: Pulling fs layer [2023-06-27T03:09:04.044Z] 5851b861e8e6: Pulling fs layer [2023-06-27T03:09:04.044Z] 988bab9f4d93: Waiting [2023-06-27T03:09:04.044Z] bde34c3a00c8: Waiting [2023-06-27T03:09:04.044Z] bab4dde63d76: Waiting [2023-06-27T03:09:04.044Z] 4872d77fe225: Waiting [2023-06-27T03:09:04.044Z] eaf3925da568: Waiting [2023-06-27T03:09:04.044Z] b352a97aabf1: Waiting [2023-06-27T03:09:04.044Z] 1469e6f7b9e6: Waiting [2023-06-27T03:09:04.044Z] e2be974225ed: Download complete [2023-06-27T03:09:04.044Z] 988bab9f4d93: Download complete [2023-06-27T03:09:04.044Z] 1469e6f7b9e6: Verifying Checksum [2023-06-27T03:09:04.044Z] 1469e6f7b9e6: Download complete [2023-06-27T03:09:04.309Z] eaf3925da568: Download complete [2023-06-27T03:09:04.309Z] 339a4e72a1f5: Verifying Checksum [2023-06-27T03:09:04.309Z] bde34c3a00c8: Verifying Checksum [2023-06-27T03:09:04.309Z] bde34c3a00c8: Download complete [2023-06-27T03:09:04.309Z] b352a97aabf1: Verifying Checksum [2023-06-27T03:09:04.309Z] b352a97aabf1: Download complete [2023-06-27T03:09:04.309Z] 4872d77fe225: Verifying Checksum [2023-06-27T03:09:04.309Z] 4872d77fe225: Download complete [2023-06-27T03:09:04.309Z] 5851b861e8e6: Verifying Checksum [2023-06-27T03:09:04.309Z] b85a868b505f: Verifying Checksum [2023-06-27T03:09:04.309Z] b85a868b505f: Download complete [2023-06-27T03:09:04.569Z] bab4dde63d76: Verifying Checksum [2023-06-27T03:09:04.569Z] bab4dde63d76: Download complete [2023-06-27T03:09:05.509Z] b85a868b505f: Pull complete [2023-06-27T03:09:05.766Z] e2be974225ed: Pull complete [2023-06-27T03:09:06.026Z] 339a4e72a1f5: Pull complete [2023-06-27T03:09:06.286Z] 988bab9f4d93: Pull complete [2023-06-27T03:09:06.545Z] 1469e6f7b9e6: Pull complete [2023-06-27T03:09:06.545Z] eaf3925da568: Pull complete [2023-06-27T03:09:08.448Z] bab4dde63d76: Pull complete [2023-06-27T03:09:08.448Z] bde34c3a00c8: Pull complete [2023-06-27T03:09:08.448Z] b352a97aabf1: Pull complete [2023-06-27T03:09:08.448Z] 4872d77fe225: Pull complete [2023-06-27T03:09:08.448Z] 5851b861e8e6: Pull complete [2023-06-27T03:09:08.448Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-27T03:09:08.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-27T03:09:08.448Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:09:08.563Z] prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container [2023-06-27T03:09:08.606Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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-06-27T03:09:11.715Z] $ docker top 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 -eo pid,comm [2023-06-27T03:09:11.767Z] 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-27T03:09:11.767Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-27T03:09:11.805Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-27T03:09:11.805Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-27T03:09:11.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-27T03:09:11.925Z] $ docker exec 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 ssh-agent [2023-06-27T03:09:12.040Z] SSH_AUTH_SOCK=/tmp/ssh-SiAMLSDOd76k/agent.32 [2023-06-27T03:09:12.040Z] SSH_AGENT_PID=38 [2023-06-27T03:09:12.047Z] Running ssh-add (command line suppressed) [2023-06-27T03:09:12.150Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_8477097398126966478.key (/w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_8477097398126966478.key) [2023-06-27T03:09:12.163Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-27T03:09:12.452Z] + git tag --points-at HEAD [Pipeline] } [2023-06-27T03:09:12.464Z] $ docker exec --env ******** --env ******** 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 ssh-agent -k [2023-06-27T03:09:12.558Z] unset SSH_AUTH_SOCK; [2023-06-27T03:09:12.558Z] unset SSH_AGENT_PID; [2023-06-27T03:09:12.558Z] echo Agent pid 38 killed; [2023-06-27T03:09:12.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-27T03:09:12.596Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-27T03:09:12.596Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-27T03:09:12.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-27T03:09:12.708Z] $ docker exec 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 ssh-agent [2023-06-27T03:09:12.814Z] SSH_AUTH_SOCK=/tmp/ssh-wArlFSyePlNW/agent.70 [2023-06-27T03:09:12.814Z] SSH_AGENT_PID=76 [2023-06-27T03:09:12.818Z] Running ssh-add (command line suppressed) [2023-06-27T03:09:12.927Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_14679655886665383825.key (/w/workspace/edgexfoundry_device-uart_PR-8@tmp/private_key_14679655886665383825.key) [2023-06-27T03:09:12.939Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-27T03:09:13.227Z] + git semver init [2023-06-27T03:09:13.488Z] 2023-06-27 03:09:13,402 [run_init] DEBUG init version:0.0.0 force:False [2023-06-27T03:09:13.488Z] 2023-06-27 03:09:13,402 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-8/.semver [2023-06-27T03:09:13.488Z] 2023-06-27 03:09:13,403 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-8/.semver [2023-06-27T03:09:13.488Z] 2023-06-27 03:09:13,403 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-8/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-8, universal_newlines=False, shell=None, istream=None) [2023-06-27T03:09:14.427Z] 2023-06-27 03:09:14,199 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-8/.git/info/exclude [2023-06-27T03:09:14.427Z] 2023-06-27 03:09:14,199 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-8/.semver/PR-8 with force:False [2023-06-27T03:09:14.427Z] 2023-06-27 03:09:14,199 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-8/.semver/PR-8 [2023-06-27T03:09:14.427Z] 2023-06-27 03:09:14,200 [write_version] DEBUG version is same as current version 0.0.0 [2023-06-27T03:09:14.427Z] 2023-06-27 03:09:14,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-8/.semver/PR-8 [2023-06-27T03:09:14.427Z] 0.0.0 [Pipeline] } [2023-06-27T03:09:14.444Z] $ docker exec --env ******** --env ******** 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 ssh-agent -k [2023-06-27T03:09:14.529Z] unset SSH_AUTH_SOCK; [2023-06-27T03:09:14.529Z] unset SSH_AGENT_PID; [2023-06-27T03:09:14.529Z] echo Agent pid 76 killed; [2023-06-27T03:09:14.536Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-27T03:09:14.842Z] + git semver [Pipeline] } [2023-06-27T03:09:15.115Z] $ docker stop --time=1 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 [2023-06-27T03:09:16.374Z] $ docker rm -f --volumes 14969425bdadfb2c6b09f61ac90223332bf14a758161a4f99b7ac2a3c72e0d78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-27T03:09:16.712Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-27T03:09:17.018Z] Stashed 1 file(s) [Pipeline] echo [2023-06-27T03:09:17.021Z] [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-27T03:09:17.157Z] provisioning config files... [2023-06-27T03:09:17.181Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-8@tmp/config16425738499160270837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:09:17.496Z] ---> docker-login.sh [2023-06-27T03:09:17.496Z] nexus3.edgexfoundry.org:10001 [2023-06-27T03:09:17.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:17.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:17.497Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:17.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:17.497Z] [2023-06-27T03:09:17.497Z] Login Succeeded [2023-06-27T03:09:17.497Z] nexus3.edgexfoundry.org:10002 [2023-06-27T03:09:17.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:17.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:17.497Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:17.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:17.497Z] [2023-06-27T03:09:17.497Z] Login Succeeded [2023-06-27T03:09:17.497Z] nexus3.edgexfoundry.org:10003 [2023-06-27T03:09:17.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:17.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:17.757Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:17.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:17.757Z] [2023-06-27T03:09:17.757Z] Login Succeeded [2023-06-27T03:09:17.757Z] nexus3.edgexfoundry.org:10004 [2023-06-27T03:09:17.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:17.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:17.757Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:17.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:17.757Z] [2023-06-27T03:09:17.757Z] Login Succeeded [2023-06-27T03:09:17.757Z] docker.io [2023-06-27T03:09:17.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:09:18.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:09:18.016Z] Configure a credential helper to remove this warning. See [2023-06-27T03:09:18.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:09:18.016Z] [2023-06-27T03:09:18.016Z] Login Succeeded [2023-06-27T03:09:18.016Z] ---> docker-login.sh ends [Pipeline] } [2023-06-27T03:09:18.024Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-27T03:09:18.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T03:09:18.108Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T03:09:18.115Z] ========================================================= [2023-06-27T03:09:18.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-27T03:09:18.116Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:09:18.429Z] + 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-27T03:09:18.429Z] Sending build context to Docker daemon 11.49MB [2023-06-27T03:09:18.429Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-06-27T03:09:18.429Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-27T03:09:18.429Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-27T03:09:18.429Z] f56be85fc22e: Pulling fs layer [2023-06-27T03:09:18.429Z] 85791d961cd3: Pulling fs layer [2023-06-27T03:09:18.429Z] d694b5ae8c79: Pulling fs layer [2023-06-27T03:09:18.429Z] 9f32a84ed3da: Pulling fs layer [2023-06-27T03:09:18.429Z] 4d19c01a9841: Pulling fs layer [2023-06-27T03:09:18.429Z] 9325e15d5711: Pulling fs layer [2023-06-27T03:09:18.429Z] 556b6ee489ea: Pulling fs layer [2023-06-27T03:09:18.429Z] c5a4b2cf53e6: Pulling fs layer [2023-06-27T03:09:18.429Z] 9f32a84ed3da: Waiting [2023-06-27T03:09:18.429Z] 9325e15d5711: Waiting [2023-06-27T03:09:18.429Z] 4d19c01a9841: Waiting [2023-06-27T03:09:18.429Z] c5a4b2cf53e6: Waiting [2023-06-27T03:09:18.429Z] 556b6ee489ea: Waiting [2023-06-27T03:09:18.690Z] 85791d961cd3: Verifying Checksum [2023-06-27T03:09:18.690Z] 85791d961cd3: Download complete [2023-06-27T03:09:18.690Z] 9f32a84ed3da: Verifying Checksum [2023-06-27T03:09:18.690Z] 9f32a84ed3da: Download complete [2023-06-27T03:09:18.690Z] 4d19c01a9841: Verifying Checksum [2023-06-27T03:09:18.690Z] 4d19c01a9841: Download complete [2023-06-27T03:09:18.690Z] f56be85fc22e: Download complete [2023-06-27T03:09:18.690Z] 9325e15d5711: Verifying Checksum [2023-06-27T03:09:18.690Z] 9325e15d5711: Download complete [2023-06-27T03:09:18.690Z] f56be85fc22e: Pull complete [2023-06-27T03:09:18.951Z] 85791d961cd3: Pull complete [2023-06-27T03:09:19.210Z] c5a4b2cf53e6: Verifying Checksum [2023-06-27T03:09:19.210Z] c5a4b2cf53e6: Download complete [2023-06-27T03:09:19.210Z] d694b5ae8c79: Verifying Checksum [2023-06-27T03:09:19.210Z] d694b5ae8c79: Download complete [2023-06-27T03:09:19.468Z] 556b6ee489ea: Verifying Checksum [2023-06-27T03:09:19.468Z] 556b6ee489ea: Download complete [2023-06-27T03:09:22.751Z] d694b5ae8c79: Pull complete [2023-06-27T03:09:22.751Z] 9f32a84ed3da: Pull complete [2023-06-27T03:09:22.751Z] 4d19c01a9841: Pull complete [2023-06-27T03:09:22.751Z] 9325e15d5711: Pull complete [2023-06-27T03:09:25.284Z] 556b6ee489ea: Pull complete [2023-06-27T03:09:26.222Z] c5a4b2cf53e6: Pull complete [2023-06-27T03:09:26.222Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-27T03:09:26.222Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-27T03:09:26.222Z] ---> c4be618373d6 [2023-06-27T03:09:26.222Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-27T03:09:30.425Z] ---> Running in c8a9ea7b6a9b [2023-06-27T03:09:30.684Z] Removing intermediate container c8a9ea7b6a9b [2023-06-27T03:09:30.684Z] ---> dd154403f1f8 [2023-06-27T03:09:30.684Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-27T03:09:30.684Z] ---> Running in ba6f66999146 [2023-06-27T03:09:30.684Z] Removing intermediate container ba6f66999146 [2023-06-27T03:09:30.684Z] ---> 0a6cfc546430 [2023-06-27T03:09:30.684Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-27T03:09:30.684Z] ---> Running in d9fe561f4c1a [2023-06-27T03:09:30.944Z] Removing intermediate container d9fe561f4c1a [2023-06-27T03:09:30.944Z] ---> 7ac04d71aab2 [2023-06-27T03:09:30.944Z] Step 6/12 : WORKDIR /device-uart [2023-06-27T03:09:30.944Z] ---> Running in 049192631c10 [2023-06-27T03:09:30.944Z] Removing intermediate container 049192631c10 [2023-06-27T03:09:30.944Z] ---> 176649c386d4 [2023-06-27T03:09:30.944Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-27T03:09:30.944Z] ---> Running in 3782eb1bdce6 [2023-06-27T03:09:31.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-27T03:09:31.462Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-27T03:09:31.722Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-27T03:09:31.723Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-27T03:09:31.723Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-27T03:09:31.723Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-27T03:09:31.723Z] Executing busybox-1.35.0-r29.trigger [2023-06-27T03:09:31.723Z] OK: 269 MiB in 57 packages [2023-06-27T03:09:32.124Z] Still waiting to schedule task [2023-06-27T03:09:32.125Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-06-27T03:09:32.290Z] Removing intermediate container 3782eb1bdce6 [2023-06-27T03:09:32.290Z] ---> 0e54f118af25 [2023-06-27T03:09:32.290Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-27T03:09:32.549Z] ---> e857280aa8c0 [2023-06-27T03:09:32.549Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-27T03:09:32.549Z] ---> Running in 3dfe32341f57 [2023-06-27T03:09:54.492Z] Removing intermediate container 3dfe32341f57 [2023-06-27T03:09:54.492Z] ---> ccab2e23756d [2023-06-27T03:09:54.492Z] Step 10/12 : COPY . . [2023-06-27T03:09:54.492Z] ---> d8f03f7b49b9 [2023-06-27T03:09:54.492Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-27T03:09:54.492Z] ---> Running in 08225e494fe3 [2023-06-27T03:09:54.492Z] Removing intermediate container 08225e494fe3 [2023-06-27T03:09:54.492Z] ---> 1f15f4d46f62 [2023-06-27T03:09:54.492Z] Step 12/12 : RUN ${MAKE} [2023-06-27T03:09:54.492Z] ---> Running in 8b2076ab894a [2023-06-27T03:09:54.492Z] noop [2023-06-27T03:09:54.751Z] Removing intermediate container 8b2076ab894a [2023-06-27T03:09:54.751Z] ---> 843249faae97 [2023-06-27T03:09:54.751Z] Successfully built 843249faae97 [2023-06-27T03:09:54.751Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:09:55.056Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-27T03:09:55.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:09:55.132Z] prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container [2023-06-27T03:09:55.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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-06-27T03:09:55.482Z] $ docker top 722dda1d3dc4175c3a7f9f3f06c8498d32f2aee9698900c80cfd05d627ea6285 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T03:09:55.840Z] + go version [2023-06-27T03:09:55.840Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-27T03:09:55.853Z] $ docker stop --time=1 722dda1d3dc4175c3a7f9f3f06c8498d32f2aee9698900c80cfd05d627ea6285 [2023-06-27T03:09:57.118Z] $ docker rm -f --volumes 722dda1d3dc4175c3a7f9f3f06c8498d32f2aee9698900c80cfd05d627ea6285 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:09:57.519Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-27T03:09:57.519Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:09:57.589Z] prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container [2023-06-27T03:09:57.625Z] $ 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-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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-06-27T03:09:57.948Z] $ docker top 45368fc8c996f030f6cbcf5d81484decfba36c32921474bac607c2cb0871407e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T03:09:58.274Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-8 [Pipeline] fileExists [Pipeline] sh [2023-06-27T03:09:58.563Z] + make test [2023-06-27T03:09:58.564Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-06-27T03:10:03.828Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-27T03:10:11.933Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-27T03:10:11.933Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-27T03:10:11.933Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-27T03:10:15.211Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-27T03:10:15.211Z] ./internal/driver/drv_uart_generic.go [2023-06-27T03:10:15.211Z] ./internal/driver/driver.go [2023-06-27T03:10:15.211Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-27T03:10:15.211Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2023-06-27T03:10:15.227Z] $ docker stop --time=1 45368fc8c996f030f6cbcf5d81484decfba36c32921474bac607c2cb0871407e [2023-06-27T03:10:18.295Z] $ docker rm -f --volumes 45368fc8c996f030f6cbcf5d81484decfba36c32921474bac607c2cb0871407e [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-27T03:10:18.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T03:10:18.841Z] [2023-06-27T03:10:18.841Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:10:19.133Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T03:10:19.133Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-27T03:10:19.133Z] 5eb5b503b376: Pulling fs layer [2023-06-27T03:10:19.133Z] 5c69ac0246d0: Pulling fs layer [2023-06-27T03:10:19.133Z] ec43610c2a17: Pulling fs layer [2023-06-27T03:10:19.133Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-27T03:10:19.133Z] 33b1e0a273af: Pulling fs layer [2023-06-27T03:10:19.133Z] 5d3b04190fa2: Pulling fs layer [2023-06-27T03:10:19.133Z] 2f39f015ded8: Pulling fs layer [2023-06-27T03:10:19.133Z] 3a2ae6a8a46f: Waiting [2023-06-27T03:10:19.133Z] 5d3b04190fa2: Waiting [2023-06-27T03:10:19.133Z] 2f39f015ded8: Waiting [2023-06-27T03:10:19.133Z] 5c69ac0246d0: Verifying Checksum [2023-06-27T03:10:19.133Z] 5c69ac0246d0: Download complete [2023-06-27T03:10:19.133Z] 3a2ae6a8a46f: Download complete [2023-06-27T03:10:19.392Z] 33b1e0a273af: Verifying Checksum [2023-06-27T03:10:19.392Z] 33b1e0a273af: Download complete [2023-06-27T03:10:19.392Z] 5d3b04190fa2: Verifying Checksum [2023-06-27T03:10:19.392Z] 5d3b04190fa2: Download complete [2023-06-27T03:10:19.392Z] ec43610c2a17: Verifying Checksum [2023-06-27T03:10:19.392Z] ec43610c2a17: Download complete [2023-06-27T03:10:19.392Z] 5eb5b503b376: Verifying Checksum [2023-06-27T03:10:19.392Z] 5eb5b503b376: Download complete [2023-06-27T03:10:19.958Z] 2f39f015ded8: Download complete [2023-06-27T03:10:20.523Z] 5eb5b503b376: Pull complete [2023-06-27T03:10:20.781Z] 5c69ac0246d0: Pull complete [2023-06-27T03:10:21.039Z] ec43610c2a17: Pull complete [2023-06-27T03:10:21.039Z] 3a2ae6a8a46f: Pull complete [2023-06-27T03:10:21.296Z] 33b1e0a273af: Pull complete [2023-06-27T03:10:21.296Z] 5d3b04190fa2: Pull complete [2023-06-27T03:10:25.472Z] 2f39f015ded8: Pull complete [2023-06-27T03:10:25.472Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-27T03:10:25.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T03:10:25.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:10:25.557Z] prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container [2023-06-27T03:10:25.588Z] $ 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-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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-06-27T03:10:29.850Z] $ docker top 5f75b3b60cff3a72e78c1e58f41cf0e08523fa9c0f8f892618f2d6f761a8c5cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:10:30.249Z] ---> job-cost.sh [2023-06-27T03:10:30.249Z] lf-activate-venv: SKIPPING [2023-06-27T03:10:30.249Z] INFO: No Stack... [2023-06-27T03:10:30.508Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-27T03:10:31.075Z] INFO: Archiving Costs [Pipeline] sh [2023-06-27T03:10:31.363Z] + cut -d, -f6 [2023-06-27T03:10:31.363Z] + cat /w/workspace/edgexfoundry_device-uart_PR-8/archives/cost.csv [Pipeline] lock [2023-06-27T03:10:31.376Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] [2023-06-27T03:10:31.382Z] Resource [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] did not exist. Created. [2023-06-27T03:10:31.382Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-27T03:10:31.687Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-27T03:10:31.724Z] Stashed 1 file(s) [Pipeline] } [2023-06-27T03:10:31.730Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-27T03:10:31.751Z] $ docker stop --time=1 5f75b3b60cff3a72e78c1e58f41cf0e08523fa9c0f8f892618f2d6f761a8c5cc [2023-06-27T03:10:32.898Z] $ docker rm -f --volumes 5f75b3b60cff3a72e78c1e58f41cf0e08523fa9c0f8f892618f2d6f761a8c5cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-27T03:10:33.002Z] Failed in branch amd64 [2023-06-27T03:14:31.168Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-18 in /w/workspace/edgexfoundry_device-uart_PR-8 [Pipeline] { [Pipeline] ws [2023-06-27T03:14:31.185Z] Running in /w/workspace/device-uart/8 [Pipeline] { [Pipeline] checkout [2023-06-27T03:14:31.230Z] The recommended git tool is: NONE [2023-06-27T03:14:36.809Z] using credential edgex-jenkins-ssh [2023-06-27T03:14:36.832Z] Cloning the remote Git repository [2023-06-27T03:14:36.873Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2023-06-27T03:14:36.959Z] > git init /w/workspace/device-uart/8 # timeout=10 [2023-06-27T03:14:37.116Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-27T03:14:37.117Z] > git --version # timeout=10 [2023-06-27T03:14:37.142Z] > git --version # 'git version 2.25.1' [2023-06-27T03:14:37.145Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-27T03:14:37.306Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-27T03:14:39.300Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-27T03:14:39.334Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-27T03:14:40.857Z] Merging remotes/origin/main commit 76742ff9602b72f1c5afc2fbf46c0c306594ce56 into PR head commit 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [2023-06-27T03:14:41.180Z] Merge succeeded, producing 58df4ce731a2656a4d55a8bfd2b22e7f551af182 [2023-06-27T03:14:41.181Z] Checking out Revision 58df4ce731a2656a4d55a8bfd2b22e7f551af182 (PR-8) [2023-06-27T03:14:40.312Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2023-06-27T03:14:40.363Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2023-06-27T03:14:40.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-27T03:14:40.382Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/8/head:refs/remotes/origin/PR-8 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-27T03:14:40.878Z] > git config core.sparsecheckout # timeout=10 [2023-06-27T03:14:40.968Z] > git checkout -f 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 [2023-06-27T03:14:41.057Z] > git remote # timeout=10 [2023-06-27T03:14:41.081Z] > git config --get remote.origin.url # timeout=10 [2023-06-27T03:14:41.100Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-27T03:14:41.117Z] > git merge 76742ff9602b72f1c5afc2fbf46c0c306594ce56 # timeout=10 [2023-06-27T03:14:41.150Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-27T03:14:41.186Z] > git config core.sparsecheckout # timeout=10 [2023-06-27T03:14:41.202Z] > git checkout -f 58df4ce731a2656a4d55a8bfd2b22e7f551af182 # timeout=10 [2023-06-27T03:14:44.685Z] Commit message: "build: Add jenkinsfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-27T03:14:45.677Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-27T03:14:45.678Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-27T03:14:45.678Z] Dload Upload Total Spent Left Speed [2023-06-27T03:14:45.678Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh [2023-06-27T03:14:46.433Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-27T03:14:46.775Z] + sudo tee /etc/docker/daemon.new [2023-06-27T03:14:46.775Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-27T03:14:46.775Z] { [2023-06-27T03:14:46.775Z] "registry-mirrors": [ [2023-06-27T03:14:46.775Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-27T03:14:46.775Z] ], [2023-06-27T03:14:46.775Z] "bip": "10.250.0.254/24", [2023-06-27T03:14:46.775Z] "hosts": [ [2023-06-27T03:14:46.775Z] "tcp://0.0.0.0:5555", [2023-06-27T03:14:46.775Z] "unix:///var/run/docker.sock" [2023-06-27T03:14:46.775Z] ], [2023-06-27T03:14:46.775Z] "mtu": 1458, [2023-06-27T03:14:46.775Z] "selinux-enabled": true, [2023-06-27T03:14:46.775Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-27T03:14:46.775Z] } [Pipeline] sh [2023-06-27T03:14:47.107Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-27T03:14:47.441Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-27T03:15:05.731Z] provisioning config files... [2023-06-27T03:15:05.762Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/8@tmp/config7952794001122307552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:15:06.127Z] ---> docker-login.sh [2023-06-27T03:15:06.127Z] nexus3.edgexfoundry.org:10001 [2023-06-27T03:15:06.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:15:06.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:15:06.990Z] Configure a credential helper to remove this warning. See [2023-06-27T03:15:06.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:15:06.990Z] [2023-06-27T03:15:06.990Z] Login Succeeded [2023-06-27T03:15:06.990Z] nexus3.edgexfoundry.org:10002 [2023-06-27T03:15:07.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:15:07.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:15:07.261Z] Configure a credential helper to remove this warning. See [2023-06-27T03:15:07.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:15:07.261Z] [2023-06-27T03:15:07.261Z] Login Succeeded [2023-06-27T03:15:07.261Z] nexus3.edgexfoundry.org:10003 [2023-06-27T03:15:07.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:15:07.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:15:07.803Z] Configure a credential helper to remove this warning. See [2023-06-27T03:15:07.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:15:07.803Z] [2023-06-27T03:15:07.803Z] Login Succeeded [2023-06-27T03:15:07.803Z] nexus3.edgexfoundry.org:10004 [2023-06-27T03:15:08.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:15:08.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:15:08.076Z] Configure a credential helper to remove this warning. See [2023-06-27T03:15:08.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:15:08.076Z] [2023-06-27T03:15:08.076Z] Login Succeeded [2023-06-27T03:15:08.076Z] docker.io [2023-06-27T03:15:08.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-27T03:15:08.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-27T03:15:08.612Z] Configure a credential helper to remove this warning. See [2023-06-27T03:15:08.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-27T03:15:08.612Z] [2023-06-27T03:15:08.612Z] Login Succeeded [2023-06-27T03:15:08.612Z] ---> docker-login.sh ends [Pipeline] } [2023-06-27T03:15:08.628Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-27T03:15:08.897Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T03:15:08.916Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-27T03:15:08.934Z] ========================================================= [2023-06-27T03:15:08.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-27T03:15:08.934Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:15:09.277Z] + 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-27T03:15:09.548Z] Sending build context to Docker daemon 6.027MB [2023-06-27T03:15:09.548Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-06-27T03:15:09.548Z] Step 2/12 : FROM ${BASE} AS builder [2023-06-27T03:15:09.816Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-27T03:15:09.816Z] c41833b44d91: Pulling fs layer [2023-06-27T03:15:09.816Z] ed15518f5707: Pulling fs layer [2023-06-27T03:15:09.816Z] feae8fd75edb: Pulling fs layer [2023-06-27T03:15:09.816Z] 242c74f7c9fa: Pulling fs layer [2023-06-27T03:15:09.816Z] 3cdef696dda3: Pulling fs layer [2023-06-27T03:15:09.816Z] 2ced38df9373: Pulling fs layer [2023-06-27T03:15:09.816Z] 58f1dce35555: Pulling fs layer [2023-06-27T03:15:09.816Z] 242c74f7c9fa: Waiting [2023-06-27T03:15:09.816Z] 3cdef696dda3: Waiting [2023-06-27T03:15:09.816Z] 2ced38df9373: Waiting [2023-06-27T03:15:09.816Z] 58f1dce35555: Waiting [2023-06-27T03:15:09.816Z] ed15518f5707: Verifying Checksum [2023-06-27T03:15:09.816Z] ed15518f5707: Download complete [2023-06-27T03:15:09.816Z] 242c74f7c9fa: Verifying Checksum [2023-06-27T03:15:09.816Z] 242c74f7c9fa: Download complete [2023-06-27T03:15:09.816Z] 3cdef696dda3: Verifying Checksum [2023-06-27T03:15:09.816Z] 3cdef696dda3: Download complete [2023-06-27T03:15:09.816Z] c41833b44d91: Verifying Checksum [2023-06-27T03:15:09.816Z] c41833b44d91: Download complete [2023-06-27T03:15:11.254Z] 58f1dce35555: Verifying Checksum [2023-06-27T03:15:11.254Z] 58f1dce35555: Download complete [2023-06-27T03:15:11.846Z] c41833b44d91: Pull complete [2023-06-27T03:15:12.119Z] ed15518f5707: Pull complete [2023-06-27T03:15:12.387Z] feae8fd75edb: Verifying Checksum [2023-06-27T03:15:12.387Z] feae8fd75edb: Download complete [2023-06-27T03:15:12.387Z] 2ced38df9373: Verifying Checksum [2023-06-27T03:15:12.387Z] 2ced38df9373: Download complete [2023-06-27T03:15:27.390Z] feae8fd75edb: Pull complete [2023-06-27T03:15:27.390Z] 242c74f7c9fa: Pull complete [2023-06-27T03:15:27.390Z] 3cdef696dda3: Pull complete [2023-06-27T03:15:31.660Z] 2ced38df9373: Pull complete [2023-06-27T03:15:34.264Z] 58f1dce35555: Pull complete [2023-06-27T03:15:34.264Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-27T03:15:34.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-27T03:15:34.264Z] ---> fadd8f120f05 [2023-06-27T03:15:34.264Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2023-06-27T03:15:36.222Z] ---> Running in 48d3317a984e [2023-06-27T03:15:36.222Z] Removing intermediate container 48d3317a984e [2023-06-27T03:15:36.222Z] ---> 895d6878238c [2023-06-27T03:15:36.222Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-06-27T03:15:36.489Z] ---> Running in 40ef0cc83b3f [2023-06-27T03:15:36.757Z] Removing intermediate container 40ef0cc83b3f [2023-06-27T03:15:36.757Z] ---> b1444fd0db35 [2023-06-27T03:15:36.757Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-06-27T03:15:36.757Z] ---> Running in 980643efcb2e [2023-06-27T03:15:37.024Z] Removing intermediate container 980643efcb2e [2023-06-27T03:15:37.024Z] ---> 29f4d26cb385 [2023-06-27T03:15:37.024Z] Step 6/12 : WORKDIR /device-uart [2023-06-27T03:15:37.294Z] ---> Running in 2acb24742aa2 [2023-06-27T03:15:37.568Z] Removing intermediate container 2acb24742aa2 [2023-06-27T03:15:37.568Z] ---> 1daeaaf37741 [2023-06-27T03:15:37.568Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-27T03:15:37.568Z] ---> Running in c06c94d2aa54 [2023-06-27T03:15:38.981Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-27T03:15:39.568Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-27T03:15:40.531Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-06-27T03:15:40.531Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-06-27T03:15:40.531Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-06-27T03:15:40.800Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-06-27T03:15:40.800Z] Executing busybox-1.35.0-r29.trigger [2023-06-27T03:15:40.800Z] OK: 268 MiB in 57 packages [2023-06-27T03:15:41.769Z] Removing intermediate container c06c94d2aa54 [2023-06-27T03:15:41.769Z] ---> 9d495d08c96c [2023-06-27T03:15:41.769Z] Step 8/12 : COPY go.mod vendor* ./ [2023-06-27T03:15:42.357Z] ---> 39545df0fdfb [2023-06-27T03:15:42.357Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-27T03:15:42.633Z] ---> Running in acbaffa60a2c [2023-06-27T03:16:39.056Z] Removing intermediate container acbaffa60a2c [2023-06-27T03:16:39.056Z] ---> 60d7d8fab80a [2023-06-27T03:16:39.056Z] Step 10/12 : COPY . . [2023-06-27T03:16:39.056Z] ---> b42ff77a151b [2023-06-27T03:16:39.056Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-27T03:16:39.056Z] ---> Running in 9b66b6d5c82d [2023-06-27T03:16:39.056Z] Removing intermediate container 9b66b6d5c82d [2023-06-27T03:16:39.056Z] ---> 2737b37265bb [2023-06-27T03:16:39.056Z] Step 12/12 : RUN ${MAKE} [2023-06-27T03:16:39.056Z] ---> Running in 0fecf85e808d [2023-06-27T03:16:39.056Z] noop [2023-06-27T03:16:39.056Z] Removing intermediate container 0fecf85e808d [2023-06-27T03:16:39.056Z] ---> efcec5c78490 [2023-06-27T03:16:39.056Z] Successfully built efcec5c78490 [2023-06-27T03:16:39.056Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:16:39.413Z] + docker inspect -f . ci-base-image-arm64 [2023-06-27T03:16:39.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:16:39.646Z] prd-ubuntu20.04-docker-arm64-4c-16g-18 does not seem to be running inside a container [2023-06-27T03:16:39.717Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-27T03:16:41.095Z] $ docker top 788108c77f3a0ece36a51797da9010c613092edf2aa3068e5ece7a41d86333dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T03:16:42.001Z] + go version [2023-06-27T03:16:42.001Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-27T03:16:42.022Z] $ docker stop --time=1 788108c77f3a0ece36a51797da9010c613092edf2aa3068e5ece7a41d86333dc [2023-06-27T03:16:43.738Z] $ docker rm -f --volumes 788108c77f3a0ece36a51797da9010c613092edf2aa3068e5ece7a41d86333dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:16:44.324Z] + docker inspect -f . ci-base-image-arm64 [2023-06-27T03:16:44.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:16:44.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-18 does not seem to be running inside a container [2023-06-27T03:16:44.601Z] $ 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/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-27T03:16:45.912Z] $ docker top 393075d5ef794f6d79d334611009ef0e3aff8942e37f0a8519f2cfc1d6075ab3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T03:16:46.793Z] + git config --global --add safe.directory /w/workspace/device-uart/8 [Pipeline] fileExists [Pipeline] sh [2023-06-27T03:16:47.456Z] + make test [2023-06-27T03:16:47.457Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2023-06-27T03:17:26.350Z] ? github.com/edgexfoundry/device-uart [no test files] [2023-06-27T03:19:33.072Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2023-06-27T03:19:33.072Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2023-06-27T03:19:33.072Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-06-27T03:20:12.012Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-06-27T03:20:12.012Z] ./internal/driver/driver.go [2023-06-27T03:20:12.012Z] ./internal/driver/drv_uart_generic.go [2023-06-27T03:20:12.012Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-06-27T03:20:12.012Z] make: *** [Makefile:29: test] Error 1 [Pipeline] } [2023-06-27T03:20:12.033Z] $ docker stop --time=1 393075d5ef794f6d79d334611009ef0e3aff8942e37f0a8519f2cfc1d6075ab3 [2023-06-27T03:20:13.943Z] $ docker rm -f --volumes 393075d5ef794f6d79d334611009ef0e3aff8942e37f0a8519f2cfc1d6075ab3 [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-27T03:20:15.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-27T03:20:15.274Z] [2023-06-27T03:20:15.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:20:15.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-27T03:20:15.884Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-27T03:20:15.884Z] 8998bd30e6a1: Pulling fs layer [2023-06-27T03:20:15.884Z] 04944245beec: Pulling fs layer [2023-06-27T03:20:15.884Z] 699f458cf7ca: Pulling fs layer [2023-06-27T03:20:15.884Z] 765212b225bb: Pulling fs layer [2023-06-27T03:20:15.884Z] f23df028b6ca: Pulling fs layer [2023-06-27T03:20:15.884Z] d65c8cfc05b1: Pulling fs layer [2023-06-27T03:20:15.884Z] 2437ff75d9bd: Pulling fs layer [2023-06-27T03:20:15.884Z] f23df028b6ca: Waiting [2023-06-27T03:20:15.884Z] d65c8cfc05b1: Waiting [2023-06-27T03:20:15.884Z] 2437ff75d9bd: Waiting [2023-06-27T03:20:15.884Z] 765212b225bb: Waiting [2023-06-27T03:20:15.884Z] 04944245beec: Verifying Checksum [2023-06-27T03:20:15.884Z] 04944245beec: Download complete [2023-06-27T03:20:15.884Z] 765212b225bb: Verifying Checksum [2023-06-27T03:20:15.884Z] 765212b225bb: Download complete [2023-06-27T03:20:16.153Z] f23df028b6ca: Verifying Checksum [2023-06-27T03:20:16.153Z] f23df028b6ca: Download complete [2023-06-27T03:20:16.153Z] d65c8cfc05b1: Verifying Checksum [2023-06-27T03:20:16.153Z] d65c8cfc05b1: Download complete [2023-06-27T03:20:16.153Z] 699f458cf7ca: Verifying Checksum [2023-06-27T03:20:16.153Z] 699f458cf7ca: Download complete [2023-06-27T03:20:16.743Z] 8998bd30e6a1: Download complete [2023-06-27T03:20:18.698Z] 2437ff75d9bd: Verifying Checksum [2023-06-27T03:20:18.698Z] 2437ff75d9bd: Download complete [2023-06-27T03:20:20.649Z] 8998bd30e6a1: Pull complete [2023-06-27T03:20:20.917Z] 04944245beec: Pull complete [2023-06-27T03:20:22.334Z] 699f458cf7ca: Pull complete [2023-06-27T03:20:26.593Z] 765212b225bb: Pull complete [2023-06-27T03:20:26.593Z] f23df028b6ca: Pull complete [2023-06-27T03:20:26.874Z] d65c8cfc05b1: Pull complete [2023-06-27T03:20:39.260Z] 2437ff75d9bd: Pull complete [2023-06-27T03:20:39.260Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-27T03:20:39.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-27T03:20:39.260Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:20:39.484Z] prd-ubuntu20.04-docker-arm64-4c-16g-18 does not seem to be running inside a container [2023-06-27T03:20:39.567Z] $ 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/8 -v /w/workspace/device-uart/8:/w/workspace/device-uart/8:rw,z -v /w/workspace/device-uart/8@tmp:/w/workspace/device-uart/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-27T03:20:42.276Z] $ docker top 8e754a2947868fbb947c3b6bf96ec4f26d600105274d53d84a7d9b70ce97eb85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:43.178Z] ---> job-cost.sh [2023-06-27T03:20:43.178Z] lf-activate-venv: SKIPPING [2023-06-27T03:20:43.178Z] INFO: No Stack... [2023-06-27T03:20:43.449Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-27T03:20:44.416Z] INFO: Archiving Costs [Pipeline] sh [2023-06-27T03:20:45.065Z] + + cutcat -d, /w/workspace/device-uart/8/archives/cost.csv -f6 [2023-06-27T03:20:45.065Z] [Pipeline] lock [2023-06-27T03:20:45.142Z] Trying to acquire lock on [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] [2023-06-27T03:20:45.148Z] Resource [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] did not exist. Created. [2023-06-27T03:20:45.148Z] Lock acquired on [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-27T03:20:45.831Z] /w/workspace/device-uart/8@tmp/durable-411749f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-27T03:20:46.523Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-27T03:20:46.564Z] Warning: overwriting stash ‘stack-cost’ [2023-06-27T03:20:47.002Z] Stashed 1 file(s) [Pipeline] } [2023-06-27T03:20:47.010Z] Lock released on resource [jenkins-edgexfoundry-device-uart-PR-8-8-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-27T03:20:47.031Z] $ docker stop --time=1 8e754a2947868fbb947c3b6bf96ec4f26d600105274d53d84a7d9b70ce97eb85 [2023-06-27T03:20:48.586Z] $ docker rm -f --volumes 8e754a2947868fbb947c3b6bf96ec4f26d600105274d53d84a7d9b70ce97eb85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-27T03:20:48.844Z] 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-27T03:20:49.665Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-8/archives ] [2023-06-27T03:20:49.666Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-8/archives [2023-06-27T03:20:49.666Z] total 16 [2023-06-27T03:20:49.666Z] drwxr-xr-x 3 root root 4096 Jun 27 03:10 . [2023-06-27T03:20:49.666Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 03:10 .. [2023-06-27T03:20:49.666Z] drwxr-xr-x 2 root root 4096 Jun 27 03:10 cost [2023-06-27T03:20:49.666Z] -rw-r--r-- 1 root root 81 Jun 27 03:10 cost.csv [2023-06-27T03:20:49.666Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-8/archives [2023-06-27T03:20:49.666Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-8/archives [2023-06-27T03:20:49.666Z] total 16 [2023-06-27T03:20:49.666Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 03:10 . [2023-06-27T03:20:49.666Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 03:10 .. [2023-06-27T03:20:49.666Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 03:10 cost [2023-06-27T03:20:49.666Z] -rw-r--r-- 1 jenkins jenkins 81 Jun 27 03:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:49.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:50.819Z] ---> package-listing.sh [2023-06-27T03:20:50.819Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-27T03:20:50.819Z] ++ facter osfamily [2023-06-27T03:20:51.079Z] + OS_FAMILY=debian [2023-06-27T03:20:51.079Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-8 [2023-06-27T03:20:51.079Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-27T03:20:51.079Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-27T03:20:51.079Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-27T03:20:51.079Z] + PACKAGES=/tmp/packages_start.txt [2023-06-27T03:20:51.079Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-8 ']' [2023-06-27T03:20:51.079Z] + PACKAGES=/tmp/packages_end.txt [2023-06-27T03:20:51.079Z] + case "${OS_FAMILY}" in [2023-06-27T03:20:51.079Z] + dpkg -l [2023-06-27T03:20:51.079Z] + grep '^ii' [2023-06-27T03:20:51.079Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-27T03:20:51.079Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-27T03:20:51.079Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-27T03:20:51.079Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-8 ']' [2023-06-27T03:20:51.079Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-8/archives/ [2023-06-27T03:20:51.079Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-8/archives/ [Pipeline] echo [2023-06-27T03:20:51.090Z] 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-8/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-27T03:20:51.367Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-27T03:20:51.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-27T03:20:51.919Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-27T03:20:51.994Z] prd-ubuntu20.04-docker-8c-8g-17 does not seem to be running inside a container [2023-06-27T03:20:52.026Z] $ 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-8/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-8 -v /w/workspace/edgexfoundry_device-uart_PR-8:/w/workspace/edgexfoundry_device-uart_PR-8:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-8@tmp:/w/workspace/edgexfoundry_device-uart_PR-8@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-27T03:20:52.283Z] $ docker top bd3c623fb87827877327725ae5ed6295034efb54b061a930a8a1cccf190f915a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-27T03:20:52.637Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-27T03:20:52.926Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-27T03:20:53.211Z] + ls /var/log/sa-host [2023-06-27T03:20:53.211Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-27T03:20:53.428Z] provisioning config files... [2023-06-27T03:20:53.444Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-8@tmp/config15912196258082193546tmp [Pipeline] { [Pipeline] echo [2023-06-27T03:20:53.456Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:53.743Z] ---> create-netrc.sh [Pipeline] } [2023-06-27T03:20:53.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:54.084Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-27T03:20:54.092Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:54.374Z] ---> sudo-logs.sh [2023-06-27T03:20:54.374Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-27T03:20:54.406Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:54.688Z] ---> job-cost.sh [2023-06-27T03:20:54.688Z] lf-activate-venv: SKIPPING [2023-06-27T03:20:54.688Z] DEBUG: total: 0.2199999988079071 [2023-06-27T03:20:54.688Z] INFO: Retrieving Stack Cost... [2023-06-27T03:20:55.256Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-27T03:20:55.516Z] INFO: Archiving Costs [Pipeline] echo [2023-06-27T03:20:55.526Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-27T03:20:55.808Z] ---> logs-deploy.sh [2023-06-27T03:20:55.808Z] lf-activate-venv: SKIPPING [2023-06-27T03:20:55.808Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-8/8 [2023-06-27T03:20:55.808Z] INFO: archiving workspace using pattern(s): [2023-06-27T03:20:56.747Z] Archives upload complete. [2023-06-27T03:20:56.747Z] INFO: archiving logs to Nexus