certification-tool icon indicating copy to clipboard operation
certification-tool copied to clipboard

[Feature] Re-consider the docker directory re-mapping

Open cecille opened this issue 1 year ago • 3 comments

Feature description

I'm not sure if this is a feature or a bug, but when the TH starts the docker, it re-maps a bunch of directories. Folks that have experience running these tests mostly know where these files are located in the SDK, but the remapping changes that. It also means you can't just run a find in the TH AND you can't just open a docker because that already involves knowing how the remapping was done. It just makes it really hard to find stuff.

Use Cases

  • use find command in TH, files are located there.

Test Cases

No response

Additional Information

No response

cecille avatar Oct 03 '24 15:10 cecille

Hi @cecille, currently the TH->SDK Image mappings are the following: SDK Image (Docker) -> TH (Raspi)

  • /root/python_testing -> /home/ubuntu/certification-tool/backend/test_collections/matter/sdk_tests/sdk_checkout/python_testing
  • /paa-root-certs -> /var/paa-root-certs
  • /credentials/development -> /var/credentials/development

What would be your suggestion?

rquidute avatar Dec 04 '24 13:12 rquidute

@cecille Adding the mapping provided in the note above in User Guide works for you?

rquidute avatar Dec 04 '24 13:12 rquidute

They should definitely be added to the user guide, but it still ends up being a bit weird because the arguments to some of the scripts are then different between the CI and the test harness.

how did stuff end up so scattered around anyway such that it needs to be re-mapped?

I'd suggest checking with the ATLs to see how they feel about this and what would work for them.

cecille avatar Dec 09 '24 19:12 cecille