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 18:46:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:46:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:46:14 ========================================================= 18:46:14 EdgeX Global Pipelines Version Info 18:46:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:46:15 ------------------- 18:46:15 stable info: 18:46:15 ------------------- 18:46:15 Commited By: Ginny Guan ginny@iotechsys.com 18:46:15 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 18:46:15 Message: update stable to v1.0.265 18:46:16 ------------------- 18:46:16 experimental info: 18:46:16 ------------------- 18:46:16 Commited By: Cherry Wang cherry@iotechsys.com 18:46:16 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 18:46:16 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 18:46:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:46:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-73 [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-73 [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-73 [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e97cd14 [Pipeline] echo 18:46:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:46:19 provisioning config files... 18:46:19 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-73@tmp/config15614516893694371679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:19 ---> ****-login.sh 18:46:19 nexus3.edgexfoundry.org:10001 18:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:19 Configure a credential helper to remove this warning. See 18:46:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:19 18:46:19 Login Succeeded 18:46:19 nexus3.edgexfoundry.org:10002 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 nexus3.edgexfoundry.org:10003 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 nexus3.edgexfoundry.org:10004 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 ****.io 18:46:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:20 Configure a credential helper to remove this warning. See 18:46:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:20 18:46:20 Login Succeeded 18:46:20 ---> ****-login.sh ends [Pipeline] } 18:46:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:46:21 + git rev-list -1 --merges e97cd14dccafd2a76231dc6b2bbfa5099c4e7066~1..e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo 18:46:21 -----------> git rev-list -1 --merges e97cd14dccafd2a76231dc6b2bbfa5099c4e7066~1..e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [false] [Pipeline] sh 18:46:22 + git log --format=format:%s -1 e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo 18:46:22 ========================================================= 18:46:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:46:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:46:22 + git log --format=format:%s -1 e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 [Pipeline] echo 18:46:22 [semverPrep] GIT_COMMIT: e97cd14dccafd2a76231dc6b2bbfa5099c4e7066, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 18:46:22 [semverPrep] This is not a build commit. [Pipeline] sh 18:46:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:46:23 + grep -v github /etc/ssh/ssh_known_hosts 18:46:23 + [ -e /tmp/ssh_known_hosts ] 18:46:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:46:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:46:23 + sudo tee -a /etc/ssh/ssh_known_hosts 18:46:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:23 18:46:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:24 0.1.4: Pulling from edgex-devops/py-git-semver 18:46:24 b85a868b505f: Pulling fs layer 18:46:24 e2be974225ed: Pulling fs layer 18:46:24 339a4e72a1f5: Pulling fs layer 18:46:24 988bab9f4d93: Pulling fs layer 18:46:24 1469e6f7b9e6: Pulling fs layer 18:46:24 eaf3925da568: Pulling fs layer 18:46:24 bab4dde63d76: Pulling fs layer 18:46:24 bde34c3a00c8: Pulling fs layer 18:46:24 b352a97aabf1: Pulling fs layer 18:46:24 4872d77fe225: Pulling fs layer 18:46:24 5851b861e8e6: Pulling fs layer 18:46:24 bab4dde63d76: Waiting 18:46:24 bde34c3a00c8: Waiting 18:46:24 b352a97aabf1: Waiting 18:46:24 4872d77fe225: Waiting 18:46:24 1469e6f7b9e6: Waiting 18:46:24 988bab9f4d93: Waiting 18:46:24 5851b861e8e6: Waiting 18:46:24 e2be974225ed: Verifying Checksum 18:46:24 e2be974225ed: Download complete 18:46:24 988bab9f4d93: Download complete 18:46:24 1469e6f7b9e6: Verifying Checksum 18:46:24 1469e6f7b9e6: Download complete 18:46:24 eaf3925da568: Verifying Checksum 18:46:24 eaf3925da568: Download complete 18:46:24 339a4e72a1f5: Verifying Checksum 18:46:24 339a4e72a1f5: Download complete 18:46:24 bde34c3a00c8: Verifying Checksum 18:46:24 bde34c3a00c8: Download complete 18:46:24 b352a97aabf1: Verifying Checksum 18:46:24 b352a97aabf1: Download complete 18:46:24 4872d77fe225: Verifying Checksum 18:46:24 4872d77fe225: Download complete 18:46:24 5851b861e8e6: Verifying Checksum 18:46:24 5851b861e8e6: Download complete 18:46:24 b85a868b505f: Verifying Checksum 18:46:24 b85a868b505f: Download complete 18:46:24 bab4dde63d76: Download complete 18:46:26 b85a868b505f: Pull complete 18:46:26 e2be974225ed: Pull complete 18:46:26 339a4e72a1f5: Pull complete 18:46:26 988bab9f4d93: Pull complete 18:46:26 1469e6f7b9e6: Pull complete 18:46:27 eaf3925da568: Pull complete 18:46:28 bab4dde63d76: Pull complete 18:46:28 bde34c3a00c8: Pull complete 18:46:28 b352a97aabf1: Pull complete 18:46:28 4872d77fe225: Pull complete 18:46:28 5851b861e8e6: Pull complete 18:46:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:46:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:29 prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container 18:46:29 $ 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 18:46:32 $ docker top 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a -eo pid,comm 18:46:32 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). 18:46:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:46:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:32 [ssh-agent] Looking for ssh-agent implementation... 18:46:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:32 $ docker exec 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent 18:46:32 SSH_AUTH_SOCK=/tmp/ssh-XLj4xVct4W2B/agent.33 18:46:32 SSH_AGENT_PID=39 18:46:32 Running ssh-add (command line suppressed) 18:46:32 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) 18:46:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:33 + git tag --points-at HEAD [Pipeline] } 18:46:33 $ docker exec --env ******** --env ******** 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent -k 18:46:33 unset SSH_AUTH_SOCK; 18:46:33 unset SSH_AGENT_PID; 18:46:33 echo Agent pid 39 killed; 18:46:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:46:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:46:33 [ssh-agent] Looking for ssh-agent implementation... 18:46:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:46:33 $ docker exec 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent 18:46:33 SSH_AUTH_SOCK=/tmp/ssh-hrEjcAxMf7ro/agent.72 18:46:33 SSH_AGENT_PID=78 18:46:33 Running ssh-add (command line suppressed) 18:46:34 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) 18:46:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:46:34 + git semver init 18:46:34 2024-10-03 18:46:34,590 [run_init] DEBUG init version:0.0.0 force:False 18:46:34 2024-10-03 18:46:34,592 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-73/.semver 18:46:34 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 18:46:34 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) 18:46:36 2024-10-03 18:46:35,866 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-73/.git/info/exclude 18:46:36 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 18:46:36 2024-10-03 18:46:35,866 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-73/.semver/PR-73 18:46:36 2024-10-03 18:46:35,869 [execute] INFO git cat-file --batch-check 18:46:36 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=) 18:46:36 2024-10-03 18:46:35,874 [execute] INFO git cat-file --batch 18:46:36 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=) 18:46:36 2024-10-03 18:46:35,879 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-73/.semver/PR-73 18:46:36 0.0.0 [Pipeline] } 18:46:36 $ docker exec --env ******** --env ******** 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a ssh-agent -k 18:46:36 unset SSH_AUTH_SOCK; 18:46:36 unset SSH_AGENT_PID; 18:46:36 echo Agent pid 78 killed; 18:46:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:46:36 + git semver [Pipeline] } 18:46:37 $ docker stop --time=1 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a 18:46:38 $ docker rm -f --volumes 47a246a051c3851cde6ede1d19adaaeca2b5f08dc22a62b10ac6eca7774bbe5a [Pipeline] // withDockerContainer [Pipeline] sh 18:46:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:46:39 Stashed 1 file(s) [Pipeline] echo 18:46:39 [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 18:46:40 provisioning config files... 18:46:40 copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-73@tmp/config8787795868540362203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:46:40 ---> ****-login.sh 18:46:40 nexus3.edgexfoundry.org:10001 18:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:40 Configure a credential helper to remove this warning. See 18:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:40 18:46:40 Login Succeeded 18:46:40 nexus3.edgexfoundry.org:10002 18:46:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:40 Configure a credential helper to remove this warning. See 18:46:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:40 18:46:40 Login Succeeded 18:46:40 nexus3.edgexfoundry.org:10003 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 nexus3.edgexfoundry.org:10004 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 ****.io 18:46:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:46:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:46:41 Configure a credential helper to remove this warning. See 18:46:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:46:41 18:46:41 Login Succeeded 18:46:41 ---> ****-login.sh ends [Pipeline] } 18:46:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:46:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:46:41 ========================================================= 18:46:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 18:46:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:42 + 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 . 18:46:42 Sending build context to Docker daemon 25.58MB 18:46:42 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:46:42 Step 2/12 : FROM ${BASE} AS builder 18:46:42 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 18:46:42 43c4264eed91: Pulling fs layer 18:46:42 4cc291be95ef: Pulling fs layer 18:46:42 2ac1f1163629: Pulling fs layer 18:46:42 5c3c966382ef: Pulling fs layer 18:46:42 4f4fb700ef54: Pulling fs layer 18:46:42 5d5c8e513c77: Pulling fs layer 18:46:42 9f66e0745190: Pulling fs layer 18:46:42 f49a43e4bbc0: Pulling fs layer 18:46:42 561ebcabdf7f: Pulling fs layer 18:46:42 5d5c8e513c77: Waiting 18:46:42 9f66e0745190: Waiting 18:46:42 f49a43e4bbc0: Waiting 18:46:42 561ebcabdf7f: Waiting 18:46:42 5c3c966382ef: Waiting 18:46:42 4f4fb700ef54: Waiting 18:46:42 4cc291be95ef: Verifying Checksum 18:46:42 4cc291be95ef: Download complete 18:46:42 5c3c966382ef: Download complete 18:46:42 4f4fb700ef54: Verifying Checksum 18:46:42 4f4fb700ef54: Download complete 18:46:42 5d5c8e513c77: Verifying Checksum 18:46:42 5d5c8e513c77: Download complete 18:46:42 43c4264eed91: Download complete 18:46:42 9f66e0745190: Verifying Checksum 18:46:42 9f66e0745190: Download complete 18:46:43 43c4264eed91: Pull complete 18:46:43 561ebcabdf7f: Verifying Checksum 18:46:43 561ebcabdf7f: Download complete 18:46:43 4cc291be95ef: Pull complete 18:46:43 2ac1f1163629: Verifying Checksum 18:46:43 2ac1f1163629: Download complete 18:46:43 f49a43e4bbc0: Verifying Checksum 18:46:43 f49a43e4bbc0: Download complete 18:46:46 2ac1f1163629: Pull complete 18:46:46 5c3c966382ef: Pull complete 18:46:46 4f4fb700ef54: Pull complete 18:46:46 5d5c8e513c77: Pull complete 18:46:46 9f66e0745190: Pull complete 18:46:48 f49a43e4bbc0: Pull complete 18:46:49 561ebcabdf7f: Pull complete 18:46:49 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 18:46:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 18:46:49 ---> 3a752c3f9dda 18:46:49 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:46:53 ---> Running in 2c0fe4d486f2 18:46:53 Removing intermediate container 2c0fe4d486f2 18:46:53 ---> 095f4140d93d 18:46:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:46:53 ---> Running in 34b0f2a56108 18:46:53 Removing intermediate container 34b0f2a56108 18:46:53 ---> 5c5a91e85b01 18:46:53 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:46:53 ---> Running in d6546bfa1809 18:46:53 Removing intermediate container d6546bfa1809 18:46:53 ---> 09497a021c13 18:46:53 Step 6/12 : WORKDIR /device-uart 18:46:53 ---> Running in 7f9639c5b413 18:46:53 Removing intermediate container 7f9639c5b413 18:46:53 ---> 2d2785e6b83c 18:46:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:46:53 ---> Running in bcfe35e7957d 18:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 18:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 18:46:54 (1/4) Installing openssh-keygen (9.7_p1-r4) 18:46:54 (2/4) Installing libedit (20240517.3.1-r0) 18:46:54 (3/4) Installing openssh-client-common (9.7_p1-r4) 18:46:54 (4/4) Installing openssh-client-default (9.7_p1-r4) 18:46:54 Executing busybox-1.36.1-r29.trigger 18:46:54 OK: 250 MiB in 58 packages 18:46:55 Removing intermediate container bcfe35e7957d 18:46:55 ---> 64b352f3019a 18:46:55 Step 8/12 : COPY go.mod vendor* ./ 18:46:55 ---> 03ea324d6e84 18:46:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:55 ---> Running in 51c7c355c583 18:46:55 Still waiting to schedule task 18:46:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:47:51 Removing intermediate container 51c7c355c583 18:47:51 ---> 58aac8bcaea2 18:47:51 Step 10/12 : COPY . . 18:47:51 ---> a61a3b3ff459 18:47:51 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:47:51 ---> Running in 9bec4d35b3fb 18:47:51 Removing intermediate container 9bec4d35b3fb 18:47:51 ---> bb49543c1626 18:47:51 Step 12/12 : RUN ${MAKE} 18:47:51 ---> Running in 47cbd8a0d48d 18:47:51 noop 18:47:51 Removing intermediate container 47cbd8a0d48d 18:47:51 ---> 75c0c352a437 18:47:51 Successfully built 75c0c352a437 18:47:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:52 + docker inspect -f . ci-base-image-x86_64 18:47:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:52 prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container 18:47:52 $ 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 18:47:53 $ docker top 60ef9aa5c76778d25da1da18b990e71ccfd076e13c122df78202badb71588002 -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:53 + go version 18:47:53 go version go1.23.2 linux/amd64 [Pipeline] } 18:47:53 $ docker stop --time=1 60ef9aa5c76778d25da1da18b990e71ccfd076e13c122df78202badb71588002 18:47:54 $ 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 18:47:55 + docker inspect -f . ci-base-image-x86_64 18:47:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:56 prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container 18:47:56 $ 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 18:47:56 $ docker top f1d818affb6800fe8a5211a6d752cec465c67b8bf6eb81d30bbac750e783568c -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:56 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-73 [Pipeline] fileExists [Pipeline] sh 18:47:57 + make test 18:47:57 go test ./... -coverprofile=coverage.out 18:47:57 go: updates to go.mod needed; to update it: 18:47:57 go mod tidy 18:47:57 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 18:47:57 $ docker stop --time=1 f1d818affb6800fe8a5211a6d752cec465c67b8bf6eb81d30bbac750e783568c 18:47:59 $ 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 18:48:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:00 18:48:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:01 latest: Pulling from edgex-lftools-log-publisher 18:48:01 5eb5b503b376: Pulling fs layer 18:48:01 5c69ac0246d0: Pulling fs layer 18:48:01 ec43610c2a17: Pulling fs layer 18:48:01 3a2ae6a8a46f: Pulling fs layer 18:48:01 33b1e0a273af: Pulling fs layer 18:48:01 5d3b04190fa2: Pulling fs layer 18:48:01 2f39f015ded8: Pulling fs layer 18:48:01 3a2ae6a8a46f: Waiting 18:48:01 33b1e0a273af: Waiting 18:48:01 5d3b04190fa2: Waiting 18:48:01 2f39f015ded8: Waiting 18:48:01 5c69ac0246d0: Download complete 18:48:01 3a2ae6a8a46f: Verifying Checksum 18:48:01 33b1e0a273af: Verifying Checksum 18:48:01 33b1e0a273af: Download complete 18:48:01 5d3b04190fa2: Download complete 18:48:01 ec43610c2a17: Verifying Checksum 18:48:01 ec43610c2a17: Download complete 18:48:01 5eb5b503b376: Verifying Checksum 18:48:01 5eb5b503b376: Download complete 18:48:02 2f39f015ded8: Download complete 18:48:02 5eb5b503b376: Pull complete 18:48:02 5c69ac0246d0: Pull complete 18:48:03 ec43610c2a17: Pull complete 18:48:03 3a2ae6a8a46f: Pull complete 18:48:03 33b1e0a273af: Pull complete 18:48:03 5d3b04190fa2: Pull complete 18:48:07 2f39f015ded8: Pull complete 18:48:07 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:48:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:48:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:08 prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container 18:48:08 $ 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 18:48:11 $ docker top f43ad991642fdf387b51ea3c7274cc4ed7f6832cc8e13ffe19b0ed2247497ecc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:48:11 ---> job-cost.sh 18:48:11 lf-activate-venv: SKIPPING 18:48:11 INFO: No Stack... 18:48:12 INFO: Retrieving Pricing Info for: v3-standard-8 18:48:12 INFO: Archiving Costs [Pipeline] sh 18:48:13 + cat /w/workspace/edgexfoundry_device-uart_PR-73/archives/cost.csv 18:48:13 + cut -d, -f6 [Pipeline] lock 18:48:13 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] 18:48:13 Resource [jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] did not exist. Created. 18:48:13 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:48:13 + echo total: 0.2199999988079071 [Pipeline] stash 18:48:13 Stashed 1 file(s) [Pipeline] } 18:48:13 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:48:14 $ docker stop --time=1 f43ad991642fdf387b51ea3c7274cc4ed7f6832cc8e13ffe19b0ed2247497ecc 18:48:15 $ docker rm -f --volumes f43ad991642fdf387b51ea3c7274cc4ed7f6832cc8e13ffe19b0ed2247497ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:48:15 Failed in branch amd64 18:48:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15468 in /w/workspace/edgexfoundry_device-uart_PR-73 [Pipeline] { [Pipeline] ws 18:48:25 Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout 18:48:29 The recommended git tool is: git 18:48:33 using credential edgex-jenkins-ssh 18:48:33 Cloning the remote Git repository 18:48:33 Cloning repository git@github.com:edgexfoundry/device-uart.git 18:48:33 > git init /w/workspace/device-uart/1 # timeout=10 18:48:33 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:48:33 > git --version # timeout=10 18:48:33 > git --version # 'git version 2.25.1' 18:48:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:48:36 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:48:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:48:37 Merging remotes/origin/main commit 23327eef742656f25952fb3dd9c4e82b8abf1118 into PR head commit e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 18:48:37 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 18:48:37 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git 18:48:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:37 > 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 18:48:37 > git config core.sparsecheckout # timeout=10 18:48:37 Merge succeeded, producing e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 18:48:37 Checking out Revision e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 (PR-73) 18:48:38 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 18:48:38 > git --version # timeout=10 18:48:38 > git --version # 'git version 2.25.1' 18:48:38 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 18:48:37 > git checkout -f e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 # timeout=10 18:48:37 > git remote # timeout=10 18:48:37 > git config --get remote.origin.url # timeout=10 18:48:37 using GIT_SSH to set credentials SSH Credentials for GitHub 18:48:37 > git merge 23327eef742656f25952fb3dd9c4e82b8abf1118 # timeout=10 18:48:37 > git rev-parse HEAD^{commit} # timeout=10 18:48:38 > git config core.sparsecheckout # timeout=10 18:48:38 > git checkout -f e97cd14dccafd2a76231dc6b2bbfa5099c4e7066 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:48:43 % Total % Received % Xferd Average Speed Time Time Time Current 18:48:43 Dload Upload Total Spent Left Speed 18:48:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 58844 0 --:--:-- --:--:-- --:--:-- 59115 [Pipeline] sh 18:48:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:48:44 + sudo tee /etc/docker/daemon.new 18:48:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:48:44 { 18:48:44 "registry-mirrors": [ 18:48:44 "https://nexus3.edgexfoundry.org:10001" 18:48:44 ], 18:48:44 "bip": "10.250.0.254/24", 18:48:44 "hosts": [ 18:48:44 "tcp://0.0.0.0:5555", 18:48:44 "unix:///var/run/docker.sock" 18:48:44 ], 18:48:44 "mtu": 1458, 18:48:44 "selinux-enabled": true, 18:48:44 "seccomp-profile": "/etc/docker/seccomp.json" 18:48:44 } [Pipeline] sh 18:48:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:48:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:49:03 provisioning config files... 18:49:03 copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config5556155448383941610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:49:04 ---> ****-login.sh 18:49:04 nexus3.edgexfoundry.org:10001 18:49:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:04 Configure a credential helper to remove this warning. See 18:49:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:04 18:49:04 Login Succeeded 18:49:04 nexus3.edgexfoundry.org:10002 18:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:05 Configure a credential helper to remove this warning. See 18:49:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:05 18:49:05 Login Succeeded 18:49:05 nexus3.edgexfoundry.org:10003 18:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:05 Configure a credential helper to remove this warning. See 18:49:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:05 18:49:05 Login Succeeded 18:49:05 nexus3.edgexfoundry.org:10004 18:49:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:05 Configure a credential helper to remove this warning. See 18:49:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:05 18:49:05 Login Succeeded 18:49:05 ****.io 18:49:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:49:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:49:06 Configure a credential helper to remove this warning. See 18:49:06 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:49:06 18:49:06 Login Succeeded 18:49:06 ---> ****-login.sh ends [Pipeline] } 18:49:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:49:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:49:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:49:07 ========================================================= 18:49:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 18:49:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:08 + 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 . 18:49:08 Sending build context to Docker daemon 12.86MB 18:49:08 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:49:08 Step 2/12 : FROM ${BASE} AS builder 18:49:08 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:49:08 cf04c63912e1: Pulling fs layer 18:49:08 55b35a11ae5e: Pulling fs layer 18:49:08 a37a00ec5f00: Pulling fs layer 18:49:08 50b3750afda1: Pulling fs layer 18:49:08 4f4fb700ef54: Pulling fs layer 18:49:08 80978eb59214: Pulling fs layer 18:49:08 c9f46d7d2bd2: Pulling fs layer 18:49:08 c5a475d317c9: Pulling fs layer 18:49:08 50b3750afda1: Waiting 18:49:08 4f4fb700ef54: Waiting 18:49:08 80978eb59214: Waiting 18:49:08 c9f46d7d2bd2: Waiting 18:49:08 c5a475d317c9: Waiting 18:49:08 55b35a11ae5e: Download complete 18:49:08 50b3750afda1: Verifying Checksum 18:49:08 50b3750afda1: Download complete 18:49:08 4f4fb700ef54: Verifying Checksum 18:49:08 4f4fb700ef54: Download complete 18:49:08 80978eb59214: Verifying Checksum 18:49:08 80978eb59214: Download complete 18:49:08 cf04c63912e1: Verifying Checksum 18:49:08 cf04c63912e1: Download complete 18:49:09 c5a475d317c9: Verifying Checksum 18:49:09 c5a475d317c9: Download complete 18:49:09 cf04c63912e1: Pull complete 18:49:10 55b35a11ae5e: Pull complete 18:49:10 a37a00ec5f00: Verifying Checksum 18:49:10 a37a00ec5f00: Download complete 18:49:11 c9f46d7d2bd2: Verifying Checksum 18:49:11 c9f46d7d2bd2: Download complete 18:49:23 a37a00ec5f00: Pull complete 18:49:24 50b3750afda1: Pull complete 18:49:24 4f4fb700ef54: Pull complete 18:49:24 80978eb59214: Pull complete 18:49:32 c9f46d7d2bd2: Pull complete 18:49:34 c5a475d317c9: Pull complete 18:49:34 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 18:49:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 18:49:34 ---> be29e6b0f0d4 18:49:34 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:49:35 ---> Running in 55105c7dfabb 18:49:35 Removing intermediate container 55105c7dfabb 18:49:35 ---> a945e66ab8da 18:49:35 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 18:49:35 ---> Running in 1e53786be940 18:49:35 Removing intermediate container 1e53786be940 18:49:35 ---> 38fb908c1071 18:49:35 Step 5/12 : ARG ADD_BUILD_TAGS="" 18:49:35 ---> Running in 42b43563111f 18:49:36 Removing intermediate container 42b43563111f 18:49:36 ---> 0eb405a250ae 18:49:36 Step 6/12 : WORKDIR /device-uart 18:49:36 ---> Running in 30f9a5e3f1bd 18:49:36 Removing intermediate container 30f9a5e3f1bd 18:49:36 ---> 44bab9e17a98 18:49:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:49:36 ---> Running in 3b5a26b4f39b 18:49:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 18:49:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 18:49:39 (1/4) Installing openssh-keygen (9.7_p1-r4) 18:49:39 (2/4) Installing libedit (20240517.3.1-r0) 18:49:39 (3/4) Installing openssh-client-common (9.7_p1-r4) 18:49:39 (4/4) Installing openssh-client-default (9.7_p1-r4) 18:49:39 Executing busybox-1.36.1-r29.trigger 18:49:39 OK: 242 MiB in 58 packages 18:49:40 Removing intermediate container 3b5a26b4f39b 18:49:40 ---> 054648747fbf 18:49:40 Step 8/12 : COPY go.mod vendor* ./ 18:49:41 ---> f5537fca54fa 18:49:41 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:41 ---> Running in 6798b7716e9a 18:51:32 Removing intermediate container 6798b7716e9a 18:51:32 ---> 703e440856ab 18:51:32 Step 10/12 : COPY . . 18:51:32 ---> cf9dfa01f0ef 18:51:32 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:32 ---> Running in 5f9efbb6ea53 18:51:32 Removing intermediate container 5f9efbb6ea53 18:51:32 ---> 15d5aaf5a29e 18:51:32 Step 12/12 : RUN ${MAKE} 18:51:32 ---> Running in 5facaecacd26 18:51:33 noop 18:51:34 Removing intermediate container 5facaecacd26 18:51:34 ---> 8994f9b9fc65 18:51:34 Successfully built 8994f9b9fc65 18:51:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:35 + docker inspect -f . ci-base-image-arm64 18:51:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:35 prd-ubuntu20.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container 18:51:35 $ 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 18:51:36 $ docker top 97f7dba612479c5fa0afd3bac6376ad692660e3c9a97a5cf5c62fa5834b1b060 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:37 + go version 18:51:37 go version go1.23.2 linux/arm64 [Pipeline] } 18:51:37 $ docker stop --time=1 97f7dba612479c5fa0afd3bac6376ad692660e3c9a97a5cf5c62fa5834b1b060 18:51:38 $ 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 18:51:40 + docker inspect -f . ci-base-image-arm64 18:51:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:40 prd-ubuntu20.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container 18:51:40 $ 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 18:51:41 $ docker top e7fe90da99a7fc7b42d69ee8a2da9dbb7d097358fef09b3b3910c6da9b614271 -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:42 + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh 18:51:42 + make test 18:51:42 go test ./... -coverprofile=coverage.out 18:51:46 go: updates to go.mod needed; to update it: 18:51:46 go mod tidy 18:51:46 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 18:51:46 $ docker stop --time=1 e7fe90da99a7fc7b42d69ee8a2da9dbb7d097358fef09b3b3910c6da9b614271 18:51:48 $ 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 18:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:50 18:51:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:51 arm64: Pulling from edgex-lftools-log-publisher 18:51:51 8998bd30e6a1: Pulling fs layer 18:51:51 04944245beec: Pulling fs layer 18:51:51 699f458cf7ca: Pulling fs layer 18:51:51 765212b225bb: Pulling fs layer 18:51:51 f23df028b6ca: Pulling fs layer 18:51:51 d65c8cfc05b1: Pulling fs layer 18:51:51 2437ff75d9bd: Pulling fs layer 18:51:51 765212b225bb: Waiting 18:51:51 f23df028b6ca: Waiting 18:51:51 d65c8cfc05b1: Waiting 18:51:51 2437ff75d9bd: Waiting 18:51:51 04944245beec: Verifying Checksum 18:51:51 04944245beec: Download complete 18:51:51 765212b225bb: Verifying Checksum 18:51:51 765212b225bb: Download complete 18:51:51 f23df028b6ca: Download complete 18:51:51 d65c8cfc05b1: Verifying Checksum 18:51:51 d65c8cfc05b1: Download complete 18:51:51 699f458cf7ca: Verifying Checksum 18:51:51 699f458cf7ca: Download complete 18:51:52 8998bd30e6a1: Download complete 18:51:54 2437ff75d9bd: Verifying Checksum 18:51:54 2437ff75d9bd: Download complete 18:51:56 8998bd30e6a1: Pull complete 18:51:56 04944245beec: Pull complete 18:51:58 699f458cf7ca: Pull complete 18:51:58 765212b225bb: Pull complete 18:51:59 f23df028b6ca: Pull complete 18:51:59 d65c8cfc05b1: Pull complete 18:52:17 2437ff75d9bd: Pull complete 18:52:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:52:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:18 prd-ubuntu20.04-docker-arm64-4c-16g-15468 does not seem to be running inside a container 18:52:18 $ 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 18:52:20 $ docker top b9d55bd89c03d35f5f596c1851d5e1f0f8b8bddca70efbcffb13a5cf7412d3b8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:21 ---> job-cost.sh 18:52:21 lf-activate-venv: SKIPPING 18:52:21 INFO: No Stack... 18:52:21 INFO: Retrieving Pricing Info for: v3-standard-4 18:52:22 INFO: Archiving Costs [Pipeline] sh 18:52:23 + cat /w/workspace/device-uart/1/archives/cost.csv 18:52:23 + cut -d, -f6 [Pipeline] lock 18:52:23 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] 18:52:23 Resource [jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] did not exist. Created. 18:52:23 Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:24 /w/workspace/device-uart/1@tmp/durable-c3a74ffb/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:52:25 + echo total: 0.10999999940395355 [Pipeline] stash 18:52:25 Warning: overwriting stash ‘stack-cost’ 18:52:25 Stashed 1 file(s) [Pipeline] } 18:52:25 Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:25 $ docker stop --time=1 b9d55bd89c03d35f5f596c1851d5e1f0f8b8bddca70efbcffb13a5cf7412d3b8 18:52:27 $ 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] } 18:52:28 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 18:52:31 + [ -d /w/workspace/edgexfoundry_device-uart_PR-73/archives ] 18:52:31 + ls -al /w/workspace/edgexfoundry_device-uart_PR-73/archives 18:52:31 total 16 18:52:31 drwxr-xr-x 3 root root 4096 Oct 3 18:48 . 18:52:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 18:48 .. 18:52:31 drwxr-xr-x 2 root root 4096 Oct 3 18:48 cost 18:52:31 -rw-r--r-- 1 root root 82 Oct 3 18:48 cost.csv 18:52:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-73/archives 18:52:31 + ls -al /w/workspace/edgexfoundry_device-uart_PR-73/archives 18:52:31 total 16 18:52:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 3 18:48 . 18:52:31 drwxrwxr-x 9 jenkins jenkins 4096 Oct 3 18:48 .. 18:52:31 drwxr-xr-x 2 jenkins jenkins 4096 Oct 3 18:48 cost 18:52:31 -rw-r--r-- 1 jenkins jenkins 82 Oct 3 18:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:32 ---> package-listing.sh 18:52:32 ++ facter osfamily 18:52:32 ++ tr '[:upper:]' '[:lower:]' 18:52:33 + OS_FAMILY=debian 18:52:33 + workspace=/w/workspace/edgexfoundry_device-uart_PR-73 18:52:33 + START_PACKAGES=/tmp/packages_start.txt 18:52:33 + END_PACKAGES=/tmp/packages_end.txt 18:52:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:33 + PACKAGES=/tmp/packages_start.txt 18:52:33 + '[' /w/workspace/edgexfoundry_device-uart_PR-73 ']' 18:52:33 + PACKAGES=/tmp/packages_end.txt 18:52:33 + case "${OS_FAMILY}" in 18:52:33 + dpkg -l 18:52:33 + grep '^ii' 18:52:33 + '[' -f /tmp/packages_start.txt ']' 18:52:33 + '[' -f /tmp/packages_end.txt ']' 18:52:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:33 + '[' /w/workspace/edgexfoundry_device-uart_PR-73 ']' 18:52:33 + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-73/archives/ 18:52:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-73/archives/ [Pipeline] echo 18:52:33 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 18:52:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:34 prd-ubuntu20.04-docker-8c-8g-15467 does not seem to be running inside a container 18:52:34 $ 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 18:52:34 $ docker top 55c1d47f504910a94d4b8f8f715fbad0f180d651206f6e3f2d3d1e4b85558cc5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:35 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:35 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:35 + ls /var/log/sa-host 18:52:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:36 provisioning config files... 18:52:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-73@tmp/config15118440571486914422tmp [Pipeline] { [Pipeline] echo 18:52:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:36 ---> create-netrc.sh [Pipeline] } 18:52:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:52:37 ---> python-tools-install.sh [Pipeline] echo 18:52:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:52:37 ---> sudo-logs.sh 18:52:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:52:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:52:38 ---> job-cost.sh 18:52:38 lf-activate-venv: SKIPPING 18:52:38 DEBUG: total: 0.2199999988079071 18:52:38 INFO: Retrieving Stack Cost... 18:52:38 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:39 INFO: Archiving Costs [Pipeline] echo 18:52:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:52:39 ---> logs-deploy.sh 18:52:39 lf-activate-venv: SKIPPING 18:52:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-73/1 18:52:39 INFO: archiving workspace using pattern(s): 18:52:40 Archives upload complete. 18:52:40 INFO: archiving logs to Nexus