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
38 stars 22 forks source link

[test_collection folder missing from backend on fresh installation] SVE-1.4 #436

Open SamCullen-Element opened 12 hours ago

SamCullen-Element commented 12 hours ago

Describe the bug

The test_collection folder and its sub folders from the backend is not installed on a fresh installation of v2.11-beta3.1+fall2024. Unsure how to correct this without re-installing as the UI works and is able to run scripts.

Steps to reproduce the behavior

Unknown

Expected behavior

No response

Log files

No response

PICS file

No response

Screenshots

No response

Environment

No response

Additional Information

No response

hiltonlima commented 12 hours ago

Hello @SamCullen-Element , Could you share the steps you followed to perform the installation?

SamCullen-Element commented 12 hours ago

Fresh SD card, install the Ubuntu-24.04.1 server. After installation: git clone -b v2.11-beta3.1+fall2024 https://github.com/project-chip/certification-tool.git --recurse-submodules cd ~/certification-tool ./scripts/pi-setup/auto-install.sh

After this is completed, I selected option 1 and left it to do its thing.

SamCullen-Element commented 11 hours ago

There is a similar issue with the datamodel not getting pulled in that was raised by someone else. I am not sure of the issue number but it was spotted by Lourens and Emad

hiltonlima commented 10 hours ago

@SamCullen-Element , Can you share the installation logs?

The git clone ... command should download all backend data.

SamCullen-Element commented 10 hours ago

@hiltonlima where are the installation logs stored on the pi?

SamCullen-Element commented 10 hours ago

@fabiowmm this is suspected by the Hull SVE to be related to the missing datamodel that was mentioned

hiltonlima commented 9 hours ago

@SamCullen-Element, The installation log is not saved to a file. It is only displayed in the terminal that started the installation.

You didn't find the data from test_collection? Or just the data from data_model folder?

SamCullen-Element commented 9 hours ago

@hiltonlima ahh ok, no worries.

There is no test_collection folder at all in the backend. Other SVE participants noted the data_model was missing in some cases too though Fabio is aware of this aspect

hiltonlima commented 9 hours ago

@SamCullen-Element, Got it.

Regarding data_model, we already have a fix(candidate) for the problem.

For the backend data (your case)... You need to make sure that the git clone was executed successfully.

Could you run these following commands and check if the data was downloaded?

cd ~/certification-tool
git submodule update --init --recursive

Check if backend folder has all content and run the auto-install again.

./scripts/pi-setup/auto-install.sh

SamCullen-Element commented 9 hours ago

@hiltonlima I will do and let you know the results. SVE has just concluded at this location so I am relocating the setup so please bare with me

hiltonlima commented 9 hours ago

@hiltonlima I will do and let you know the results. SVE has just concluded at this location so I am relocating the setup so please bare with me

No problem :)