Pull request #65 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6d6d3be6379d3cbb8e5c80532720157cf046c19+bc279460de46d3a6d33425637d1308351b1bd8af (9779293112be4777cb14f2c96b71c30643e3c3d2) 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-ssh2008196107735713169.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh11999156782819494365.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 590556114a56c6d90cc8043840e039c2f74196dc 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-65/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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6973379278245507965.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-65/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13410838902227949058.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh9710492400879331674.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-65/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-65/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13783137913445397941.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 590556114a56c6d90cc8043840e039c2f74196dc 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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-uart DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7310’ Running on prd-ubuntu20.04-docker-8c-8g-7313 in /w/workspace/edgexfoundry_device-uart_PR-65 [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-65 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc279460de46d3a6d33425637d1308351b1bd8af into PR head commit e6d6d3be6379d3cbb8e5c80532720157cf046c19 Merge succeeded, producing e6d6d3be6379d3cbb8e5c80532720157cf046c19 Checking out Revision e6d6d3be6379d3cbb8e5c80532720157cf046c19 (PR-65) > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6d6d3be6379d3cbb8e5c80532720157cf046c19 # 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 bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6d6d3be6379d3cbb8e5c80532720157cf046c19 # timeout=10 Commit message: "build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-07T18:50:15.642Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-07T18:50:15.882Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-07T18:50:16.012Z] ========================================================= [2024-08-07T18:50:16.012Z] EdgeX Global Pipelines Version Info [2024-08-07T18:50:16.012Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:50:16.777Z] ------------------- [2024-08-07T18:50:16.777Z] stable info: [2024-08-07T18:50:16.777Z] ------------------- [2024-08-07T18:50:16.777Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T18:50:16.777Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-08-07T18:50:16.777Z] Message: update stable to v1.0.260 [2024-08-07T18:50:17.352Z] ------------------- [2024-08-07T18:50:17.352Z] experimental info: [2024-08-07T18:50:17.352Z] ------------------- [2024-08-07T18:50:17.352Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-08-07T18:50:17.352Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-08-07T18:50:17.352Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-07T18:50:17.581Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-uart-settings [Pipeline] echo [2024-08-07T18:50:17.642Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-uart [Pipeline] echo [2024-08-07T18:50:17.702Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-07T18:50:17.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-07T18:50:17.831Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-07T18:50:17.891Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-07T18:50:17.952Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-07T18:50:18.008Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-07T18:50:18.072Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-07T18:50:18.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-07T18:50:18.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-07T18:50:18.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-uart [Pipeline] echo [2024-08-07T18:50:18.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-07T18:50:18.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-07T18:50:18.444Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T18:50:18.503Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-07T18:50:18.561Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T18:50:40.065Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-07T18:50:40.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-07T18:50:40.195Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-07T18:50:40.267Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-07T18:50:40.328Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-07T18:50:40.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-07T18:50:40.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-07T18:50:40.513Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-07T18:50:40.570Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-07T18:50:40.626Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-07T18:50:40.685Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo [2024-08-07T18:50:40.742Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo [2024-08-07T18:50:40.803Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo [2024-08-07T18:50:40.864Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6d6d3be6379d3cbb8e5c80532720157cf046c19 [Pipeline] echo [2024-08-07T18:50:40.930Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6d6d3b [Pipeline] echo [2024-08-07T18:50:40.989Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T18:50:41.138Z] provisioning config files... [2024-08-07T18:50:41.153Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-65@tmp/config5768971355183863458tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:50:41.547Z] ---> ****-login.sh [2024-08-07T18:50:41.548Z] nexus3.edgexfoundry.org:10001 [2024-08-07T18:50:41.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:50:41.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:50:41.810Z] Configure a credential helper to remove this warning. See [2024-08-07T18:50:41.810Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:50:41.810Z] [2024-08-07T18:50:41.810Z] Login Succeeded [2024-08-07T18:50:41.810Z] nexus3.edgexfoundry.org:10002 [2024-08-07T18:50:41.810Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:50:41.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:50:41.810Z] Configure a credential helper to remove this warning. See [2024-08-07T18:50:41.811Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:50:41.811Z] [2024-08-07T18:50:41.811Z] Login Succeeded [2024-08-07T18:50:41.811Z] nexus3.edgexfoundry.org:10003 [2024-08-07T18:50:42.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:50:42.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:50:42.072Z] Configure a credential helper to remove this warning. See [2024-08-07T18:50:42.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:50:42.072Z] [2024-08-07T18:50:42.072Z] Login Succeeded [2024-08-07T18:50:42.072Z] nexus3.edgexfoundry.org:10004 [2024-08-07T18:50:42.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:50:42.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:50:42.072Z] Configure a credential helper to remove this warning. See [2024-08-07T18:50:42.072Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:50:42.072Z] [2024-08-07T18:50:42.072Z] Login Succeeded [2024-08-07T18:50:42.072Z] ****.io [2024-08-07T18:50:42.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:50:42.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:50:42.332Z] Configure a credential helper to remove this warning. See [2024-08-07T18:50:42.332Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:50:42.332Z] [2024-08-07T18:50:42.332Z] Login Succeeded [2024-08-07T18:50:42.332Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T18:50:42.366Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-07T18:50:43.073Z] + git rev-list -1 --merges e6d6d3be6379d3cbb8e5c80532720157cf046c19~1..e6d6d3be6379d3cbb8e5c80532720157cf046c19 [Pipeline] echo [2024-08-07T18:50:43.123Z] -----------> git rev-list -1 --merges e6d6d3be6379d3cbb8e5c80532720157cf046c19~1..e6d6d3be6379d3cbb8e5c80532720157cf046c19 e6d6d3be6379d3cbb8e5c80532720157cf046c19 [false] [Pipeline] sh [2024-08-07T18:50:43.439Z] + git log --format=format:%s -1 e6d6d3be6379d3cbb8e5c80532720157cf046c19 [Pipeline] echo [2024-08-07T18:50:43.487Z] ========================================================= [2024-08-07T18:50:43.487Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-07T18:50:43.487Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T18:50:43.969Z] + git log --format=format:%s -1 e6d6d3be6379d3cbb8e5c80532720157cf046c19 [Pipeline] echo [2024-08-07T18:50:44.010Z] [semverPrep] GIT_COMMIT: e6d6d3be6379d3cbb8e5c80532720157cf046c19, Commit Message: build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0 [Pipeline] echo [2024-08-07T18:50:44.052Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-07T18:50:44.456Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-07T18:50:44.456Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-07T18:50:44.456Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-07T18:50:44.456Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-07T18:50:44.456Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-07T18:50:44.456Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-07T18:50:44.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:50:44.925Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T18:50:44.925Z] [2024-08-07T18:50:44.925Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:50:45.324Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T18:50:45.324Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-07T18:50:45.324Z] b85a868b505f: Pulling fs layer [2024-08-07T18:50:45.324Z] e2be974225ed: Pulling fs layer [2024-08-07T18:50:45.324Z] 339a4e72a1f5: Pulling fs layer [2024-08-07T18:50:45.324Z] 988bab9f4d93: Pulling fs layer [2024-08-07T18:50:45.324Z] 1469e6f7b9e6: Pulling fs layer [2024-08-07T18:50:45.324Z] eaf3925da568: Pulling fs layer [2024-08-07T18:50:45.324Z] bab4dde63d76: Pulling fs layer [2024-08-07T18:50:45.324Z] bde34c3a00c8: Pulling fs layer [2024-08-07T18:50:45.324Z] b352a97aabf1: Pulling fs layer [2024-08-07T18:50:45.324Z] 4872d77fe225: Pulling fs layer [2024-08-07T18:50:45.324Z] 5851b861e8e6: Pulling fs layer [2024-08-07T18:50:45.324Z] b352a97aabf1: Waiting [2024-08-07T18:50:45.324Z] 4872d77fe225: Waiting [2024-08-07T18:50:45.324Z] eaf3925da568: Waiting [2024-08-07T18:50:45.324Z] 5851b861e8e6: Waiting [2024-08-07T18:50:45.324Z] bab4dde63d76: Waiting [2024-08-07T18:50:45.324Z] bde34c3a00c8: Waiting [2024-08-07T18:50:45.324Z] 988bab9f4d93: Waiting [2024-08-07T18:50:45.324Z] 1469e6f7b9e6: Waiting [2024-08-07T18:50:45.324Z] e2be974225ed: Verifying Checksum [2024-08-07T18:50:45.324Z] e2be974225ed: Download complete [2024-08-07T18:50:45.324Z] 988bab9f4d93: Download complete [2024-08-07T18:50:45.592Z] 339a4e72a1f5: Verifying Checksum [2024-08-07T18:50:45.592Z] 339a4e72a1f5: Download complete [2024-08-07T18:50:45.592Z] 1469e6f7b9e6: Verifying Checksum [2024-08-07T18:50:45.592Z] 1469e6f7b9e6: Download complete [2024-08-07T18:50:45.592Z] eaf3925da568: Download complete [2024-08-07T18:50:45.592Z] bde34c3a00c8: Verifying Checksum [2024-08-07T18:50:45.592Z] bde34c3a00c8: Download complete [2024-08-07T18:50:45.592Z] b352a97aabf1: Download complete [2024-08-07T18:50:45.592Z] 4872d77fe225: Download complete [2024-08-07T18:50:45.592Z] 5851b861e8e6: Verifying Checksum [2024-08-07T18:50:45.592Z] 5851b861e8e6: Download complete [2024-08-07T18:50:45.592Z] b85a868b505f: Download complete [2024-08-07T18:50:45.852Z] bab4dde63d76: Verifying Checksum [2024-08-07T18:50:45.852Z] bab4dde63d76: Download complete [2024-08-07T18:50:46.789Z] b85a868b505f: Pull complete [2024-08-07T18:50:47.049Z] e2be974225ed: Pull complete [2024-08-07T18:50:47.623Z] 339a4e72a1f5: Pull complete [2024-08-07T18:50:47.623Z] 988bab9f4d93: Pull complete [2024-08-07T18:50:47.883Z] 1469e6f7b9e6: Pull complete [2024-08-07T18:50:47.883Z] eaf3925da568: Pull complete [2024-08-07T18:50:49.787Z] bab4dde63d76: Pull complete [2024-08-07T18:50:50.048Z] bde34c3a00c8: Pull complete [2024-08-07T18:50:50.048Z] b352a97aabf1: Pull complete [2024-08-07T18:50:50.048Z] 4872d77fe225: Pull complete [2024-08-07T18:50:50.309Z] 5851b861e8e6: Pull complete [2024-08-07T18:50:50.309Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-07T18:50:50.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-07T18:50:50.309Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:50:50.629Z] prd-ubuntu20.04-docker-8c-8g-7313 does not seem to be running inside a container [2024-08-07T18:50:50.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-uart_PR-65 -v /w/workspace/edgexfoundry_device-uart_PR-65:/w/workspace/edgexfoundry_device-uart_PR-65:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-65@tmp:/w/workspace/edgexfoundry_device-uart_PR-65@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-07T18:50:53.966Z] $ docker top d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 -eo pid,comm [2024-08-07T18:50:54.024Z] 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-08-07T18:50:54.024Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-07T18:50:54.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T18:50:54.195Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T18:50:54.321Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T18:50:54.322Z] $ docker exec d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 ssh-agent [2024-08-07T18:50:54.421Z] SSH_AUTH_SOCK=/tmp/ssh-1JBizm7fesRo/agent.31 [2024-08-07T18:50:54.421Z] SSH_AGENT_PID=37 [2024-08-07T18:50:54.427Z] Running ssh-add (command line suppressed) [2024-08-07T18:50:54.533Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-65@tmp/private_key_1606489957174022186.key (/w/workspace/edgexfoundry_device-uart_PR-65@tmp/private_key_1606489957174022186.key) [2024-08-07T18:50:54.550Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T18:50:54.898Z] + git tag --points-at HEAD [Pipeline] } [2024-08-07T18:50:54.922Z] $ docker exec --env ******** --env ******** d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 ssh-agent -k [2024-08-07T18:50:55.032Z] unset SSH_AUTH_SOCK; [2024-08-07T18:50:55.032Z] unset SSH_AGENT_PID; [2024-08-07T18:50:55.032Z] echo Agent pid 37 killed; [2024-08-07T18:50:55.045Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-07T18:50:55.153Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-07T18:50:55.153Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-07T18:50:55.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-07T18:50:55.280Z] $ docker exec d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 ssh-agent [2024-08-07T18:50:55.402Z] SSH_AUTH_SOCK=/tmp/ssh-ponP5f4mbi0A/agent.70 [2024-08-07T18:50:55.402Z] SSH_AGENT_PID=76 [2024-08-07T18:50:55.407Z] Running ssh-add (command line suppressed) [2024-08-07T18:50:55.510Z] Identity added: /w/workspace/edgexfoundry_device-uart_PR-65@tmp/private_key_6688145095248087078.key (/w/workspace/edgexfoundry_device-uart_PR-65@tmp/private_key_6688145095248087078.key) [2024-08-07T18:50:55.528Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-07T18:50:55.879Z] + git semver init [2024-08-07T18:50:56.139Z] 2024-08-07 18:50:56,037 [run_init] DEBUG init version:0.0.0 force:False [2024-08-07T18:50:56.139Z] 2024-08-07 18:50:56,037 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-uart_PR-65/.semver [2024-08-07T18:50:56.139Z] 2024-08-07 18:50:56,038 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-uart.git /w/workspace/edgexfoundry_device-uart_PR-65/.semver [2024-08-07T18:50:56.139Z] 2024-08-07 18:50:56,038 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-uart.git', '/w/workspace/edgexfoundry_device-uart_PR-65/.semver'], cwd=/w/workspace/edgexfoundry_device-uart_PR-65, universal_newlines=False, shell=None, istream=None) [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,212 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-uart_PR-65/.git/info/exclude [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-uart_PR-65/.semver/PR-65 with force:False [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,212 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-uart_PR-65/.semver/PR-65 [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,217 [execute] INFO git cat-file --batch-check [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-uart_PR-65/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,223 [execute] INFO git cat-file --batch [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-uart_PR-65/.semver, universal_newlines=False, shell=None, istream=) [2024-08-07T18:50:57.522Z] 2024-08-07 18:50:57,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-uart_PR-65/.semver/PR-65 [2024-08-07T18:50:57.522Z] 0.0.0 [Pipeline] } [2024-08-07T18:50:57.547Z] $ docker exec --env ******** --env ******** d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 ssh-agent -k [2024-08-07T18:50:57.666Z] unset SSH_AUTH_SOCK; [2024-08-07T18:50:57.666Z] unset SSH_AGENT_PID; [2024-08-07T18:50:57.666Z] echo Agent pid 76 killed; [2024-08-07T18:50:57.686Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-07T18:50:58.159Z] + git semver [Pipeline] } [2024-08-07T18:50:58.446Z] $ docker stop --time=1 d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 [2024-08-07T18:50:59.749Z] $ docker rm -f --volumes d81f248ece9ad0bf7949be904a71ff41dba9528e65d2cc4ef3dd82a6b79315b3 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T18:51:00.185Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-07T18:51:00.476Z] Stashed 1 file(s) [Pipeline] echo [2024-08-07T18:51:00.499Z] [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-08-07T18:51:01.221Z] provisioning config files... [2024-08-07T18:51:01.231Z] copy managed file [device-uart-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-65@tmp/config6924136713261773926tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:51:01.601Z] ---> ****-login.sh [2024-08-07T18:51:01.601Z] nexus3.edgexfoundry.org:10001 [2024-08-07T18:51:01.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:51:01.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:51:01.601Z] Configure a credential helper to remove this warning. See [2024-08-07T18:51:01.601Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:51:01.601Z] [2024-08-07T18:51:01.601Z] Login Succeeded [2024-08-07T18:51:01.601Z] nexus3.edgexfoundry.org:10002 [2024-08-07T18:51:01.601Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:51:01.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:51:01.602Z] Configure a credential helper to remove this warning. See [2024-08-07T18:51:01.602Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:51:01.602Z] [2024-08-07T18:51:01.602Z] Login Succeeded [2024-08-07T18:51:01.602Z] nexus3.edgexfoundry.org:10003 [2024-08-07T18:51:01.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:51:01.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:51:01.862Z] Configure a credential helper to remove this warning. See [2024-08-07T18:51:01.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:51:01.862Z] [2024-08-07T18:51:01.862Z] Login Succeeded [2024-08-07T18:51:01.862Z] nexus3.edgexfoundry.org:10004 [2024-08-07T18:51:01.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:51:01.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:51:01.862Z] Configure a credential helper to remove this warning. See [2024-08-07T18:51:01.862Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:51:01.862Z] [2024-08-07T18:51:01.862Z] Login Succeeded [2024-08-07T18:51:01.862Z] ****.io [2024-08-07T18:51:02.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:51:02.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:51:02.121Z] Configure a credential helper to remove this warning. See [2024-08-07T18:51:02.121Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:51:02.121Z] [2024-08-07T18:51:02.121Z] Login Succeeded [2024-08-07T18:51:02.121Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T18:51:02.152Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T18:51:02.387Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:51:02.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:51:02.490Z] ========================================================= [2024-08-07T18:51:02.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-07T18:51:02.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:51:03.028Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-07T18:51:03.028Z] Sending build context to Docker daemon 25.56MB [2024-08-07T18:51:03.028Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:51:03.028Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-07T18:51:03.288Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-07T18:51:03.288Z] 619be1103602: Pulling fs layer [2024-08-07T18:51:03.288Z] 7862e08f4a3e: Pulling fs layer [2024-08-07T18:51:03.288Z] 5df492c9dc93: Pulling fs layer [2024-08-07T18:51:03.288Z] 7629e6793208: Pulling fs layer [2024-08-07T18:51:03.288Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T18:51:03.288Z] fb5054dd5b73: Pulling fs layer [2024-08-07T18:51:03.288Z] eeca6798cff9: Pulling fs layer [2024-08-07T18:51:03.288Z] aa269ceb94a6: Pulling fs layer [2024-08-07T18:51:03.288Z] ada007ff1a6a: Pulling fs layer [2024-08-07T18:51:03.288Z] 7629e6793208: Waiting [2024-08-07T18:51:03.288Z] aa269ceb94a6: Waiting [2024-08-07T18:51:03.288Z] ada007ff1a6a: Waiting [2024-08-07T18:51:03.288Z] 4f4fb700ef54: Waiting [2024-08-07T18:51:03.288Z] fb5054dd5b73: Waiting [2024-08-07T18:51:03.288Z] eeca6798cff9: Waiting [2024-08-07T18:51:03.288Z] 7862e08f4a3e: Download complete [2024-08-07T18:51:03.288Z] 7629e6793208: Verifying Checksum [2024-08-07T18:51:03.288Z] 7629e6793208: Download complete [2024-08-07T18:51:03.288Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T18:51:03.288Z] 4f4fb700ef54: Download complete [2024-08-07T18:51:03.288Z] 619be1103602: Verifying Checksum [2024-08-07T18:51:03.288Z] 619be1103602: Download complete [2024-08-07T18:51:03.288Z] fb5054dd5b73: Verifying Checksum [2024-08-07T18:51:03.288Z] fb5054dd5b73: Download complete [2024-08-07T18:51:03.288Z] eeca6798cff9: Verifying Checksum [2024-08-07T18:51:03.288Z] eeca6798cff9: Download complete [2024-08-07T18:51:03.288Z] 619be1103602: Pull complete [2024-08-07T18:51:03.561Z] 7862e08f4a3e: Pull complete [2024-08-07T18:51:03.821Z] ada007ff1a6a: Verifying Checksum [2024-08-07T18:51:04.079Z] 5df492c9dc93: Verifying Checksum [2024-08-07T18:51:04.079Z] 5df492c9dc93: Download complete [2024-08-07T18:51:04.337Z] aa269ceb94a6: Verifying Checksum [2024-08-07T18:51:04.337Z] aa269ceb94a6: Download complete [2024-08-07T18:51:07.620Z] 5df492c9dc93: Pull complete [2024-08-07T18:51:07.620Z] 7629e6793208: Pull complete [2024-08-07T18:51:07.620Z] 4f4fb700ef54: Pull complete [2024-08-07T18:51:07.620Z] fb5054dd5b73: Pull complete [2024-08-07T18:51:07.620Z] eeca6798cff9: Pull complete [2024-08-07T18:51:10.150Z] aa269ceb94a6: Pull complete [2024-08-07T18:51:10.718Z] ada007ff1a6a: Pull complete [2024-08-07T18:51:10.718Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-07T18:51:10.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-07T18:51:10.718Z] ---> f489d0715acc [2024-08-07T18:51:10.718Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T18:51:15.991Z] Still waiting to schedule task [2024-08-07T18:51:15.991Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7311’ [2024-08-07T18:51:15.998Z] ---> Running in d09167808ef1 [2024-08-07T18:51:15.998Z] Removing intermediate container d09167808ef1 [2024-08-07T18:51:15.998Z] ---> 878f172ce6fa [2024-08-07T18:51:15.998Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T18:51:15.998Z] ---> Running in fb9b28ff727d [2024-08-07T18:51:15.998Z] Removing intermediate container fb9b28ff727d [2024-08-07T18:51:15.998Z] ---> ff6a8a019283 [2024-08-07T18:51:15.998Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-07T18:51:15.998Z] ---> Running in 6933a228289b [2024-08-07T18:51:15.998Z] Removing intermediate container 6933a228289b [2024-08-07T18:51:15.998Z] ---> b048aa5e25bc [2024-08-07T18:51:15.998Z] Step 6/12 : WORKDIR /device-uart [2024-08-07T18:51:15.998Z] ---> Running in 7e49eccb6785 [2024-08-07T18:51:15.998Z] Removing intermediate container 7e49eccb6785 [2024-08-07T18:51:15.998Z] ---> 9d48ec21ef61 [2024-08-07T18:51:15.998Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T18:51:15.998Z] ---> Running in af443ad6a153 [2024-08-07T18:51:15.998Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:51:16.257Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:51:16.516Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T18:51:16.516Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-07T18:51:16.516Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T18:51:16.516Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T18:51:16.516Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T18:51:16.516Z] OK: 268 MiB in 56 packages [2024-08-07T18:51:17.466Z] Removing intermediate container af443ad6a153 [2024-08-07T18:51:17.466Z] ---> a8178e3d1516 [2024-08-07T18:51:17.466Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-07T18:51:17.466Z] ---> 2373b1a4bddc [2024-08-07T18:51:17.466Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:51:17.466Z] ---> Running in d9c48a4c9def [2024-08-07T18:52:04.199Z] Removing intermediate container d9c48a4c9def [2024-08-07T18:52:04.199Z] ---> b4a174f7d046 [2024-08-07T18:52:04.199Z] Step 10/12 : COPY . . [2024-08-07T18:52:04.199Z] ---> 53004c12ab29 [2024-08-07T18:52:04.199Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T18:52:04.199Z] ---> Running in 41974236c6f9 [2024-08-07T18:52:04.199Z] Removing intermediate container 41974236c6f9 [2024-08-07T18:52:04.199Z] ---> 64fa1ba0bf21 [2024-08-07T18:52:04.199Z] Step 12/12 : RUN ${MAKE} [2024-08-07T18:52:04.199Z] ---> Running in 27b4f1c489a1 [2024-08-07T18:52:04.199Z] noop [2024-08-07T18:52:04.458Z] Removing intermediate container 27b4f1c489a1 [2024-08-07T18:52:04.458Z] ---> 10bac279cb82 [2024-08-07T18:52:04.458Z] Successfully built 10bac279cb82 [2024-08-07T18:52:04.458Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:52:04.951Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T18:52:04.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:52:05.143Z] prd-ubuntu20.04-docker-8c-8g-7313 does not seem to be running inside a container [2024-08-07T18:52:05.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-uart_PR-65 -v /w/workspace/edgexfoundry_device-uart_PR-65:/w/workspace/edgexfoundry_device-uart_PR-65:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-65@tmp:/w/workspace/edgexfoundry_device-uart_PR-65@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-x86_64 cat [2024-08-07T18:52:05.504Z] $ docker top 8b063ca4683db4b1554c74cdc11fd2b717118c2ae844db659cc33c1263c82012 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:52:05.914Z] + go version [2024-08-07T18:52:05.914Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-07T18:52:05.949Z] $ docker stop --time=1 8b063ca4683db4b1554c74cdc11fd2b717118c2ae844db659cc33c1263c82012 [2024-08-07T18:52:07.213Z] $ docker rm -f --volumes 8b063ca4683db4b1554c74cdc11fd2b717118c2ae844db659cc33c1263c82012 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:52:08.057Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-07T18:52:08.057Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:52:08.245Z] prd-ubuntu20.04-docker-8c-8g-7313 does not seem to be running inside a container [2024-08-07T18:52:08.273Z] $ 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-65 -v /w/workspace/edgexfoundry_device-uart_PR-65:/w/workspace/edgexfoundry_device-uart_PR-65:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-65@tmp:/w/workspace/edgexfoundry_device-uart_PR-65@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-x86_64 cat [2024-08-07T18:52:08.623Z] $ docker top aab1d7e676b92471e8354558526a102f8f3ab5bdcc6735237fcce7570fee1dc5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:52:09.044Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-uart_PR-65 [Pipeline] fileExists [Pipeline] sh [2024-08-07T18:52:09.425Z] + make test [2024-08-07T18:52:09.425Z] go test ./... -coverprofile=coverage.out [2024-08-07T18:52:11.328Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-08-07T18:52:29.421Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-08-07T18:52:29.421Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-08-07T18:52:41.621Z] go vet ./... [2024-08-07T18:52:46.880Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T18:52:46.880Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T18:52:46.880Z] ./bin/test-attribution-txt.sh [2024-08-07T18:52:46.880Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-07T18:52:46.880Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T18:52:46.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T18:52:46.969Z] $ docker stop --time=1 aab1d7e676b92471e8354558526a102f8f3ab5bdcc6735237fcce7570fee1dc5 [2024-08-07T18:52:50.679Z] $ docker rm -f --volumes aab1d7e676b92471e8354558526a102f8f3ab5bdcc6735237fcce7570fee1dc5 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T18:52:51.345Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T18:52:51.418Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-07T18:52:52.060Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T18:52:52.382Z] + ls -al . [2024-08-07T18:52:52.382Z] total 224 [2024-08-07T18:52:52.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 18:52 . [2024-08-07T18:52:52.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 18:50 .. [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 18:50 .dockerignore [2024-08-07T18:52:52.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 18:52 .git [2024-08-07T18:52:52.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:50 .github [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 7 18:50 .gitignore [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 18:50 .golangci.yml [2024-08-07T18:52:52.382Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 18:50 .semver [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 9941 Aug 7 18:50 Attribution.txt [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 1908 Aug 7 18:50 CHANGELOG.md [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 1886 Aug 7 18:50 Dockerfile [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 18:50 GOVERNANCE.md [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 7 18:50 Jenkinsfile [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 18:50 LICENSE [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 7 18:50 Makefile [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 7 18:50 OWNERS.md [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 8892 Aug 7 18:50 README.md [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 18:51 VERSION [2024-08-07T18:52:52.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 18:50 bin [2024-08-07T18:52:52.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:50 cmd [2024-08-07T18:52:52.382Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 7 18:52 coverage.out [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 6964 Aug 7 18:50 go.mod [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 101892 Aug 7 18:50 go.sum [2024-08-07T18:52:52.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:50 internal [2024-08-07T18:52:52.382Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 7 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:52:52.812Z] + docker build -t device-uart -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=e6d6d3be6379d3cbb8e5c80532720157cf046c19 --label arch=amd64 --label version=0.0.0 . [2024-08-07T18:52:52.812Z] Sending build context to Docker daemon 25.56MB [2024-08-07T18:52:52.812Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:52:52.812Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-07T18:52:52.812Z] ---> 10bac279cb82 [2024-08-07T18:52:52.812Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T18:52:53.382Z] ---> Running in 4913be23e3be [2024-08-07T18:52:53.382Z] Removing intermediate container 4913be23e3be [2024-08-07T18:52:53.382Z] ---> 90f8d7423e59 [2024-08-07T18:52:53.382Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T18:52:53.382Z] ---> Running in d205e08b38ef [2024-08-07T18:52:53.382Z] Removing intermediate container d205e08b38ef [2024-08-07T18:52:53.382Z] ---> 029b9f94c28d [2024-08-07T18:52:53.382Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-07T18:52:53.382Z] ---> Running in 06df0174b3e5 [2024-08-07T18:52:53.641Z] Removing intermediate container 06df0174b3e5 [2024-08-07T18:52:53.641Z] ---> bc6de9937372 [2024-08-07T18:52:53.641Z] Step 6/26 : WORKDIR /device-uart [2024-08-07T18:52:53.641Z] ---> Running in 9dcba46a730c [2024-08-07T18:52:53.641Z] Removing intermediate container 9dcba46a730c [2024-08-07T18:52:53.641Z] ---> 9110f5de6201 [2024-08-07T18:52:53.641Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T18:52:53.641Z] ---> Running in 9c3634623bc6 [2024-08-07T18:52:53.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:52:54.158Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:52:54.418Z] OK: 268 MiB in 56 packages [2024-08-07T18:52:54.676Z] Removing intermediate container 9c3634623bc6 [2024-08-07T18:52:54.676Z] ---> 8a2327426b4b [2024-08-07T18:52:54.676Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-07T18:52:54.935Z] ---> 713360037c88 [2024-08-07T18:52:54.935Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:52:54.935Z] ---> Running in 7218ba67d693 [2024-08-07T18:52:55.882Z] Removing intermediate container 7218ba67d693 [2024-08-07T18:52:55.882Z] ---> f7014cd14d54 [2024-08-07T18:52:55.882Z] Step 10/26 : COPY . . [2024-08-07T18:52:56.448Z] ---> c5abd8321a36 [2024-08-07T18:52:56.448Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T18:52:56.448Z] ---> Running in e03e6700fe03 [2024-08-07T18:52:56.448Z] Removing intermediate container e03e6700fe03 [2024-08-07T18:52:56.448Z] ---> 94416439e4d1 [2024-08-07T18:52:56.448Z] Step 12/26 : RUN ${MAKE} [2024-08-07T18:52:56.706Z] ---> Running in ec5370ace1a9 [2024-08-07T18:52:56.964Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-08-07T18:53:35.676Z] Removing intermediate container ec5370ace1a9 [2024-08-07T18:53:35.676Z] ---> 70b3a2851bd1 [2024-08-07T18:53:35.676Z] Step 13/26 : FROM alpine:3.18 [2024-08-07T18:53:35.676Z] 3.18: Pulling from library/alpine [2024-08-07T18:53:35.676Z] 930bdd4d222e: Pulling fs layer [2024-08-07T18:53:35.676Z] 930bdd4d222e: Verifying Checksum [2024-08-07T18:53:35.676Z] 930bdd4d222e: Download complete [2024-08-07T18:53:35.676Z] 930bdd4d222e: Pull complete [2024-08-07T18:53:35.676Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T18:53:35.676Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T18:53:35.676Z] ---> 18f865063206 [2024-08-07T18:53:35.676Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-08-07T18:53:35.676Z] ---> Running in 75fced8d2689 [2024-08-07T18:53:35.676Z] Removing intermediate container 75fced8d2689 [2024-08-07T18:53:35.676Z] ---> 55b14498e09b [2024-08-07T18:53:35.676Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-07T18:53:35.676Z] ---> Running in 2583ced64663 [2024-08-07T18:53:35.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:53:35.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:53:35.676Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T18:53:35.676Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T18:53:35.676Z] OK: 7 MiB in 16 packages [2024-08-07T18:53:35.676Z] Removing intermediate container 2583ced64663 [2024-08-07T18:53:35.676Z] ---> e1827e0cb84f [2024-08-07T18:53:35.676Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-07T18:53:35.676Z] ---> Running in 2c760ed71387 [2024-08-07T18:53:35.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-07T18:53:35.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-07T18:53:35.676Z] OK: 7 MiB in 16 packages [2024-08-07T18:53:35.676Z] Removing intermediate container 2c760ed71387 [2024-08-07T18:53:35.676Z] ---> 2deac85d4d3c [2024-08-07T18:53:35.676Z] Step 17/26 : WORKDIR / [2024-08-07T18:53:35.676Z] ---> Running in 6bbcc065baa4 [2024-08-07T18:53:35.676Z] Removing intermediate container 6bbcc065baa4 [2024-08-07T18:53:35.676Z] ---> 952c83e4505f [2024-08-07T18:53:35.676Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-08-07T18:53:35.676Z] ---> c92f8a6ca3fb [2024-08-07T18:53:35.676Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-08-07T18:53:35.676Z] ---> 6f3ba9f587ca [2024-08-07T18:53:35.676Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-08-07T18:53:35.676Z] ---> 027eca8e025a [2024-08-07T18:53:35.676Z] Step 21/26 : EXPOSE 59995 [2024-08-07T18:53:35.676Z] ---> Running in 587d826d57dd [2024-08-07T18:53:35.676Z] Removing intermediate container 587d826d57dd [2024-08-07T18:53:35.676Z] ---> d455b8f55b89 [2024-08-07T18:53:35.676Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-08-07T18:53:35.676Z] ---> Running in 9f1114915661 [2024-08-07T18:53:35.676Z] Removing intermediate container 9f1114915661 [2024-08-07T18:53:35.676Z] ---> 53b0a67ea9a9 [2024-08-07T18:53:35.676Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T18:53:35.676Z] ---> Running in 1bcf06fd42df [2024-08-07T18:53:35.676Z] Removing intermediate container 1bcf06fd42df [2024-08-07T18:53:35.676Z] ---> bc8eef5b2e91 [2024-08-07T18:53:35.676Z] Step 24/26 : LABEL arch=amd64 [2024-08-07T18:53:35.676Z] ---> Running in 6adf8419c294 [2024-08-07T18:53:35.676Z] Removing intermediate container 6adf8419c294 [2024-08-07T18:53:35.676Z] ---> 11210cc17064 [2024-08-07T18:53:35.676Z] Step 25/26 : LABEL git_sha=e6d6d3be6379d3cbb8e5c80532720157cf046c19 [2024-08-07T18:53:35.676Z] ---> Running in 6b732dc77283 [2024-08-07T18:53:35.676Z] Removing intermediate container 6b732dc77283 [2024-08-07T18:53:35.676Z] ---> 7220856ef004 [2024-08-07T18:53:35.676Z] Step 26/26 : LABEL version=0.0.0 [2024-08-07T18:53:35.676Z] ---> Running in 04f3de6c424e [2024-08-07T18:53:35.676Z] Removing intermediate container 04f3de6c424e [2024-08-07T18:53:35.676Z] ---> 8862b76ff0de [2024-08-07T18:53:35.676Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T18:53:35.676Z] Successfully built 8862b76ff0de [2024-08-07T18:53:35.676Z] Successfully tagged device-uart:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:53:36.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:53:36.695Z] [2024-08-07T18:53:36.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:53:37.136Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:53:37.136Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-07T18:53:37.136Z] 5eb5b503b376: Pulling fs layer [2024-08-07T18:53:37.136Z] 5c69ac0246d0: Pulling fs layer [2024-08-07T18:53:37.136Z] ec43610c2a17: Pulling fs layer [2024-08-07T18:53:37.136Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-07T18:53:37.136Z] 33b1e0a273af: Pulling fs layer [2024-08-07T18:53:37.136Z] 5d3b04190fa2: Pulling fs layer [2024-08-07T18:53:37.136Z] 2f39f015ded8: Pulling fs layer [2024-08-07T18:53:37.136Z] 33b1e0a273af: Waiting [2024-08-07T18:53:37.137Z] 5d3b04190fa2: Waiting [2024-08-07T18:53:37.137Z] 2f39f015ded8: Waiting [2024-08-07T18:53:37.137Z] 3a2ae6a8a46f: Waiting [2024-08-07T18:53:37.137Z] 5c69ac0246d0: Verifying Checksum [2024-08-07T18:53:37.137Z] 5c69ac0246d0: Download complete [2024-08-07T18:53:37.137Z] 3a2ae6a8a46f: Verifying Checksum [2024-08-07T18:53:37.137Z] 3a2ae6a8a46f: Download complete [2024-08-07T18:53:37.137Z] 33b1e0a273af: Verifying Checksum [2024-08-07T18:53:37.137Z] 33b1e0a273af: Download complete [2024-08-07T18:53:37.137Z] ec43610c2a17: Verifying Checksum [2024-08-07T18:53:37.137Z] ec43610c2a17: Download complete [2024-08-07T18:53:37.137Z] 5d3b04190fa2: Verifying Checksum [2024-08-07T18:53:37.137Z] 5d3b04190fa2: Download complete [2024-08-07T18:53:37.394Z] 5eb5b503b376: Verifying Checksum [2024-08-07T18:53:37.394Z] 5eb5b503b376: Download complete [2024-08-07T18:53:37.959Z] 2f39f015ded8: Download complete [2024-08-07T18:53:38.524Z] 5eb5b503b376: Pull complete [2024-08-07T18:53:38.524Z] 5c69ac0246d0: Pull complete [2024-08-07T18:53:39.092Z] ec43610c2a17: Pull complete [2024-08-07T18:53:39.093Z] 3a2ae6a8a46f: Pull complete [2024-08-07T18:53:39.093Z] 33b1e0a273af: Pull complete [2024-08-07T18:53:39.352Z] 5d3b04190fa2: Pull complete [2024-08-07T18:53:43.535Z] 2f39f015ded8: Pull complete [2024-08-07T18:53:43.535Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-07T18:53:43.535Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T18:53:43.535Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:53:43.792Z] prd-ubuntu20.04-docker-8c-8g-7313 does not seem to be running inside a container [2024-08-07T18:53:43.820Z] $ 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-65 -v /w/workspace/edgexfoundry_device-uart_PR-65:/w/workspace/edgexfoundry_device-uart_PR-65:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-65@tmp:/w/workspace/edgexfoundry_device-uart_PR-65@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:latest cat [2024-08-07T18:53:47.778Z] $ docker top e1974febccfb186c9470d2fbb606cbfd586113475e12fe6ab8b2f95aaa87c38a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:53:48.245Z] ---> job-cost.sh [2024-08-07T18:53:48.245Z] lf-activate-venv: SKIPPING [2024-08-07T18:53:48.245Z] INFO: No Stack... [2024-08-07T18:53:48.504Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T18:53:48.763Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T18:53:49.086Z] + cat /w/workspace/edgexfoundry_device-uart_PR-65/archives/cost.csv [2024-08-07T18:53:49.086Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T18:53:49.137Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] [2024-08-07T18:53:49.143Z] Resource [jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] did not exist. Created. [2024-08-07T18:53:49.150Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T18:53:49.575Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-07T18:53:49.631Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T18:53:49.666Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T18:53:49.750Z] $ docker stop --time=1 e1974febccfb186c9470d2fbb606cbfd586113475e12fe6ab8b2f95aaa87c38a [2024-08-07T18:53:50.919Z] $ docker rm -f --volumes e1974febccfb186c9470d2fbb606cbfd586113475e12fe6ab8b2f95aaa87c38a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-07T18:55:30.968Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7317 in /w/workspace/edgexfoundry_device-uart_PR-65 [Pipeline] { [Pipeline] ws [2024-08-07T18:55:31.043Z] Running in /w/workspace/device-uart/1 [Pipeline] { [Pipeline] checkout [2024-08-07T18:55:31.152Z] The recommended git tool is: git [2024-08-07T18:55:39.794Z] using credential edgex-jenkins-ssh [2024-08-07T18:55:39.826Z] Cloning the remote Git repository [2024-08-07T18:55:39.946Z] Cloning repository git@github.com:edgexfoundry/device-uart.git [2024-08-07T18:55:40.127Z] > git init /w/workspace/device-uart/1 # timeout=10 [2024-08-07T18:55:40.448Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-08-07T18:55:40.449Z] > git --version # timeout=10 [2024-08-07T18:55:40.483Z] > git --version # 'git version 2.25.1' [2024-08-07T18:55:40.485Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T18:55:40.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T18:55:43.498Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-08-07T18:55:43.552Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-07T18:55:44.900Z] > git config remote.origin.url git@github.com:edgexfoundry/device-uart.git # timeout=10 [2024-08-07T18:55:45.483Z] Merging remotes/origin/main commit bc279460de46d3a6d33425637d1308351b1bd8af into PR head commit e6d6d3be6379d3cbb8e5c80532720157cf046c19 [2024-08-07T18:55:45.917Z] Merge succeeded, producing e6d6d3be6379d3cbb8e5c80532720157cf046c19 [2024-08-07T18:55:45.917Z] Checking out Revision e6d6d3be6379d3cbb8e5c80532720157cf046c19 (PR-65) [2024-08-07T18:55:44.978Z] Fetching upstream changes from git@github.com:edgexfoundry/device-uart.git [2024-08-07T18:55:44.980Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T18:55:45.011Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-uart.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-07T18:55:45.531Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T18:55:45.629Z] > git checkout -f e6d6d3be6379d3cbb8e5c80532720157cf046c19 # timeout=10 [2024-08-07T18:55:45.742Z] > git remote # timeout=10 [2024-08-07T18:55:45.771Z] > git config --get remote.origin.url # timeout=10 [2024-08-07T18:55:45.816Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-07T18:55:45.843Z] > git merge bc279460de46d3a6d33425637d1308351b1bd8af # timeout=10 [2024-08-07T18:55:45.886Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-07T18:55:45.922Z] > git config core.sparsecheckout # timeout=10 [2024-08-07T18:55:45.955Z] > git checkout -f e6d6d3be6379d3cbb8e5c80532720157cf046c19 # timeout=10 [2024-08-07T18:55:47.675Z] Commit message: "build(deps): Bump github.com/spf13/cast from 1.6.0 to 1.7.0" [2024-08-07T18:55:47.726Z] > git --version # timeout=10 [2024-08-07T18:55:47.747Z] > git --version # 'git version 2.25.1' [2024-08-07T18:55:47.769Z] fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T18:55:53.146Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-07T18:55:53.146Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T18:55:53.146Z] Dload Upload Total Spent Left Speed [2024-08-07T18:55:53.146Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 215k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2024-08-07T18:55:53.505Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-07T18:55:53.861Z] + sudo tee /etc/docker/daemon.new [2024-08-07T18:55:53.861Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-08-07T18:55:53.861Z] { [2024-08-07T18:55:53.861Z] "registry-mirrors": [ [2024-08-07T18:55:53.861Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-07T18:55:53.861Z] ], [2024-08-07T18:55:53.861Z] "bip": "10.250.0.254/24", [2024-08-07T18:55:53.861Z] "hosts": [ [2024-08-07T18:55:53.861Z] "tcp://0.0.0.0:5555", [2024-08-07T18:55:53.861Z] "unix:///var/run/docker.sock" [2024-08-07T18:55:53.861Z] ], [2024-08-07T18:55:53.861Z] "mtu": 1458, [2024-08-07T18:55:53.861Z] "selinux-enabled": true, [2024-08-07T18:55:53.861Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-07T18:55:53.861Z] } [Pipeline] sh [2024-08-07T18:55:54.211Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-07T18:55:54.579Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T18:56:12.926Z] provisioning config files... [2024-08-07T18:56:12.954Z] copy managed file [device-uart-settings] to file:/w/workspace/device-uart/1@tmp/config6081898627648871349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T18:56:13.466Z] ---> ****-login.sh [2024-08-07T18:56:13.466Z] nexus3.edgexfoundry.org:10001 [2024-08-07T18:56:14.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:56:14.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:56:14.055Z] Configure a credential helper to remove this warning. See [2024-08-07T18:56:14.055Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:56:14.055Z] [2024-08-07T18:56:14.055Z] Login Succeeded [2024-08-07T18:56:14.055Z] nexus3.edgexfoundry.org:10002 [2024-08-07T18:56:14.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:56:14.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:56:14.596Z] Configure a credential helper to remove this warning. See [2024-08-07T18:56:14.596Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:56:14.596Z] [2024-08-07T18:56:14.596Z] Login Succeeded [2024-08-07T18:56:14.596Z] nexus3.edgexfoundry.org:10003 [2024-08-07T18:56:14.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:56:14.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:56:14.874Z] Configure a credential helper to remove this warning. See [2024-08-07T18:56:14.874Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:56:14.874Z] [2024-08-07T18:56:14.874Z] Login Succeeded [2024-08-07T18:56:14.874Z] nexus3.edgexfoundry.org:10004 [2024-08-07T18:56:15.149Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:56:15.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:56:15.419Z] Configure a credential helper to remove this warning. See [2024-08-07T18:56:15.420Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:56:15.420Z] [2024-08-07T18:56:15.420Z] Login Succeeded [2024-08-07T18:56:15.420Z] ****.io [2024-08-07T18:56:15.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-07T18:56:15.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-07T18:56:15.963Z] Configure a credential helper to remove this warning. See [2024-08-07T18:56:15.963Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-07T18:56:15.963Z] [2024-08-07T18:56:15.963Z] Login Succeeded [2024-08-07T18:56:15.963Z] ---> ****-login.sh ends [Pipeline] } [2024-08-07T18:56:15.998Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-07T18:56:16.507Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:56:16.562Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-07T18:56:16.608Z] ========================================================= [2024-08-07T18:56:16.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-07T18:56:16.608Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:56:17.178Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-07T18:56:17.770Z] Sending build context to Docker daemon 12.85MB [2024-08-07T18:56:17.770Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T18:56:17.770Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-07T18:56:18.042Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-07T18:56:18.042Z] c6b39de5b339: Pulling fs layer [2024-08-07T18:56:18.042Z] a69c41024577: Pulling fs layer [2024-08-07T18:56:18.042Z] d6de4b400683: Pulling fs layer [2024-08-07T18:56:18.042Z] 35cb2a7552d0: Pulling fs layer [2024-08-07T18:56:18.042Z] 35cb2a7552d0: Waiting [2024-08-07T18:56:18.042Z] 4f4fb700ef54: Pulling fs layer [2024-08-07T18:56:18.042Z] 464afbd9ba4c: Pulling fs layer [2024-08-07T18:56:18.042Z] 00f215d4a9da: Pulling fs layer [2024-08-07T18:56:18.042Z] d496ad576159: Pulling fs layer [2024-08-07T18:56:18.042Z] d496ad576159: Waiting [2024-08-07T18:56:18.042Z] 00f215d4a9da: Waiting [2024-08-07T18:56:18.042Z] 4f4fb700ef54: Waiting [2024-08-07T18:56:18.042Z] 464afbd9ba4c: Waiting [2024-08-07T18:56:18.042Z] a69c41024577: Download complete [2024-08-07T18:56:18.042Z] 35cb2a7552d0: Verifying Checksum [2024-08-07T18:56:18.042Z] 35cb2a7552d0: Download complete [2024-08-07T18:56:18.042Z] 4f4fb700ef54: Verifying Checksum [2024-08-07T18:56:18.042Z] 4f4fb700ef54: Download complete [2024-08-07T18:56:18.042Z] 464afbd9ba4c: Verifying Checksum [2024-08-07T18:56:18.042Z] 464afbd9ba4c: Download complete [2024-08-07T18:56:18.042Z] c6b39de5b339: Download complete [2024-08-07T18:56:18.632Z] d496ad576159: Verifying Checksum [2024-08-07T18:56:18.632Z] d496ad576159: Download complete [2024-08-07T18:56:18.904Z] c6b39de5b339: Pull complete [2024-08-07T18:56:19.877Z] a69c41024577: Pull complete [2024-08-07T18:56:19.877Z] d6de4b400683: Verifying Checksum [2024-08-07T18:56:19.877Z] d6de4b400683: Download complete [2024-08-07T18:56:21.300Z] 00f215d4a9da: Verifying Checksum [2024-08-07T18:56:21.300Z] 00f215d4a9da: Download complete [2024-08-07T18:56:33.642Z] d6de4b400683: Pull complete [2024-08-07T18:56:33.642Z] 35cb2a7552d0: Pull complete [2024-08-07T18:56:33.642Z] 4f4fb700ef54: Pull complete [2024-08-07T18:56:33.642Z] 464afbd9ba4c: Pull complete [2024-08-07T18:56:43.740Z] 00f215d4a9da: Pull complete [2024-08-07T18:56:44.333Z] d496ad576159: Pull complete [2024-08-07T18:56:44.333Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-07T18:56:44.333Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-07T18:56:44.333Z] ---> f246e2811388 [2024-08-07T18:56:44.333Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T18:56:46.283Z] ---> Running in 017a45a726f0 [2024-08-07T18:56:46.553Z] Removing intermediate container 017a45a726f0 [2024-08-07T18:56:46.554Z] ---> 7404213bae5f [2024-08-07T18:56:46.554Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T18:56:46.823Z] ---> Running in 9b2d3b10d9cd [2024-08-07T18:56:47.092Z] Removing intermediate container 9b2d3b10d9cd [2024-08-07T18:56:47.092Z] ---> 7256ff95a19b [2024-08-07T18:56:47.092Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-07T18:56:47.092Z] ---> Running in e23150f99581 [2024-08-07T18:56:47.369Z] Removing intermediate container e23150f99581 [2024-08-07T18:56:47.369Z] ---> ff8a11ebc323 [2024-08-07T18:56:47.369Z] Step 6/12 : WORKDIR /device-uart [2024-08-07T18:56:47.369Z] ---> Running in 733a33283a4c [2024-08-07T18:56:47.963Z] Removing intermediate container 733a33283a4c [2024-08-07T18:56:47.963Z] ---> a7c5e80538f1 [2024-08-07T18:56:47.963Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T18:56:47.963Z] ---> Running in 36c74badabea [2024-08-07T18:56:48.933Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T18:56:49.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T18:56:50.483Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-07T18:56:50.483Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-07T18:56:50.483Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-07T18:56:50.751Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-07T18:56:50.751Z] Executing busybox-1.36.1-r5.trigger [2024-08-07T18:56:50.751Z] OK: 271 MiB in 56 packages [2024-08-07T18:56:53.013Z] Removing intermediate container 36c74badabea [2024-08-07T18:56:53.013Z] ---> 4b4fd10ff0fc [2024-08-07T18:56:53.013Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-07T18:56:53.281Z] ---> 2877ba7db8c6 [2024-08-07T18:56:53.281Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T18:56:53.281Z] ---> Running in 432785f778dc [2024-08-07T18:58:44.961Z] Removing intermediate container 432785f778dc [2024-08-07T18:58:44.961Z] ---> f5c55da408f5 [2024-08-07T18:58:44.961Z] Step 10/12 : COPY . . [2024-08-07T18:58:45.925Z] ---> 0dd7c84f9df1 [2024-08-07T18:58:45.925Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T18:58:46.194Z] ---> Running in c01f498e89e0 [2024-08-07T18:58:46.464Z] Removing intermediate container c01f498e89e0 [2024-08-07T18:58:46.464Z] ---> 6cb53cec9f6f [2024-08-07T18:58:46.464Z] Step 12/12 : RUN ${MAKE} [2024-08-07T18:58:46.464Z] ---> Running in ceb278d73e2d [2024-08-07T18:58:47.428Z] noop [2024-08-07T18:58:48.394Z] Removing intermediate container ceb278d73e2d [2024-08-07T18:58:48.394Z] ---> ddc4b2bc477b [2024-08-07T18:58:48.394Z] Successfully built ddc4b2bc477b [2024-08-07T18:58:48.394Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:58:48.926Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T18:58:48.926Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:58:49.256Z] prd-ubuntu20.04-docker-arm64-4c-16g-7317 does not seem to be running inside a container [2024-08-07T18:58:49.318Z] $ 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-08-07T18:58:50.619Z] $ docker top c39135d14cb58fdcd18aa7df61f1a149104bf36def30be045cf7af7e18105cd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:58:51.552Z] + go version [2024-08-07T18:58:51.552Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-07T18:58:51.594Z] $ docker stop --time=1 c39135d14cb58fdcd18aa7df61f1a149104bf36def30be045cf7af7e18105cd1 [2024-08-07T18:58:53.275Z] $ docker rm -f --volumes c39135d14cb58fdcd18aa7df61f1a149104bf36def30be045cf7af7e18105cd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T18:58:54.218Z] + docker inspect -f . ci-base-image-arm64 [2024-08-07T18:58:54.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T18:58:54.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-7317 does not seem to be running inside a container [2024-08-07T18:58:54.578Z] $ 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-08-07T18:58:55.827Z] $ docker top 0c2b04a74e4d91d5ab945dc8a47aeca66fd8eb9775ed5d6d30ed5aec6ad97a12 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T18:58:56.836Z] + git config --global --add safe.directory /w/workspace/device-uart/1 [Pipeline] fileExists [Pipeline] sh [2024-08-07T18:58:57.587Z] + make test [2024-08-07T18:58:57.587Z] go test ./... -coverprofile=coverage.out [2024-08-07T18:59:04.216Z] ? github.com/edgexfoundry/device-uart [no test files] [2024-08-07T19:02:41.059Z] ? github.com/edgexfoundry/device-uart/cmd [no test files] [2024-08-07T19:02:41.059Z] ? github.com/edgexfoundry/device-uart/internal/driver [no test files] [2024-08-07T19:02:41.059Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-07T19:02:41.059Z] go vet ./... [2024-08-07T19:03:19.924Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-07T19:03:19.924Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-07T19:03:19.924Z] ./bin/test-attribution-txt.sh [2024-08-07T19:03:19.924Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-08-07T19:03:19.924Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-08-07T19:03:19.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-07T19:03:20.020Z] $ docker stop --time=1 0c2b04a74e4d91d5ab945dc8a47aeca66fd8eb9775ed5d6d30ed5aec6ad97a12 [2024-08-07T19:03:21.930Z] $ docker rm -f --volumes 0c2b04a74e4d91d5ab945dc8a47aeca66fd8eb9775ed5d6d30ed5aec6ad97a12 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-07T19:03:23.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-07T19:03:23.668Z] Warning: overwriting stash ‘coverage-report’ [2024-08-07T19:03:24.149Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-07T19:03:24.826Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-07T19:03:25.180Z] + ls -al . [2024-08-07T19:03:25.180Z] total 220 [2024-08-07T19:03:25.180Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 7 18:59 . [2024-08-07T19:03:25.180Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 7 18:55 .. [2024-08-07T19:03:25.180Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 7 18:55 .dockerignore [2024-08-07T19:03:25.180Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 7 18:55 .git [2024-08-07T19:03:25.180Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:55 .github [2024-08-07T19:03:25.180Z] -rw-rw-r-- 1 jenkins jenkins 343 Aug 7 18:55 .gitignore [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 7 18:55 .golangci.yml [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 9941 Aug 7 18:55 Attribution.txt [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 1908 Aug 7 18:55 CHANGELOG.md [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 1886 Aug 7 18:55 Dockerfile [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 7 18:55 GOVERNANCE.md [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 675 Aug 7 18:55 Jenkinsfile [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 7 18:55 LICENSE [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 1872 Aug 7 18:55 Makefile [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 617 Aug 7 18:55 OWNERS.md [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 8892 Aug 7 18:55 README.md [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 7 18:51 VERSION [2024-08-07T19:03:25.181Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 7 18:55 bin [2024-08-07T19:03:25.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:55 cmd [2024-08-07T19:03:25.181Z] -rw-r--r-- 1 jenkins jenkins 10 Aug 7 18:59 coverage.out [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 6964 Aug 7 18:55 go.mod [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 101892 Aug 7 18:55 go.sum [2024-08-07T19:03:25.181Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 7 18:55 internal [2024-08-07T19:03:25.181Z] -rw-rw-r-- 1 jenkins jenkins 209 Aug 7 18:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T19:03:25.629Z] + docker build -t device-uart-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e6d6d3be6379d3cbb8e5c80532720157cf046c19 --label arch=arm64 --label version=0.0.0 . [2024-08-07T19:03:26.211Z] Sending build context to Docker daemon 12.85MB [2024-08-07T19:03:26.211Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-07T19:03:26.211Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-07T19:03:26.211Z] ---> ddc4b2bc477b [2024-08-07T19:03:26.211Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-07T19:03:26.211Z] ---> Running in 289f92a41f96 [2024-08-07T19:03:26.478Z] Removing intermediate container 289f92a41f96 [2024-08-07T19:03:26.478Z] ---> 1693a6dd8fb6 [2024-08-07T19:03:26.478Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-07T19:03:26.750Z] ---> Running in 14d471087186 [2024-08-07T19:03:27.018Z] Removing intermediate container 14d471087186 [2024-08-07T19:03:27.018Z] ---> b1c37379fa5e [2024-08-07T19:03:27.018Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-07T19:03:27.018Z] ---> Running in ef9b98f001c0 [2024-08-07T19:03:27.288Z] Removing intermediate container ef9b98f001c0 [2024-08-07T19:03:27.288Z] ---> c4e9b8549a85 [2024-08-07T19:03:27.288Z] Step 6/26 : WORKDIR /device-uart [2024-08-07T19:03:27.288Z] ---> Running in 43c0bde47990 [2024-08-07T19:03:27.883Z] Removing intermediate container 43c0bde47990 [2024-08-07T19:03:27.883Z] ---> 9d334379550e [2024-08-07T19:03:27.883Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-07T19:03:27.883Z] ---> Running in cad6e7aacb13 [2024-08-07T19:03:28.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T19:03:29.111Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T19:03:30.529Z] OK: 271 MiB in 56 packages [2024-08-07T19:03:31.114Z] Removing intermediate container cad6e7aacb13 [2024-08-07T19:03:31.114Z] ---> 2a2d7cd40798 [2024-08-07T19:03:31.114Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-07T19:03:31.699Z] ---> b6019ee427c6 [2024-08-07T19:03:31.699Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-07T19:03:31.969Z] ---> Running in d8ed5f667b8e [2024-08-07T19:03:33.926Z] Removing intermediate container d8ed5f667b8e [2024-08-07T19:03:33.926Z] ---> 746d54e5491c [2024-08-07T19:03:33.926Z] Step 10/26 : COPY . . [2024-08-07T19:03:35.339Z] ---> bcdc263573ee [2024-08-07T19:03:35.339Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-07T19:03:35.339Z] ---> Running in 6a6d877cc8ce [2024-08-07T19:03:35.607Z] Removing intermediate container 6a6d877cc8ce [2024-08-07T19:03:35.607Z] ---> 20d9d405e4f9 [2024-08-07T19:03:35.607Z] Step 12/26 : RUN ${MAKE} [2024-08-07T19:03:35.607Z] ---> Running in a00750aa94c0 [2024-08-07T19:03:36.570Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-uart.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-uart ./cmd [2024-08-07T19:07:13.332Z] Removing intermediate container a00750aa94c0 [2024-08-07T19:07:13.332Z] ---> da7f64115d31 [2024-08-07T19:07:13.332Z] Step 13/26 : FROM alpine:3.18 [2024-08-07T19:07:13.332Z] 3.18: Pulling from library/alpine [2024-08-07T19:07:13.332Z] 4983c3fe2029: Pulling fs layer [2024-08-07T19:07:13.332Z] 4983c3fe2029: Verifying Checksum [2024-08-07T19:07:13.332Z] 4983c3fe2029: Download complete [2024-08-07T19:07:13.332Z] 4983c3fe2029: Pull complete [2024-08-07T19:07:13.332Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-07T19:07:13.332Z] Status: Downloaded newer image for alpine:3.18 [2024-08-07T19:07:13.332Z] ---> a0237000ae83 [2024-08-07T19:07:13.332Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2024-08-07T19:07:13.332Z] ---> Running in d11b8f4aed89 [2024-08-07T19:07:13.332Z] Removing intermediate container d11b8f4aed89 [2024-08-07T19:07:13.332Z] ---> 7abcd4e94c97 [2024-08-07T19:07:13.332Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-07T19:07:13.332Z] ---> Running in 025732205eb4 [2024-08-07T19:07:13.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T19:07:13.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T19:07:13.332Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-07T19:07:13.332Z] Executing busybox-1.36.1-r7.trigger [2024-08-07T19:07:13.332Z] OK: 8 MiB in 16 packages [2024-08-07T19:07:13.332Z] Removing intermediate container 025732205eb4 [2024-08-07T19:07:13.332Z] ---> 81798c69dae0 [2024-08-07T19:07:13.332Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-07T19:07:13.332Z] ---> Running in a32989d381f9 [2024-08-07T19:07:13.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-07T19:07:13.864Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-07T19:07:14.824Z] OK: 8 MiB in 16 packages [2024-08-07T19:07:15.788Z] Removing intermediate container a32989d381f9 [2024-08-07T19:07:15.788Z] ---> 09e79b437f50 [2024-08-07T19:07:15.788Z] Step 17/26 : WORKDIR / [2024-08-07T19:07:15.788Z] ---> Running in 1df4c9118e05 [2024-08-07T19:07:16.054Z] Removing intermediate container 1df4c9118e05 [2024-08-07T19:07:16.054Z] ---> 4dbe8bd628e9 [2024-08-07T19:07:16.054Z] Step 18/26 : COPY --from=builder /device-uart/Attribution.txt / [2024-08-07T19:07:16.318Z] ---> c2afa1597b30 [2024-08-07T19:07:16.318Z] Step 19/26 : COPY --from=builder /device-uart/LICENSE / [2024-08-07T19:07:16.898Z] ---> 17459abf7b2b [2024-08-07T19:07:16.899Z] Step 20/26 : COPY --from=builder /device-uart/cmd/ / [2024-08-07T19:07:19.469Z] ---> fed82d335886 [2024-08-07T19:07:19.469Z] Step 21/26 : EXPOSE 59995 [2024-08-07T19:07:19.469Z] ---> Running in 99e7a1a4c042 [2024-08-07T19:07:19.735Z] Removing intermediate container 99e7a1a4c042 [2024-08-07T19:07:19.735Z] ---> ab245653e79b [2024-08-07T19:07:19.735Z] Step 22/26 : ENTRYPOINT ["/device-uart"] [2024-08-07T19:07:19.735Z] ---> Running in 82f791655f3c [2024-08-07T19:07:20.000Z] Removing intermediate container 82f791655f3c [2024-08-07T19:07:20.000Z] ---> dd6f70e7462d [2024-08-07T19:07:20.000Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-07T19:07:20.264Z] ---> Running in e68ee3064885 [2024-08-07T19:07:20.529Z] Removing intermediate container e68ee3064885 [2024-08-07T19:07:20.529Z] ---> acb93a60626a [2024-08-07T19:07:20.529Z] Step 24/26 : LABEL arch=arm64 [2024-08-07T19:07:20.529Z] ---> Running in afe390658e12 [2024-08-07T19:07:20.794Z] Removing intermediate container afe390658e12 [2024-08-07T19:07:20.794Z] ---> 05b4dfb5bd1a [2024-08-07T19:07:20.794Z] Step 25/26 : LABEL git_sha=e6d6d3be6379d3cbb8e5c80532720157cf046c19 [2024-08-07T19:07:20.794Z] ---> Running in 97feadff90a9 [2024-08-07T19:07:21.060Z] Removing intermediate container 97feadff90a9 [2024-08-07T19:07:21.060Z] ---> 6429c398b5a1 [2024-08-07T19:07:21.060Z] Step 26/26 : LABEL version=0.0.0 [2024-08-07T19:07:21.060Z] ---> Running in 8c5f3d219569 [2024-08-07T19:07:21.329Z] Removing intermediate container 8c5f3d219569 [2024-08-07T19:07:21.329Z] ---> ab1f159f6c55 [2024-08-07T19:07:21.329Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-07T19:07:21.594Z] Successfully built ab1f159f6c55 [2024-08-07T19:07:21.594Z] Successfully tagged device-uart-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T19:07:22.552Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T19:07:22.552Z] [2024-08-07T19:07:22.552Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T19:07:22.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T19:07:23.264Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-07T19:07:23.264Z] 8998bd30e6a1: Pulling fs layer [2024-08-07T19:07:23.264Z] 04944245beec: Pulling fs layer [2024-08-07T19:07:23.264Z] 699f458cf7ca: Pulling fs layer [2024-08-07T19:07:23.264Z] 765212b225bb: Pulling fs layer [2024-08-07T19:07:23.264Z] f23df028b6ca: Pulling fs layer [2024-08-07T19:07:23.264Z] d65c8cfc05b1: Pulling fs layer [2024-08-07T19:07:23.264Z] 2437ff75d9bd: Pulling fs layer [2024-08-07T19:07:23.264Z] f23df028b6ca: Waiting [2024-08-07T19:07:23.264Z] d65c8cfc05b1: Waiting [2024-08-07T19:07:23.264Z] 2437ff75d9bd: Waiting [2024-08-07T19:07:23.264Z] 765212b225bb: Waiting [2024-08-07T19:07:23.264Z] 04944245beec: Verifying Checksum [2024-08-07T19:07:23.264Z] 04944245beec: Download complete [2024-08-07T19:07:23.264Z] 765212b225bb: Verifying Checksum [2024-08-07T19:07:23.264Z] 765212b225bb: Download complete [2024-08-07T19:07:23.530Z] f23df028b6ca: Verifying Checksum [2024-08-07T19:07:23.530Z] f23df028b6ca: Download complete [2024-08-07T19:07:23.530Z] d65c8cfc05b1: Verifying Checksum [2024-08-07T19:07:23.530Z] d65c8cfc05b1: Download complete [2024-08-07T19:07:23.530Z] 699f458cf7ca: Verifying Checksum [2024-08-07T19:07:23.530Z] 699f458cf7ca: Download complete [2024-08-07T19:07:24.112Z] 8998bd30e6a1: Verifying Checksum [2024-08-07T19:07:24.113Z] 8998bd30e6a1: Download complete [2024-08-07T19:07:26.752Z] 2437ff75d9bd: Verifying Checksum [2024-08-07T19:07:26.752Z] 2437ff75d9bd: Download complete [2024-08-07T19:07:29.348Z] 8998bd30e6a1: Pull complete [2024-08-07T19:07:29.935Z] 04944245beec: Pull complete [2024-08-07T19:07:31.345Z] 699f458cf7ca: Pull complete [2024-08-07T19:07:31.611Z] 765212b225bb: Pull complete [2024-08-07T19:07:32.572Z] f23df028b6ca: Pull complete [2024-08-07T19:07:32.839Z] d65c8cfc05b1: Pull complete [2024-08-07T19:07:51.039Z] 2437ff75d9bd: Pull complete [2024-08-07T19:07:51.039Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-07T19:07:51.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-07T19:07:51.039Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T19:07:51.498Z] prd-ubuntu20.04-docker-arm64-4c-16g-7317 does not seem to be running inside a container [2024-08-07T19:07:51.571Z] $ 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-08-07T19:07:54.620Z] $ docker top 14bfdde2c2f5a644064e8ac19773050873c46d0903066ef5743dd79785c7516d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:07:55.607Z] ---> job-cost.sh [2024-08-07T19:07:55.607Z] lf-activate-venv: SKIPPING [2024-08-07T19:07:55.607Z] INFO: No Stack... [2024-08-07T19:07:55.874Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-07T19:07:56.827Z] INFO: Archiving Costs [Pipeline] sh [2024-08-07T19:07:57.499Z] + cat /w/workspace/device-uart/1/archives/cost.csv [2024-08-07T19:07:57.499Z] + cut -d, -f6 [Pipeline] lock [2024-08-07T19:07:57.602Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] [2024-08-07T19:07:57.608Z] Resource [jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] did not exist. Created. [2024-08-07T19:07:57.615Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-07T19:07:58.371Z] /w/workspace/device-uart/1@tmp/durable-1b85a945/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-07T19:07:59.051Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-07T19:07:59.094Z] Warning: overwriting stash ‘stack-cost’ [2024-08-07T19:07:59.140Z] Stashed 1 file(s) [Pipeline] } [2024-08-07T19:07:59.161Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-uart-PR-65-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-07T19:07:59.265Z] $ docker stop --time=1 14bfdde2c2f5a644064e8ac19773050873c46d0903066ef5743dd79785c7516d [2024-08-07T19:08:00.939Z] $ docker rm -f --volumes 14bfdde2c2f5a644064e8ac19773050873c46d0903066ef5743dd79785c7516d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-07T19:08:02.076Z] provisioning config files... [2024-08-07T19:08:02.085Z] copy managed file [device-uart-codecov-token] to file:/w/workspace/edgexfoundry_device-uart_PR-65@tmp/config3043169170638429613tmp [Pipeline] { [Pipeline] sh [2024-08-07T19:08:02.465Z] + set +x [2024-08-07T19:08:02.465Z] + curl -s https://codecov.io/bash [2024-08-07T19:08:02.465Z] + bash -s -- [2024-08-07T19:08:02.465Z] [2024-08-07T19:08:02.466Z] _____ _ [2024-08-07T19:08:02.466Z] / ____| | | [2024-08-07T19:08:02.466Z] | | ___ __| | ___ ___ _____ __ [2024-08-07T19:08:02.466Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-07T19:08:02.466Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-07T19:08:02.466Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-07T19:08:02.466Z] Bash-1.0.6 [2024-08-07T19:08:02.466Z] [2024-08-07T19:08:02.466Z] [2024-08-07T19:08:02.466Z] ==> git version 2.25.1 found [2024-08-07T19:08:02.466Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-07T19:08:02.466Z] Release-Date: 2020-01-08 [2024-08-07T19:08:02.466Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-07T19:08:02.466Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-07T19:08:02.466Z] ==> Jenkins CI detected. [2024-08-07T19:08:02.466Z] current dir:  /w/workspace/edgexfoundry_device-uart_PR-65 [2024-08-07T19:08:02.466Z] project root: . [2024-08-07T19:08:02.466Z] --> token set from env [2024-08-07T19:08:02.466Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-07T19:08:02.466Z] ==> Running gcov in . (disable via -X gcov) [2024-08-07T19:08:02.466Z] ==> Python coveragepy not found [2024-08-07T19:08:02.466Z] ==> Searching for coverage reports in: [2024-08-07T19:08:02.466Z] + . [2024-08-07T19:08:02.466Z] -> Found 1 reports [2024-08-07T19:08:02.466Z] ==> Detecting git/mercurial file structure [2024-08-07T19:08:02.466Z] ==> Reading reports [2024-08-07T19:08:02.466Z] + ./coverage.out bytes=10 [2024-08-07T19:08:02.466Z] ==> Appending adjustments [2024-08-07T19:08:02.466Z] https://docs.codecov.io/docs/fixing-reports [2024-08-07T19:08:02.725Z] + Found adjustments [2024-08-07T19:08:02.725Z] ==> Gzipping contents [2024-08-07T19:08:02.725Z] 4.0K /tmp/codecov.DBX5Xs.gz [2024-08-07T19:08:02.725Z] ==> Uploading reports [2024-08-07T19:08:02.725Z] url: https://codecov.io [2024-08-07T19:08:02.725Z] query: branch=PR-65&commit=e6d6d3be6379d3cbb8e5c80532720157cf046c19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-65%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=65&job=&cmd_args= [2024-08-07T19:08:02.725Z] -> Pinging Codecov [2024-08-07T19:08:02.725Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-65&commit=e6d6d3be6379d3cbb8e5c80532720157cf046c19&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-uart%2Fjob%2FPR-65%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-uart&service=jenkins&flags=&pr=65&job=&cmd_args= [2024-08-07T19:08:03.293Z] -> Uploading to [2024-08-07T19:08:03.293Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-07/B9AA6E0BBD74AE3A32605C7A7C664919/e6d6d3be6379d3cbb8e5c80532720157cf046c19/8075f504-38cd-4117-b468-e049ac17ef8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240807%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240807T190803Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e0cd0a1ca3bf583bb50219c24b62385fc3264ca71a5c3d5287804a6ec47d4c0b [2024-08-07T19:08:03.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-07T19:08:03.293Z] Dload Upload Total Spent Left Speed [2024-08-07T19:08:03.552Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 603 0 0 100 603 0 2680 --:--:-- --:--:-- --:--:-- 2680 [2024-08-07T19:08:03.552Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/lf-edge/device-uart/commit/e6d6d3be6379d3cbb8e5c80532720157cf046c19 [Pipeline] } [2024-08-07T19:08:03.583Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-08-07T19:08:05.868Z] + [ -d /w/workspace/edgexfoundry_device-uart_PR-65/archives ] [2024-08-07T19:08:05.868Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-65/archives [2024-08-07T19:08:05.868Z] total 16 [2024-08-07T19:08:05.868Z] drwxr-xr-x 3 root root 4096 Aug 7 18:53 . [2024-08-07T19:08:05.868Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 18:53 .. [2024-08-07T19:08:05.868Z] drwxr-xr-x 2 root root 4096 Aug 7 18:53 cost [2024-08-07T19:08:05.868Z] -rw-r--r-- 1 root root 82 Aug 7 18:53 cost.csv [2024-08-07T19:08:05.868Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-uart_PR-65/archives [2024-08-07T19:08:05.868Z] + ls -al /w/workspace/edgexfoundry_device-uart_PR-65/archives [2024-08-07T19:08:05.868Z] total 16 [2024-08-07T19:08:05.868Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 7 18:53 . [2024-08-07T19:08:05.868Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 7 18:53 .. [2024-08-07T19:08:05.868Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 7 18:53 cost [2024-08-07T19:08:05.868Z] -rw-r--r-- 1 jenkins jenkins 82 Aug 7 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:06.206Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:07.102Z] ---> package-listing.sh [2024-08-07T19:08:07.102Z] ++ facter osfamily [2024-08-07T19:08:07.102Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-07T19:08:07.361Z] + OS_FAMILY=debian [2024-08-07T19:08:07.361Z] + workspace=/w/workspace/edgexfoundry_device-uart_PR-65 [2024-08-07T19:08:07.361Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-07T19:08:07.361Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-07T19:08:07.361Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-07T19:08:07.361Z] + PACKAGES=/tmp/packages_start.txt [2024-08-07T19:08:07.361Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-65 ']' [2024-08-07T19:08:07.361Z] + PACKAGES=/tmp/packages_end.txt [2024-08-07T19:08:07.361Z] + case "${OS_FAMILY}" in [2024-08-07T19:08:07.361Z] + grep '^ii' [2024-08-07T19:08:07.361Z] + dpkg -l [2024-08-07T19:08:07.361Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-07T19:08:07.361Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-07T19:08:07.361Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-07T19:08:07.361Z] + '[' /w/workspace/edgexfoundry_device-uart_PR-65 ']' [2024-08-07T19:08:07.361Z] + mkdir -p /w/workspace/edgexfoundry_device-uart_PR-65/archives/ [2024-08-07T19:08:07.361Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-uart_PR-65/archives/ [Pipeline] echo [2024-08-07T19:08:07.401Z] 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-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-07T19:08:07.709Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-07T19:08:08.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-07T19:08:08.357Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-07T19:08:08.530Z] prd-ubuntu20.04-docker-8c-8g-7313 does not seem to be running inside a container [2024-08-07T19:08:08.558Z] $ 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-65/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-65 -v /w/workspace/edgexfoundry_device-uart_PR-65:/w/workspace/edgexfoundry_device-uart_PR-65:rw,z -v /w/workspace/edgexfoundry_device-uart_PR-65@tmp:/w/workspace/edgexfoundry_device-uart_PR-65@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-08-07T19:08:08.751Z] $ docker top 5a682bed00ba229f62b2788569782726736487731a969b0e1c89b95b62631794 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-07T19:08:09.162Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-07T19:08:09.480Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-07T19:08:09.798Z] + ls /var/log/sa-host [2024-08-07T19:08:09.798Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-07T19:08:09.959Z] provisioning config files... [2024-08-07T19:08:09.969Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-uart_PR-65@tmp/config16703055329806206054tmp [Pipeline] { [Pipeline] echo [2024-08-07T19:08:10.041Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:10.369Z] ---> create-netrc.sh [Pipeline] } [2024-08-07T19:08:10.400Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:10.906Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-07T19:08:10.943Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:11.311Z] ---> sudo-logs.sh [2024-08-07T19:08:11.311Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-07T19:08:11.510Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:11.862Z] ---> job-cost.sh [2024-08-07T19:08:11.862Z] lf-activate-venv: SKIPPING [2024-08-07T19:08:11.862Z] DEBUG: total: 0.2199999988079071 [2024-08-07T19:08:11.862Z] INFO: Retrieving Stack Cost... [2024-08-07T19:08:12.120Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-07T19:08:12.685Z] INFO: Archiving Costs [Pipeline] echo [2024-08-07T19:08:12.728Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-07T19:08:13.050Z] ---> logs-deploy.sh [2024-08-07T19:08:13.050Z] lf-activate-venv: SKIPPING [2024-08-07T19:08:13.050Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-uart/PR-65/1 [2024-08-07T19:08:13.050Z] INFO: archiving workspace using pattern(s): [2024-08-07T19:08:13.986Z] Archives upload complete. [2024-08-07T19:08:13.986Z] INFO: archiving logs to Nexus [2024-08-07T19:08:14.555Z] ---> uname -a: [2024-08-07T19:08:14.555Z] Linux prd-ubuntu20-04-docker-8c-8g-7313 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2024-08-07T19:08:14.555Z] [2024-08-07T19:08:14.555Z]