Open Rajashreekalmane opened 4 weeks ago
Scripts TC-MCORE.FS-1.1 and TC-MCORE.FS-1.4 need to be changed to fix the importing of tasks.py
.
I believe test harness needs to install the chip-testing WHL (this is probably missing).
@andy31415 all the needed files are in TH, the problem is the path. I believe you guys use a virtual env in the CI, but TH never used it, thus the path differences.
I will look into it, but the path should not be the case here as long as the chip-testing is installed properly (it does not have to be installed in virt env).
@arkq TH just uses the chip-cert-bins
docker image as is. And has always been like that.
TH just uses the chip-cert-bins docker image as is. And has always been like that.
Yes, I can see that, I will have to add patch for the chip-cert-bins image, which will properly install chip-testing package, if that's acceptable. It's not possible to fix this on the script side in a "clean" way. Right now I'm trying to build the TH image on my side to see how it looks like after the build.
my concern is such a change would call for thorough re-testing of TH and today is the Matter v1.4 package release deadline. Can we go with the dirty workaround for now and fix this for coming releases?
CC @cecille
my concern is such a change would call for thorough re-testing of TH and today is the Matter v1.4 package release deadline.
OK. So, how about "patching" current chip-cert-bins
? Just use current chip-cert-bins
image as a base, e.g.:
FROM chip-cert-bins:latest
RUN cp -R /root/python_testing/scripts/sdk/matter_testing_infrastructure/chip <path where chip python modules are istalled>
I can verify that and get proper destination after I will build chip-cert-bins on my side (or maybe I can download it from somewhere?) Alternative solution might be to run such copy (in a docker) before running one of the affected test scripts.
let me add you to the conversation in slack.
Describe the bug
During the execution of test cases from the Fabric Synchronization Cluster and Ecosystem Information Cluster, the tests failed due to a missing Python module. Specifically, the error No module named 'chip.testing' was encountered.
Ecosystem Information Cluster:
Fabric Synchronization Cluster:
Steps to reproduce the behavior
Execute any of the affected test cases using the following command (example for TC_MCORE_FS_11): Terminal 1 : sudo rm -rf /tmp/chip* && ./fabric-admin Terminal 2 : ./fabric-bridge-app
Once the fabric bridge app connected with fabric admin,
From the Test-Harness, select the test case.
Start the test case: Click the Start button on the Test-Harness user interface to begin the execution.
Expected behavior
No response
Log files
MCOREFS and ECOSYS.zip
PICS file
No response
Screenshots
Environment
TH Version: v2.11+fall2024 TH SHA: 8f86ccd TH SDK SHA: f2e5de7
Additional Information
No response