Pull request #73 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e97cd14dccafd2a76231dc6b2bbfa5099c4e7066+23327eef742656f25952fb3dd9c4e82b8abf1118 (44b1853c05f9d72c40dc7fffdcebc10b62c340e5) 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-ssh11195674963371198384.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh10353489660753205192.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 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2609413286249000825.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3314299216995947731.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17889603502757570263.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-uart/branches/PR-73/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-73/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15305673144850690005.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15467 in /w/workspace/edgexfoundry_device-uart_PR-73 [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-73 # 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 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 Merge succeeded, producing e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 Checking out Revision e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 (PR-73) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > 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/73/head:refs/remotes/origin/PR-73 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 # 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 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-03T18:46:14.240Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-03T18:46:14.566Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-03T18:46:14.731Z] ========================================================= [2024-10-03T18:46:14.731Z] EdgeX Global Pipelines Version Info [2024-10-03T18:46:14.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:46:15.902Z] ------------------- [2024-10-03T18:46:15.902Z] stable info: [2024-10-03T18:46:15.902Z] ------------------- [2024-10-03T18:46:15.902Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-03T18:46:15.902Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-03T18:46:15.902Z] Message: update stable to v1.0.265 [2024-10-03T18:46:16.162Z] ------------------- [2024-10-03T18:46:16.162Z] experimental info: [2024-10-03T18:46:16.162Z] ------------------- [2024-10-03T18:46:16.162Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-03T18:46:16.162Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-03T18:46:16.162Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-03T18:46:16.462Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-10-03T18:46:16.541Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-10-03T18:46:16.610Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-03T18:46:16.681Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-03T18:46:16.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-03T18:46:16.855Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-03T18:46:16.943Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-03T18:46:17.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-03T18:46:17.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-03T18:46:17.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-03T18:46:17.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-03T18:46:17.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-10-03T18:46:17.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-03T18:46:17.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-03T18:46:17.576Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T18:46:17.658Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-03T18:46:17.732Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T18:46:17.812Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-03T18:46:17.894Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-03T18:46:17.980Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-03T18:46:18.047Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-03T18:46:18.126Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-03T18:46:18.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-03T18:46:18.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-03T18:46:18.356Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-03T18:46:18.442Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-03T18:46:18.521Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-03T18:46:18.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-73 [Pipeline] echo [2024-10-03T18:46:18.670Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-73 [Pipeline] echo [2024-10-03T18:46:18.744Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-73 [Pipeline] echo [2024-10-03T18:46:18.825Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo [2024-10-03T18:46:18.900Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e97cd14 [Pipeline] echo [2024-10-03T18:46:18.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T18:46:19.176Z] provisioning config files... [2024-10-03T18:46:19.190Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-73@tmp/config15614516893694371679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:46:19.652Z] ---> ****-login.sh [2024-10-03T18:46:19.652Z] nexus3.edgexfoundry.org:10001 [2024-10-03T18:46:19.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:19.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:19.913Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:19.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:19.913Z] [2024-10-03T18:46:19.913Z] Login Succeeded [2024-10-03T18:46:19.913Z] nexus3.edgexfoundry.org:10002 [2024-10-03T18:46:20.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:20.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:20.173Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:20.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:20.173Z] [2024-10-03T18:46:20.173Z] Login Succeeded [2024-10-03T18:46:20.173Z] nexus3.edgexfoundry.org:10003 [2024-10-03T18:46:20.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:20.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:20.173Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:20.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:20.173Z] [2024-10-03T18:46:20.173Z] Login Succeeded [2024-10-03T18:46:20.173Z] nexus3.edgexfoundry.org:10004 [2024-10-03T18:46:20.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:20.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:20.434Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:20.434Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:20.434Z] [2024-10-03T18:46:20.434Z] Login Succeeded [2024-10-03T18:46:20.434Z] ****.io [2024-10-03T18:46:20.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:20.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:20.695Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:20.695Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:20.695Z] [2024-10-03T18:46:20.695Z] Login Succeeded [2024-10-03T18:46:20.695Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T18:46:20.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-03T18:46:21.656Z] + git rev-list -1 --merges e97cd14dccafd2a76231dc6b2bbfa5099c4e7066~1..e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo [2024-10-03T18:46:21.720Z] -----------> git rev-list -1 --merges e97cd14dccafd2a76231dc6b2bbfa5099c4e7066~1..e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [false] [Pipeline] sh [2024-10-03T18:46:22.075Z] + git log --format=format:%s -1 e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo [2024-10-03T18:46:22.137Z] ========================================================= [2024-10-03T18:46:22.137Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-03T18:46:22.137Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T18:46:22.695Z] + git log --format=format:%s -1 e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo [2024-10-03T18:46:22.756Z] [semverPrep] GIT_COMMIT: e97cd14dccafd2a76231dc6b2bbfa5099c4e7066, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-10-03T18:46:22.826Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-03T18:46:23.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-03T18:46:23.281Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-03T18:46:23.281Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-03T18:46:23.281Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-03T18:46:23.281Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-03T18:46:23.281Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-03T18:46:23.281Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:46:23.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T18:46:23.896Z] [2024-10-03T18:46:23.896Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:46:24.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T18:46:24.350Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-03T18:46:24.350Z] b85a868b505f: Pulling fs layer [2024-10-03T18:46:24.350Z] e2be974225ed: Pulling fs layer [2024-10-03T18:46:24.350Z] 339a4e72a1f5: Pulling fs layer [2024-10-03T18:46:24.350Z] 988bab9f4d93: Pulling fs layer [2024-10-03T18:46:24.350Z] 1469e6f7b9e6: Pulling fs layer [2024-10-03T18:46:24.350Z] eaf3925da568: Pulling fs layer [2024-10-03T18:46:24.350Z] bab4dde63d76: Pulling fs layer [2024-10-03T18:46:24.350Z] bde34c3a00c8: Pulling fs layer [2024-10-03T18:46:24.350Z] b352a97aabf1: Pulling fs layer [2024-10-03T18:46:24.350Z] 4872d77fe225: Pulling fs layer [2024-10-03T18:46:24.350Z] 5851b861e8e6: Pulling fs layer [2024-10-03T18:46:24.350Z] bab4dde63d76: Waiting [2024-10-03T18:46:24.350Z] bde34c3a00c8: Waiting [2024-10-03T18:46:24.350Z] b352a97aabf1: Waiting [2024-10-03T18:46:24.350Z] 4872d77fe225: Waiting [2024-10-03T18:46:24.350Z] 1469e6f7b9e6: Waiting [2024-10-03T18:46:24.350Z] 988bab9f4d93: Waiting [2024-10-03T18:46:24.350Z] 5851b861e8e6: Waiting [2024-10-03T18:46:24.350Z] e2be974225ed: Verifying Checksum [2024-10-03T18:46:24.350Z] e2be974225ed: Download complete [2024-10-03T18:46:24.350Z] 988bab9f4d93: Download complete [2024-10-03T18:46:24.350Z] 1469e6f7b9e6: Verifying Checksum [2024-10-03T18:46:24.350Z] 1469e6f7b9e6: Download complete [2024-10-03T18:46:24.609Z] eaf3925da568: Verifying Checksum [2024-10-03T18:46:24.609Z] eaf3925da568: Download complete [2024-10-03T18:46:24.609Z] 339a4e72a1f5: Verifying Checksum [2024-10-03T18:46:24.609Z] 339a4e72a1f5: Download complete [2024-10-03T18:46:24.609Z] bde34c3a00c8: Verifying Checksum [2024-10-03T18:46:24.609Z] bde34c3a00c8: Download complete [2024-10-03T18:46:24.609Z] b352a97aabf1: Verifying Checksum [2024-10-03T18:46:24.609Z] b352a97aabf1: Download complete [2024-10-03T18:46:24.609Z] 4872d77fe225: Verifying Checksum [2024-10-03T18:46:24.609Z] 4872d77fe225: Download complete [2024-10-03T18:46:24.609Z] 5851b861e8e6: Verifying Checksum [2024-10-03T18:46:24.609Z] 5851b861e8e6: Download complete [2024-10-03T18:46:24.609Z] b85a868b505f: Verifying Checksum [2024-10-03T18:46:24.609Z] b85a868b505f: Download complete [2024-10-03T18:46:24.868Z] bab4dde63d76: Download complete [2024-10-03T18:46:26.246Z] b85a868b505f: Pull complete [2024-10-03T18:46:26.246Z] e2be974225ed: Pull complete [2024-10-03T18:46:26.506Z] 339a4e72a1f5: Pull complete [2024-10-03T18:46:26.506Z] 988bab9f4d93: Pull complete [2024-10-03T18:46:26.765Z] 1469e6f7b9e6: Pull complete [2024-10-03T18:46:27.023Z] eaf3925da568: Pull complete [2024-10-03T18:46:28.403Z] bab4dde63d76: Pull complete [2024-10-03T18:46:28.661Z] bde34c3a00c8: Pull complete [2024-10-03T18:46:28.661Z] b352a97aabf1: Pull complete [2024-10-03T18:46:28.661Z] 4872d77fe225: Pull complete [2024-10-03T18:46:28.921Z] 5851b861e8e6: Pull complete [2024-10-03T18:46:28.921Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-03T18:46:28.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-03T18:46:28.921Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:46:29.325Z] prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container [2024-10-03T18:46:29.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-73 -v /w/workspace/edgexfoundry_device-uart_PR-73:/w/workspace/edgexfoundry_device-uart_PR-73:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-73@tmp:/w/workspace/edgexfoundry_device-uart_PR-73@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-03T18:46:32.274Z] $ docker top 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a -eo pid,comm [2024-10-03T18:46:32.324Z] 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). [2024-10-03T18:46:32.324Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-03T18:46:32.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T18:46:32.595Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T18:46:32.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T18:46:32.707Z] $ docker exec 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent [2024-10-03T18:46:32.804Z] SSH_AUTH_SOCK=/tmp/ssh-XLj4xVct4W2B/agent.33 [2024-10-03T18:46:32.804Z] SSH_AGENT_PID=39 [2024-10-03T18:46:32.811Z] Running ssh-add (command line suppressed) [2024-10-03T18:46:32.910Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-73@tmp/private_key_7809035618832498163.key (/w/workspace/edgexfoundry_device-uart_PR-73@tmp/private_key_7809035618832498163.key) [2024-10-03T18:46:32.921Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T18:46:33.300Z] + git tag --points-at HEAD [Pipeline] } [2024-10-03T18:46:33.339Z] $ docker exec --env ******** --env ******** 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent -k [2024-10-03T18:46:33.439Z] unset SSH_AUTH_SOCK; [2024-10-03T18:46:33.439Z] unset SSH_AGENT_PID; [2024-10-03T18:46:33.440Z] echo Agent pid 39 killed; [2024-10-03T18:46:33.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-03T18:46:33.644Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-03T18:46:33.644Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-03T18:46:33.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-03T18:46:33.756Z] $ docker exec 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent [2024-10-03T18:46:33.872Z] SSH_AUTH_SOCK=/tmp/ssh-hrEjcAxMf7ro/agent.72 [2024-10-03T18:46:33.872Z] SSH_AGENT_PID=78 [2024-10-03T18:46:33.877Z] Running ssh-add (command line suppressed) [2024-10-03T18:46:34.005Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-73@tmp/private_key_12314059450271480290.key (/w/workspace/edgexfoundry_device-uart_PR-73@tmp/private_key_12314059450271480290.key) [2024-10-03T18:46:34.015Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-03T18:46:34.401Z] + git semver init [2024-10-03T18:46:34.661Z] 2024-10-03 18:46:34,590 [run_init] DEBUG init version:0.0.0 force:False [2024-10-03T18:46:34.661Z] 2024-10-03 18:46:34,592 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-73/.semver [2024-10-03T18:46:34.661Z] 2024-10-03 18:46:34,593 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-73/.semver [2024-10-03T18:46:34.661Z] 2024-10-03 18:46:34,594 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-73/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-73, universal_newlines=False, shell=None, istream=None) [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-73/.git/info/exclude [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,866 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-73/.semver/PR-73 with force:False [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,866 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-73/.semver/PR-73 [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,869 [execute] INFO git cat-file --batch-check [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-73/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,874 [execute] INFO git cat-file --batch [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,875 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-73/.semver, universal_newlines=False, shell=None, istream=) [2024-10-03T18:46:36.043Z] 2024-10-03 18:46:35,879 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-73/.semver/PR-73 [2024-10-03T18:46:36.043Z] 0.0.0 [Pipeline] } [2024-10-03T18:46:36.078Z] $ docker exec --env ******** --env ******** 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent -k [2024-10-03T18:46:36.181Z] unset SSH_AUTH_SOCK; [2024-10-03T18:46:36.185Z] unset SSH_AGENT_PID; [2024-10-03T18:46:36.185Z] echo Agent pid 78 killed; [2024-10-03T18:46:36.193Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-03T18:46:36.781Z] + git semver [Pipeline] } [2024-10-03T18:46:37.086Z] $ docker stop --time=1 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a [2024-10-03T18:46:38.402Z] $ docker rm -f --volumes 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-03T18:46:38.874Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-03T18:46:39.256Z] Stashed 1 file(s) [Pipeline] echo [2024-10-03T18:46:39.307Z] [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 [2024-10-03T18:46:40.530Z] provisioning config files... [2024-10-03T18:46:40.541Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-73@tmp/config8787795868540362203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:46:40.956Z] ---> ****-login.sh [2024-10-03T18:46:40.956Z] nexus3.edgexfoundry.org:10001 [2024-10-03T18:46:40.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:40.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:40.957Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:40.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:40.957Z] [2024-10-03T18:46:40.957Z] Login Succeeded [2024-10-03T18:46:40.957Z] nexus3.edgexfoundry.org:10002 [2024-10-03T18:46:40.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:40.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:40.957Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:40.957Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:40.957Z] [2024-10-03T18:46:40.957Z] Login Succeeded [2024-10-03T18:46:40.957Z] nexus3.edgexfoundry.org:10003 [2024-10-03T18:46:41.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:41.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:41.216Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:41.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:41.216Z] [2024-10-03T18:46:41.216Z] Login Succeeded [2024-10-03T18:46:41.216Z] nexus3.edgexfoundry.org:10004 [2024-10-03T18:46:41.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:41.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:41.216Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:41.216Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:41.216Z] [2024-10-03T18:46:41.216Z] Login Succeeded [2024-10-03T18:46:41.216Z] ****.io [2024-10-03T18:46:41.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:46:41.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:46:41.477Z] Configure a credential helper to remove this warning. See [2024-10-03T18:46:41.477Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:46:41.477Z] [2024-10-03T18:46:41.478Z] Login Succeeded [2024-10-03T18:46:41.478Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T18:46:41.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T18:46:41.823Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T18:46:41.899Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T18:46:41.973Z] ========================================================= [2024-10-03T18:46:41.973Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-03T18:46:41.973Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:46:42.597Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-03T18:46:42.597Z] Sending build context to Docker daemon 25.58MB [2024-10-03T18:46:42.597Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T18:46:42.597Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-03T18:46:42.877Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-03T18:46:42.877Z] 43c4264eed91: Pulling fs layer [2024-10-03T18:46:42.877Z] 4cc291be95ef: Pulling fs layer [2024-10-03T18:46:42.877Z] 2ac1f1163629: Pulling fs layer [2024-10-03T18:46:42.877Z] 5c3c966382ef: Pulling fs layer [2024-10-03T18:46:42.877Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T18:46:42.877Z] 5d5c8e513c77: Pulling fs layer [2024-10-03T18:46:42.877Z] 9f66e0745190: Pulling fs layer [2024-10-03T18:46:42.877Z] f49a43e4bbc0: Pulling fs layer [2024-10-03T18:46:42.877Z] 561ebcabdf7f: Pulling fs layer [2024-10-03T18:46:42.877Z] 5d5c8e513c77: Waiting [2024-10-03T18:46:42.877Z] 9f66e0745190: Waiting [2024-10-03T18:46:42.877Z] f49a43e4bbc0: Waiting [2024-10-03T18:46:42.877Z] 561ebcabdf7f: Waiting [2024-10-03T18:46:42.877Z] 5c3c966382ef: Waiting [2024-10-03T18:46:42.877Z] 4f4fb700ef54: Waiting [2024-10-03T18:46:42.877Z] 4cc291be95ef: Verifying Checksum [2024-10-03T18:46:42.877Z] 4cc291be95ef: Download complete [2024-10-03T18:46:42.877Z] 5c3c966382ef: Download complete [2024-10-03T18:46:42.877Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T18:46:42.877Z] 4f4fb700ef54: Download complete [2024-10-03T18:46:42.877Z] 5d5c8e513c77: Verifying Checksum [2024-10-03T18:46:42.877Z] 5d5c8e513c77: Download complete [2024-10-03T18:46:42.877Z] 43c4264eed91: Download complete [2024-10-03T18:46:42.877Z] 9f66e0745190: Verifying Checksum [2024-10-03T18:46:42.877Z] 9f66e0745190: Download complete [2024-10-03T18:46:43.137Z] 43c4264eed91: Pull complete [2024-10-03T18:46:43.137Z] 561ebcabdf7f: Verifying Checksum [2024-10-03T18:46:43.137Z] 561ebcabdf7f: Download complete [2024-10-03T18:46:43.137Z] 4cc291be95ef: Pull complete [2024-10-03T18:46:43.401Z] 2ac1f1163629: Verifying Checksum [2024-10-03T18:46:43.401Z] 2ac1f1163629: Download complete [2024-10-03T18:46:43.675Z] f49a43e4bbc0: Verifying Checksum [2024-10-03T18:46:43.675Z] f49a43e4bbc0: Download complete [2024-10-03T18:46:46.960Z] 2ac1f1163629: Pull complete [2024-10-03T18:46:46.960Z] 5c3c966382ef: Pull complete [2024-10-03T18:46:46.960Z] 4f4fb700ef54: Pull complete [2024-10-03T18:46:46.960Z] 5d5c8e513c77: Pull complete [2024-10-03T18:46:46.960Z] 9f66e0745190: Pull complete [2024-10-03T18:46:48.861Z] f49a43e4bbc0: Pull complete [2024-10-03T18:46:49.121Z] 561ebcabdf7f: Pull complete [2024-10-03T18:46:49.381Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-03T18:46:49.381Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-03T18:46:49.381Z] ---> 3a752c3f9dda [2024-10-03T18:46:49.381Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T18:46:53.573Z] ---> Running in 2c0fe4d486f2 [2024-10-03T18:46:53.573Z] Removing intermediate container 2c0fe4d486f2 [2024-10-03T18:46:53.573Z] ---> 095f4140d93d [2024-10-03T18:46:53.573Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T18:46:53.573Z] ---> Running in 34b0f2a56108 [2024-10-03T18:46:53.573Z] Removing intermediate container 34b0f2a56108 [2024-10-03T18:46:53.573Z] ---> 5c5a91e85b01 [2024-10-03T18:46:53.573Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-03T18:46:53.832Z] ---> Running in d6546bfa1809 [2024-10-03T18:46:53.832Z] Removing intermediate container d6546bfa1809 [2024-10-03T18:46:53.832Z] ---> 09497a021c13 [2024-10-03T18:46:53.832Z] Step 6/12 : WORKDIR /device-uart [2024-10-03T18:46:53.832Z] ---> Running in 7f9639c5b413 [2024-10-03T18:46:53.832Z] Removing intermediate container 7f9639c5b413 [2024-10-03T18:46:53.832Z] ---> 2d2785e6b83c [2024-10-03T18:46:53.832Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T18:46:53.832Z] ---> Running in bcfe35e7957d [2024-10-03T18:46:54.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-03T18:46:54.347Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-03T18:46:54.605Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-03T18:46:54.605Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-03T18:46:54.605Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-03T18:46:54.605Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-03T18:46:54.605Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T18:46:54.605Z] OK: 250 MiB in 58 packages [2024-10-03T18:46:55.171Z] Removing intermediate container bcfe35e7957d [2024-10-03T18:46:55.171Z] ---> 64b352f3019a [2024-10-03T18:46:55.171Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-03T18:46:55.171Z] ---> 03ea324d6e84 [2024-10-03T18:46:55.171Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T18:46:55.171Z] ---> Running in 51c7c355c583 [2024-10-03T18:46:55.181Z] Still waiting to schedule task [2024-10-03T18:46:55.181Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-03T18:47:51.962Z] Removing intermediate container 51c7c355c583 [2024-10-03T18:47:51.962Z] ---> 58aac8bcaea2 [2024-10-03T18:47:51.962Z] Step 10/12 : COPY . . [2024-10-03T18:47:51.962Z] ---> a61a3b3ff459 [2024-10-03T18:47:51.962Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T18:47:51.962Z] ---> Running in 9bec4d35b3fb [2024-10-03T18:47:51.962Z] Removing intermediate container 9bec4d35b3fb [2024-10-03T18:47:51.962Z] ---> bb49543c1626 [2024-10-03T18:47:51.962Z] Step 12/12 : RUN ${MAKE} [2024-10-03T18:47:51.962Z] ---> Running in 47cbd8a0d48d [2024-10-03T18:47:51.962Z] noop [2024-10-03T18:47:51.962Z] Removing intermediate container 47cbd8a0d48d [2024-10-03T18:47:51.962Z] ---> 75c0c352a437 [2024-10-03T18:47:51.962Z] Successfully built 75c0c352a437 [2024-10-03T18:47:51.962Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:47:52.528Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T18:47:52.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:47:52.749Z] prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container [2024-10-03T18:47:52.789Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-73 -v /w/workspace/edgexfoundry_device-uart_PR-73:/w/workspace/edgexfoundry_device-uart_PR-73:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-73@tmp:/w/workspace/edgexfoundry_device-uart_PR-73@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 ******** ci-base-image-x86_64 cat [2024-10-03T18:47:53.169Z] $ docker top 60ef9aa5c76778d25da1da18b990e71ccfd076e13c122df78202badb71588002 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T18:47:53.633Z] + go version [2024-10-03T18:47:53.633Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-03T18:47:53.673Z] $ docker stop --time=1 60ef9aa5c76778d25da1da18b990e71ccfd076e13c122df78202badb71588002 [2024-10-03T18:47:54.940Z] $ docker rm -f --volumes 60ef9aa5c76778d25da1da18b990e71ccfd076e13c122df78202badb71588002 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:47:55.827Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-03T18:47:55.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:47:56.043Z] prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container [2024-10-03T18:47:56.072Z] $ 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-73 -v /w/workspace/edgexfoundry_device-uart_PR-73:/w/workspace/edgexfoundry_device-uart_PR-73:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-73@tmp:/w/workspace/edgexfoundry_device-uart_PR-73@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 ******** ci-base-image-x86_64 cat [2024-10-03T18:47:56.391Z] $ docker top f1d818affb6800fe8a5211a6d752cec465c67b8bf6eb81d30bbac750e783568c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T18:47:56.826Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-73 [Pipeline] fileExists [Pipeline] sh [2024-10-03T18:47:57.231Z] + make test [2024-10-03T18:47:57.231Z] go test ./... -coverprofile=coverage.out [2024-10-03T18:47:57.797Z] go: updates to go.mod needed; to update it: [2024-10-03T18:47:57.797Z] go mod tidy [2024-10-03T18:47:57.797Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2024-10-03T18:47:57.872Z] $ docker stop --time=1 f1d818affb6800fe8a5211a6d752cec465c67b8bf6eb81d30bbac750e783568c [2024-10-03T18:47:59.239Z] $ docker rm -f --volumes f1d818affb6800fe8a5211a6d752cec465c67b8bf6eb81d30bbac750e783568c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:48:00.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T18:48:00.963Z] [2024-10-03T18:48:00.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:48:01.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T18:48:01.431Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-03T18:48:01.431Z] 5eb5b503b376: Pulling fs layer [2024-10-03T18:48:01.431Z] 5c69ac0246d0: Pulling fs layer [2024-10-03T18:48:01.431Z] ec43610c2a17: Pulling fs layer [2024-10-03T18:48:01.431Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-03T18:48:01.431Z] 33b1e0a273af: Pulling fs layer [2024-10-03T18:48:01.431Z] 5d3b04190fa2: Pulling fs layer [2024-10-03T18:48:01.431Z] 2f39f015ded8: Pulling fs layer [2024-10-03T18:48:01.431Z] 3a2ae6a8a46f: Waiting [2024-10-03T18:48:01.431Z] 33b1e0a273af: Waiting [2024-10-03T18:48:01.431Z] 5d3b04190fa2: Waiting [2024-10-03T18:48:01.431Z] 2f39f015ded8: Waiting [2024-10-03T18:48:01.431Z] 5c69ac0246d0: Download complete [2024-10-03T18:48:01.431Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-03T18:48:01.431Z] 33b1e0a273af: Verifying Checksum [2024-10-03T18:48:01.431Z] 33b1e0a273af: Download complete [2024-10-03T18:48:01.690Z] 5d3b04190fa2: Download complete [2024-10-03T18:48:01.690Z] ec43610c2a17: Verifying Checksum [2024-10-03T18:48:01.690Z] ec43610c2a17: Download complete [2024-10-03T18:48:01.690Z] 5eb5b503b376: Verifying Checksum [2024-10-03T18:48:01.690Z] 5eb5b503b376: Download complete [2024-10-03T18:48:02.258Z] 2f39f015ded8: Download complete [2024-10-03T18:48:02.823Z] 5eb5b503b376: Pull complete [2024-10-03T18:48:02.823Z] 5c69ac0246d0: Pull complete [2024-10-03T18:48:03.389Z] ec43610c2a17: Pull complete [2024-10-03T18:48:03.389Z] 3a2ae6a8a46f: Pull complete [2024-10-03T18:48:03.647Z] 33b1e0a273af: Pull complete [2024-10-03T18:48:03.647Z] 5d3b04190fa2: Pull complete [2024-10-03T18:48:07.841Z] 2f39f015ded8: Pull complete [2024-10-03T18:48:07.841Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-03T18:48:07.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T18:48:07.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:48:08.177Z] prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container [2024-10-03T18:48:08.207Z] $ 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-73 -v /w/workspace/edgexfoundry_device-uart_PR-73:/w/workspace/edgexfoundry_device-uart_PR-73:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-73@tmp:/w/workspace/edgexfoundry_device-uart_PR-73@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T18:48:11.352Z] $ docker top f43ad991642fdf387b51ea3c7274cc4ed7f6832cc8e13ffe19b0ed2247497ecc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:48:11.915Z] ---> job-cost.sh [2024-10-03T18:48:11.915Z] lf-activate-venv: SKIPPING [2024-10-03T18:48:11.915Z] INFO: No Stack... [2024-10-03T18:48:12.488Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T18:48:12.747Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T18:48:13.100Z] + cat /w/workspace/edgexfoundry_device-uart_PR-73/archives/cost.csv [2024-10-03T18:48:13.100Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T18:48:13.185Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [2024-10-03T18:48:13.198Z] Resource [jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] did not exist. Created. [2024-10-03T18:48:13.208Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T18:48:13.726Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-03T18:48:13.812Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T18:48:13.879Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T18:48:14.023Z] $ docker stop --time=1 f43ad991642fdf387b51ea3c7274cc4ed7f6832cc8e13ffe19b0ed2247497ecc [2024-10-03T18:48:15.172Z] $ docker rm -f --volumes f43ad991642fdf387b51ea3c7274cc4ed7f6832cc8e13ffe19b0ed2247497ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T18:48:15.736Z] Failed in branch amd64 [2024-10-03T18:48:25.812Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-15468 in /w/workspace/edgexfoundry_device-uart_PR-73 [Pipeline] { [Pipeline] ws [2024-10-03T18:48:25.927Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-10-03T18:48:29.073Z] The recommended git tool is: git [2024-10-03T18:48:33.605Z] using credential edgex-jenkins-ssh [2024-10-03T18:48:33.631Z] Cloning the remote Git repository [2024-10-03T18:48:33.671Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-10-03T18:48:33.769Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-10-03T18:48:33.938Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-03T18:48:33.940Z] > git --version # timeout=10 [2024-10-03T18:48:33.960Z] > git --version # 'git version 2.25.1' [2024-10-03T18:48:33.963Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T18:48:34.122Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T18:48:36.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-03T18:48:36.319Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-03T18:48:37.719Z] Merging remotes/origin/main commit 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [2024-10-03T18:48:37.160Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-10-03T18:48:37.200Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-10-03T18:48:37.201Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T18:48:37.224Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-03T18:48:37.736Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T18:48:37.997Z] Merge succeeded, producing e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [2024-10-03T18:48:37.997Z] Checking out Revision e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 (PR-73) [2024-10-03T18:48:38.528Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-10-03T18:48:38.574Z] > git --version # timeout=10 [2024-10-03T18:48:38.592Z] > git --version # 'git version 2.25.1' [2024-10-03T18:48:38.609Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-03T18:48:37.803Z] > git checkout -f e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 # timeout=10 [2024-10-03T18:48:37.887Z] > git remote # timeout=10 [2024-10-03T18:48:37.903Z] > git config --get remote.origin.url # timeout=10 [2024-10-03T18:48:37.932Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-03T18:48:37.951Z] > git merge 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 [2024-10-03T18:48:37.979Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-03T18:48:38.000Z] > git config core.sparsecheckout # timeout=10 [2024-10-03T18:48:38.018Z] > git checkout -f e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-03T18:48:43.731Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-03T18:48:43.731Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-03T18:48:43.731Z] Dload Upload Total Spent Left Speed [2024-10-03T18:48:43.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 58844 0 --:--:-- --:--:-- --:--:-- 59115 [Pipeline] sh [2024-10-03T18:48:44.119Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-03T18:48:44.515Z] + sudo tee /etc/docker/daemon.new [2024-10-03T18:48:44.515Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-03T18:48:44.515Z] { [2024-10-03T18:48:44.515Z] "registry-mirrors": [ [2024-10-03T18:48:44.515Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-03T18:48:44.515Z] ], [2024-10-03T18:48:44.515Z] "bip": "10.250.0.254/24", [2024-10-03T18:48:44.515Z] "hosts": [ [2024-10-03T18:48:44.515Z] "tcp://0.0.0.0:5555", [2024-10-03T18:48:44.515Z] "unix:///var/run/docker.sock" [2024-10-03T18:48:44.515Z] ], [2024-10-03T18:48:44.515Z] "mtu": 1458, [2024-10-03T18:48:44.515Z] "selinux-enabled": true, [2024-10-03T18:48:44.515Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-03T18:48:44.515Z] } [Pipeline] sh [2024-10-03T18:48:44.898Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-03T18:48:45.282Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T18:49:03.701Z] provisioning config files... [2024-10-03T18:49:03.737Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config5556155448383941610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:49:04.309Z] ---> ****-login.sh [2024-10-03T18:49:04.309Z] nexus3.edgexfoundry.org:10001 [2024-10-03T18:49:04.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:49:04.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:49:04.850Z] Configure a credential helper to remove this warning. See [2024-10-03T18:49:04.851Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:49:04.851Z] [2024-10-03T18:49:04.851Z] Login Succeeded [2024-10-03T18:49:04.851Z] nexus3.edgexfoundry.org:10002 [2024-10-03T18:49:05.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:49:05.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:49:05.389Z] Configure a credential helper to remove this warning. See [2024-10-03T18:49:05.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:49:05.390Z] [2024-10-03T18:49:05.390Z] Login Succeeded [2024-10-03T18:49:05.390Z] nexus3.edgexfoundry.org:10003 [2024-10-03T18:49:05.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:49:05.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:49:05.662Z] Configure a credential helper to remove this warning. See [2024-10-03T18:49:05.662Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:49:05.662Z] [2024-10-03T18:49:05.662Z] Login Succeeded [2024-10-03T18:49:05.662Z] nexus3.edgexfoundry.org:10004 [2024-10-03T18:49:05.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:49:05.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:49:05.935Z] Configure a credential helper to remove this warning. See [2024-10-03T18:49:05.935Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:49:05.935Z] [2024-10-03T18:49:05.935Z] Login Succeeded [2024-10-03T18:49:05.935Z] ****.io [2024-10-03T18:49:06.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-03T18:49:06.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-03T18:49:06.468Z] Configure a credential helper to remove this warning. See [2024-10-03T18:49:06.468Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-03T18:49:06.468Z] [2024-10-03T18:49:06.468Z] Login Succeeded [2024-10-03T18:49:06.468Z] ---> ****-login.sh ends [Pipeline] } [2024-10-03T18:49:06.524Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-03T18:49:07.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T18:49:07.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-03T18:49:07.265Z] ========================================================= [2024-10-03T18:49:07.265Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-03T18:49:07.265Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:49:08.004Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-03T18:49:08.270Z] Sending build context to Docker daemon 12.86MB [2024-10-03T18:49:08.541Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-10-03T18:49:08.541Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-03T18:49:08.541Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-03T18:49:08.541Z] cf04c63912e1: Pulling fs layer [2024-10-03T18:49:08.541Z] 55b35a11ae5e: Pulling fs layer [2024-10-03T18:49:08.541Z] a37a00ec5f00: Pulling fs layer [2024-10-03T18:49:08.541Z] 50b3750afda1: Pulling fs layer [2024-10-03T18:49:08.541Z] 4f4fb700ef54: Pulling fs layer [2024-10-03T18:49:08.541Z] 80978eb59214: Pulling fs layer [2024-10-03T18:49:08.541Z] c9f46d7d2bd2: Pulling fs layer [2024-10-03T18:49:08.541Z] c5a475d317c9: Pulling fs layer [2024-10-03T18:49:08.541Z] 50b3750afda1: Waiting [2024-10-03T18:49:08.541Z] 4f4fb700ef54: Waiting [2024-10-03T18:49:08.541Z] 80978eb59214: Waiting [2024-10-03T18:49:08.541Z] c9f46d7d2bd2: Waiting [2024-10-03T18:49:08.541Z] c5a475d317c9: Waiting [2024-10-03T18:49:08.541Z] 55b35a11ae5e: Download complete [2024-10-03T18:49:08.541Z] 50b3750afda1: Verifying Checksum [2024-10-03T18:49:08.541Z] 50b3750afda1: Download complete [2024-10-03T18:49:08.541Z] 4f4fb700ef54: Verifying Checksum [2024-10-03T18:49:08.541Z] 4f4fb700ef54: Download complete [2024-10-03T18:49:08.809Z] 80978eb59214: Verifying Checksum [2024-10-03T18:49:08.809Z] 80978eb59214: Download complete [2024-10-03T18:49:08.809Z] cf04c63912e1: Verifying Checksum [2024-10-03T18:49:08.809Z] cf04c63912e1: Download complete [2024-10-03T18:49:09.399Z] c5a475d317c9: Verifying Checksum [2024-10-03T18:49:09.399Z] c5a475d317c9: Download complete [2024-10-03T18:49:09.669Z] cf04c63912e1: Pull complete [2024-10-03T18:49:10.258Z] 55b35a11ae5e: Pull complete [2024-10-03T18:49:10.528Z] a37a00ec5f00: Verifying Checksum [2024-10-03T18:49:10.528Z] a37a00ec5f00: Download complete [2024-10-03T18:49:11.485Z] c9f46d7d2bd2: Verifying Checksum [2024-10-03T18:49:11.485Z] c9f46d7d2bd2: Download complete [2024-10-03T18:49:23.811Z] a37a00ec5f00: Pull complete [2024-10-03T18:49:24.080Z] 50b3750afda1: Pull complete [2024-10-03T18:49:24.349Z] 4f4fb700ef54: Pull complete [2024-10-03T18:49:24.349Z] 80978eb59214: Pull complete [2024-10-03T18:49:32.594Z] c9f46d7d2bd2: Pull complete [2024-10-03T18:49:34.015Z] c5a475d317c9: Pull complete [2024-10-03T18:49:34.015Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-03T18:49:34.015Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-03T18:49:34.015Z] ---> be29e6b0f0d4 [2024-10-03T18:49:34.015Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-03T18:49:35.000Z] ---> Running in 55105c7dfabb [2024-10-03T18:49:35.268Z] Removing intermediate container 55105c7dfabb [2024-10-03T18:49:35.268Z] ---> a945e66ab8da [2024-10-03T18:49:35.268Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-03T18:49:35.268Z] ---> Running in 1e53786be940 [2024-10-03T18:49:35.544Z] Removing intermediate container 1e53786be940 [2024-10-03T18:49:35.544Z] ---> 38fb908c1071 [2024-10-03T18:49:35.544Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-10-03T18:49:35.544Z] ---> Running in 42b43563111f [2024-10-03T18:49:36.136Z] Removing intermediate container 42b43563111f [2024-10-03T18:49:36.136Z] ---> 0eb405a250ae [2024-10-03T18:49:36.136Z] Step 6/12 : WORKDIR /device-uart [2024-10-03T18:49:36.136Z] ---> Running in 30f9a5e3f1bd [2024-10-03T18:49:36.420Z] Removing intermediate container 30f9a5e3f1bd [2024-10-03T18:49:36.420Z] ---> 44bab9e17a98 [2024-10-03T18:49:36.420Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-03T18:49:36.420Z] ---> Running in 3b5a26b4f39b [2024-10-03T18:49:37.845Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-03T18:49:38.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-03T18:49:39.523Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-03T18:49:39.523Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-03T18:49:39.523Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-03T18:49:39.523Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-03T18:49:39.523Z] Executing busybox-1.36.1-r29.trigger [2024-10-03T18:49:39.523Z] OK: 242 MiB in 58 packages [2024-10-03T18:49:40.937Z] Removing intermediate container 3b5a26b4f39b [2024-10-03T18:49:40.937Z] ---> 054648747fbf [2024-10-03T18:49:40.937Z] Step 8/12 : COPY go.mod vendor* ./ [2024-10-03T18:49:41.207Z] ---> f5537fca54fa [2024-10-03T18:49:41.207Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-03T18:49:41.207Z] ---> Running in 6798b7716e9a [2024-10-03T18:51:32.876Z] Removing intermediate container 6798b7716e9a [2024-10-03T18:51:32.876Z] ---> 703e440856ab [2024-10-03T18:51:32.876Z] Step 10/12 : COPY . . [2024-10-03T18:51:32.876Z] ---> cf9dfa01f0ef [2024-10-03T18:51:32.876Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-03T18:51:32.876Z] ---> Running in 5f9efbb6ea53 [2024-10-03T18:51:32.876Z] Removing intermediate container 5f9efbb6ea53 [2024-10-03T18:51:32.876Z] ---> 15d5aaf5a29e [2024-10-03T18:51:32.876Z] Step 12/12 : RUN ${MAKE} [2024-10-03T18:51:32.876Z] ---> Running in 5facaecacd26 [2024-10-03T18:51:33.465Z] noop [2024-10-03T18:51:34.440Z] Removing intermediate container 5facaecacd26 [2024-10-03T18:51:34.440Z] ---> 8994f9b9fc65 [2024-10-03T18:51:34.440Z] Successfully built 8994f9b9fc65 [2024-10-03T18:51:34.440Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:51:35.018Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T18:51:35.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:51:35.344Z] prd-ubuntu20.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container [2024-10-03T18:51:35.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-uart/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** ci-base-image-arm64 cat [2024-10-03T18:51:36.459Z] $ docker top 97f7dba612479c5fa0afd3bac6376ad692660e3c9a97a5cf5c62fa5834b1b060 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T18:51:37.358Z] + go version [2024-10-03T18:51:37.358Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-03T18:51:37.401Z] $ docker stop --time=1 97f7dba612479c5fa0afd3bac6376ad692660e3c9a97a5cf5c62fa5834b1b060 [2024-10-03T18:51:38.973Z] $ docker rm -f --volumes 97f7dba612479c5fa0afd3bac6376ad692660e3c9a97a5cf5c62fa5834b1b060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:51:40.039Z] + docker inspect -f . ci-base-image-arm64 [2024-10-03T18:51:40.039Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:51:40.352Z] prd-ubuntu20.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container [2024-10-03T18:51:40.411Z] $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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 ******** ci-base-image-arm64 cat [2024-10-03T18:51:41.584Z] $ docker top e7fe90da99a7fc7b42d69ee8a2da9dbb7d097358fef09b3b3910c6da9b614271 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T18:51:42.200Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-10-03T18:51:42.639Z] + make test [2024-10-03T18:51:42.639Z] go test ./... -coverprofile=coverage.out [2024-10-03T18:51:46.894Z] go: updates to go.mod needed; to update it: [2024-10-03T18:51:46.894Z] go mod tidy [2024-10-03T18:51:46.894Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2024-10-03T18:51:46.972Z] $ docker stop --time=1 e7fe90da99a7fc7b42d69ee8a2da9dbb7d097358fef09b3b3910c6da9b614271 [2024-10-03T18:51:48.826Z] $ docker rm -f --volumes e7fe90da99a7fc7b42d69ee8a2da9dbb7d097358fef09b3b3910c6da9b614271 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:51:50.463Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T18:51:50.463Z] [2024-10-03T18:51:50.463Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:51:50.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T18:51:51.211Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-03T18:51:51.211Z] 8998bd30e6a1: Pulling fs layer [2024-10-03T18:51:51.211Z] 04944245beec: Pulling fs layer [2024-10-03T18:51:51.211Z] 699f458cf7ca: Pulling fs layer [2024-10-03T18:51:51.211Z] 765212b225bb: Pulling fs layer [2024-10-03T18:51:51.211Z] f23df028b6ca: Pulling fs layer [2024-10-03T18:51:51.211Z] d65c8cfc05b1: Pulling fs layer [2024-10-03T18:51:51.211Z] 2437ff75d9bd: Pulling fs layer [2024-10-03T18:51:51.211Z] 765212b225bb: Waiting [2024-10-03T18:51:51.211Z] f23df028b6ca: Waiting [2024-10-03T18:51:51.211Z] d65c8cfc05b1: Waiting [2024-10-03T18:51:51.211Z] 2437ff75d9bd: Waiting [2024-10-03T18:51:51.211Z] 04944245beec: Verifying Checksum [2024-10-03T18:51:51.211Z] 04944245beec: Download complete [2024-10-03T18:51:51.211Z] 765212b225bb: Verifying Checksum [2024-10-03T18:51:51.211Z] 765212b225bb: Download complete [2024-10-03T18:51:51.481Z] f23df028b6ca: Download complete [2024-10-03T18:51:51.481Z] d65c8cfc05b1: Verifying Checksum [2024-10-03T18:51:51.481Z] d65c8cfc05b1: Download complete [2024-10-03T18:51:51.481Z] 699f458cf7ca: Verifying Checksum [2024-10-03T18:51:51.481Z] 699f458cf7ca: Download complete [2024-10-03T18:51:52.065Z] 8998bd30e6a1: Download complete [2024-10-03T18:51:54.639Z] 2437ff75d9bd: Verifying Checksum [2024-10-03T18:51:54.639Z] 2437ff75d9bd: Download complete [2024-10-03T18:51:56.573Z] 8998bd30e6a1: Pull complete [2024-10-03T18:51:56.839Z] 04944245beec: Pull complete [2024-10-03T18:51:58.774Z] 699f458cf7ca: Pull complete [2024-10-03T18:51:58.774Z] 765212b225bb: Pull complete [2024-10-03T18:51:59.355Z] f23df028b6ca: Pull complete [2024-10-03T18:51:59.621Z] d65c8cfc05b1: Pull complete [2024-10-03T18:52:17.830Z] 2437ff75d9bd: Pull complete [2024-10-03T18:52:17.830Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-03T18:52:17.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-03T18:52:17.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:52:18.248Z] prd-ubuntu20.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container [2024-10-03T18:52:18.312Z] $ 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/1 -v /w/workspace/device-uart/1:/w/workspace/device-uart/1:rw,z -v /w/workspace/device-uart/1@tmp:/w/workspace/device-uart/1@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-lftools-log-publisher:arm64 cat [2024-10-03T18:52:20.706Z] $ docker top b9d55bd89c03d35f5f596c1851d5e1f0f8b8bddca70efbcffb13a5cf7412d3b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:21.379Z] ---> job-cost.sh [2024-10-03T18:52:21.660Z] lf-activate-venv: SKIPPING [2024-10-03T18:52:21.660Z] INFO: No Stack... [2024-10-03T18:52:21.940Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-03T18:52:22.936Z] INFO: Archiving Costs [Pipeline] sh [2024-10-03T18:52:23.643Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-10-03T18:52:23.643Z] + cut -d, -f6 [Pipeline] lock [2024-10-03T18:52:23.739Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [2024-10-03T18:52:23.750Z] Resource [jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] did not exist. Created. [2024-10-03T18:52:23.763Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-03T18:52:24.547Z] /w/workspace/device-uart/1@tmp/durable-c3a74ffb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-03T18:52:25.223Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-03T18:52:25.280Z] Warning: overwriting stash ‘stack-cost’ [2024-10-03T18:52:25.678Z] Stashed 1 file(s) [Pipeline] } [2024-10-03T18:52:25.703Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-03T18:52:25.798Z] $ docker stop --time=1 b9d55bd89c03d35f5f596c1851d5e1f0f8b8bddca70efbcffb13a5cf7412d3b8 [2024-10-03T18:52:27.454Z] $ docker rm -f --volumes b9d55bd89c03d35f5f596c1851d5e1f0f8b8bddca70efbcffb13a5cf7412d3b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-03T18:52:28.352Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-03T18:52:31.580Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-73/archives ] [2024-10-03T18:52:31.580Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-73/archives [2024-10-03T18:52:31.580Z] total 16 [2024-10-03T18:52:31.580Z] drwxr-xr-x 3 root root 4096 Oct 3 18:48 . [2024-10-03T18:52:31.580Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 18:48 .. [2024-10-03T18:52:31.580Z] drwxr-xr-x 2 root root 4096 Oct 3 18:48 cost [2024-10-03T18:52:31.580Z] -rw-r--r-- 1 root root 82 Oct 3 18:48 cost.csv [2024-10-03T18:52:31.580Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-73/archives [2024-10-03T18:52:31.580Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-73/archives [2024-10-03T18:52:31.580Z] total 16 [2024-10-03T18:52:31.580Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 18:48 . [2024-10-03T18:52:31.580Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 18:48 .. [2024-10-03T18:52:31.580Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 18:48 cost [2024-10-03T18:52:31.580Z] -rw-r--r-- 1 jenkins jenkins 82 Oct 3 18:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:31.942Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:32.872Z] ---> package-listing.sh [2024-10-03T18:52:32.872Z] ++ facter osfamily [2024-10-03T18:52:32.872Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-03T18:52:33.130Z] + OS_FAMILY=debian [2024-10-03T18:52:33.130Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-73 [2024-10-03T18:52:33.130Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-03T18:52:33.130Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-03T18:52:33.130Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-03T18:52:33.130Z] + PACKAGES=/tmp/packages_start.txt [2024-10-03T18:52:33.130Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-73 ']' [2024-10-03T18:52:33.130Z] + PACKAGES=/tmp/packages_end.txt [2024-10-03T18:52:33.130Z] + case "${OS_FAMILY}" in [2024-10-03T18:52:33.130Z] + dpkg -l [2024-10-03T18:52:33.130Z] + grep '^ii' [2024-10-03T18:52:33.130Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-03T18:52:33.130Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-03T18:52:33.130Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-03T18:52:33.130Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-73 ']' [2024-10-03T18:52:33.130Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-73/archives/ [2024-10-03T18:52:33.130Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-73/archives/ [Pipeline] echo [2024-10-03T18:52:33.186Z] 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-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-03T18:52:33.504Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-03T18:52:34.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-03T18:52:34.202Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-03T18:52:34.416Z] prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container [2024-10-03T18:52:34.441Z] $ 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-73/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-73 -v /w/workspace/edgexfoundry_device-uart_PR-73:/w/workspace/edgexfoundry_device-uart_PR-73:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-73@tmp:/w/workspace/edgexfoundry_device-uart_PR-73@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-03T18:52:34.617Z] $ docker top 55c1d47f504910a94d4b8f8f715fbad0f180d651206f6e3f2d3d1e4b85558cc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-03T18:52:35.075Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-03T18:52:35.413Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-03T18:52:35.760Z] + ls /var/log/sa-host [2024-10-03T18:52:35.760Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-03T18:52:36.278Z] provisioning config files... [2024-10-03T18:52:36.286Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-73@tmp/config15118440571486914422tmp [Pipeline] { [Pipeline] echo [2024-10-03T18:52:36.397Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:36.765Z] ---> create-netrc.sh [Pipeline] } [2024-10-03T18:52:36.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:37.295Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-03T18:52:37.360Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:37.721Z] ---> sudo-logs.sh [2024-10-03T18:52:37.721Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-03T18:52:37.878Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:38.253Z] ---> job-cost.sh [2024-10-03T18:52:38.253Z] lf-activate-venv: SKIPPING [2024-10-03T18:52:38.253Z] DEBUG: total: 0.2199999988079071 [2024-10-03T18:52:38.253Z] INFO: Retrieving Stack Cost... [2024-10-03T18:52:38.513Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-03T18:52:39.083Z] INFO: Archiving Costs [Pipeline] echo [2024-10-03T18:52:39.150Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-03T18:52:39.511Z] ---> logs-deploy.sh [2024-10-03T18:52:39.511Z] lf-activate-venv: SKIPPING [2024-10-03T18:52:39.511Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-73/1 [2024-10-03T18:52:39.511Z] INFO: archiving workspace using pattern(s): [2024-10-03T18:52:40.450Z] Archives upload complete. [2024-10-03T18:52:40.709Z] INFO: archiving logs to Nexus