project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
26 stars 13 forks source link

[Bug] After a fresh install of TH `v2.11-beta1+fall2024`, backend has an install failure and fails #285

Open tcarmelveilleux opened 2 weeks ago

tcarmelveilleux commented 2 weeks ago

Describe the bug

After running the install steps from Matter TH manual, TH backend has a start failure and TH frontend shows internal errors.

image

Steps to reproduce the behavior

First time device failed to download some pieces and rebooted:

image

Then I re-ran ./scripts/pi-setup/auto-install.sh on next boot, and it succeeded to do everything right, and I selected "1)" to reboot.

After reboot, the TH is still not working

Expected behavior

Log files

PICS file

No response

Screenshots

No response

Environment

Additional Information

No response

tcarmelveilleux commented 2 weeks ago

This got resolved after I did:

git clone -b v2.11-beta1+fall2024  https://github.com/project-chip/certification-tool.git certification-tool-2
cd certification-tool-2
git submodule init
git submodule update --recursive
./scripts/pi-setup/auto-install.sh

....

However, the initial install should have succeeded. It appears maybe something got partially downloaded that left the whole system in an indeterminate state.

There should be a "clean sweep" script that can be run to delete all the docker containers and images, and allow to restart fresh like whatever the side-effects of cloning a separate version of the repos did.

hiltonlima commented 2 weeks ago

Hello @tcarmelveilleux, Thanks for the feedback.

We agree with the script's suggestion. We will make it available as soon as possible.