Skip to content

[Bug] th-cli test-run-execution Not Showing the Most Recent Test Run. #823

@Ashwinigrl

Description

@Ashwinigrl

Describe the bug

When running the following command: th-cli test-run-execution

The CLI displays only the older test run history. However, the latest test execution is not appearing in the list.

Steps to reproduce the behavior

  1. Run the below command in the Raspi which is having the latest 1.6TE1 Image.
    ./certification-tool/cli/scripts/th_cli_install.sh
  2. Navigated to the CLI scripts directory: cd certification-tool/cli/scripts
  3. Create the project: th-cli project create --name <Project name>
  4. Copy the Required PICS files to your Raspi
  5. Run the DUT sample app: ./chip-all-clusters-app
  6. Execute any test case using:
    th-cli run-tests -t TC_ULABEL_2_1 -p <path to PICS file> --<Project Id> --title TC_OO_2_1
  7. After the test finishes, run: th-cli test-run-execution
  8. Observe that the latest test run does not appear in the results.

Expected behavior

The CLI should update the test run history immediately after a test execution finishes.

Log files

test-run-execution.txt

PICS file

Matter_V_1_5_TE1_PICS_XML_For_RPI.zip

Screenshots

Image

Environment

TH Version: v2.15-beta1+winter2025
Sha: 8fa3fc5
SDK SHA: bab3aa0773551c0661e17b34b0e97b4e5813b45e
Backend SHA: 8fa3fc5ace2c92346d9659511283516882b64216

Additional Information

No response

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingCLIMatter Test Harness CLI Application related

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions