-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CERT-TEST-FAILURE] TC-BRBINFO-4.1 - python script is getting failied with error: "0 new endpoint found" #34763
Comments
Ran using TH image docker(TH image version: v2.11-beta2+fall2024) and the test is failing with below error: Reproduction stepsTC-BRBINFO-4.1 python script is getting failied due to 0 new endpoint found in FabricSync Admin test app
TH: TH image docker(TH image version: v2.11-beta2+fall2024) DUT: Bridge-app TH server app: lit-icd-app Command used to launch the DUT : ./chip-bridge-app Command used to run the python script : python TC_BRBINFO_4_1.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --paa-trust-store-path /credentials/development/paa-root-certs/ --storage-path admin_storage.json --string-arg th_server_app_path:/root/lit-icd-app Bug prevalence GitHub hash of the SDK that was being used Platform Here is the failure logs: |
@KishokG please try following these steps. I think the most important issue is that it seems you are using the bridge app, while we need to have both the FabricSync Bridge and FabricSync Administrator apps. Build python wheels and activated the environment
Build & run the FabricSync Bridge and Administrator app with RPC support. Do not the regular bridge app, which seems to be used in your setup.
Build ICD
Run Test
after ICD is commissioned to TH, follow the step prompted the user entering ICD<->DUT commissioning information into the FabricAdmin terminal. Similar to:
Then hit on the DUT test script terminal. At the end of that step, ICD is commissioned both to DUT and to TH. The current DUT sample app eventually fails with a |
fyi @tehampson @cletnick |
@rochaferraz Build is failed due to wrong target name in RPI platform:
|
@KishokG sorry for the delay, I'm back today from OOO. What branch/tag are you using? |
@rochaferraz I've tried to build with TE2 commit: |
@rochaferraz @KishokG could you pls get together offline in slack tomorrow and resolve this issue. this seem to be more of a build issue than a script issue at this point. |
There is already a I will keep this issue open add assigned to myself to confirm this app does in fact exist already on TH and will work for passing the test |
@KishokG Could you pls try this ASAP |
Sure @cjandhyala |
@tehampson and @cjandhyala I've tried to execute the test but it's failing in commissioning. Steps followed: Commands used to build the Sample app: ./scripts/build/build_examples.py --target linux-arm64-fabric-admin-rpc build Command used to launch the DUT: Command used to run the python script: Here is the logs: |
Did you compile the example from latest master or TE2 branch? I think we would benefit from a remote debug session. I might be available Friday I will be in Central European Time (CET), so we might have more overlapping hours. I will message tomorrow with my avaiablity on Friday. If that doesn't work, I am free next Tuesday, and will be back in EST timezone Assuming we can figure out why you are stuck on commissioning the "DUT" I also want to mention that you need to use the latest version in master for TC_BRBINFO_4_1.py. For TE2 we know that these failed and we have since updated both app and test script and plan to fix some issues that were encountered, which is why using latest is very important Also this test currently takes over 60 mins to run. We also noticed a corner case we should test for which means this test would increase to over 2 hours. We are working on a spec changes that will help reduce length of time this test should take. |
Yes @tehampson I've tried in latest Master TOT. |
Sure @tehampson |
@tehampson Could you please let me know, When you are available for the remote debug session. |
Arranging time over slack |
We had a call it seems like Kishok is up and running. To summarize some additional comments made during our call I would recommend holding off on running BRBINFO_4_1 until the following PRs land that bring in spec change to greatly reduce length of time required for test to run (From over 60 mins to under 5 mins) TimeoutMs is being added in spec text in https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/10298 Codegen is happening in #35154 |
@tehampson Here is the code that we changed during the debug session:
|
Feature Area
Other
Test Case
TC-BRBINFO-4.1
Reproduction steps
TC-BRBINFO-4.1 python script is getting failure at TH server app(lit-icd-app) commissioning by throwing an following error:
TH: python controller
commands used to build -
source scripts/activate.sh && scripts/build_python.sh -m platform -d true -i no
source no/bin/activate
DUT: Bridge-app
TH server app: lit-icd-app
Command used to launch the DUT : ./chip-bridge-app
Command used to run the python script : python3 src/python_testing/TC_BRBINFO_4_1.py --commissioning-method on-network --qr-code MT:-24J042C00KA0648G00 --string-arg th_server_app_path:examples/lit-icd-app/linux/out/lit-icd-app
Bug prevalence
Whenever I do this
GitHub hash of the SDK that was being used
6ba9655
Platform
raspi
Anything else?
Here is the failure logs:
DUT_log: Uploading TC-BRBINFO-4.1(DUT).txt…
CTRL_log: TC-BRBINFO-4.1(CTRL).txt
The text was updated successfully, but these errors were encountered: