Skip to content
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-SC-4.3] Test Failure #37154

Open
Ashwinigrl opened this issue Jan 22, 2025 · 1 comment
Open

[CERT-TEST-FAILURE] [TC-SC-4.3] Test Failure #37154

Ashwinigrl opened this issue Jan 22, 2025 · 1 comment
Labels
bug Something isn't working cert blocker needs triage

Comments

@Ashwinigrl
Copy link

Feature Area

Other

Test Case

TC-SC-4.3

Reproduction steps

Command used to launch the DUT : ./lit-icd-app
Command used to run the python script : python3 TC_SC_4_3.py --commissioning-method on-network --discriminator 3840 --passcode 20202021 --storage-path admin_storage.json

While validating the TC-SC-4.3 python script, Test case is failing at test step 10 TH performs a DNS-SD browse for _I<hhhh>._sub._matter._tcp.local, where <hhhh> is the 64-bit compressed Fabric identifier, expressed as a fixed-length, sixteen-character hexadecimal string, encoded as ASCII (UTF-8) text using capital letters. with the below errors.

File "/home/ubuntu/connectedhomeip/src/python_testing/TC_SC_4_3.py", line 388, in test_TC_SC_4_3
asserts.assert_in(op_sub_type, service_types, f"No PTR record with DNS-SD instance name '{op_sub_type}' wsa found.")
File "/home/ubuntu/connectedhomeip/no/lib/python3.12/site-packages/mobly/asserts.py", line 141, in assert_in
_call_unittest_assertion(
File "/home/ubuntu/connectedhomeip/no/lib/python3.12/site-packages/mobly/asserts.py", line 50, in _call_unittest_assertion
raise signals.TestFailure(my_msg, extras=extras)
mobly.signals.TestFailure: Details='_I77C0200B00B14E37._sub._matter._tcp.local.' not found in ['_matter._tcp.local.', '_matterd._udp.local.'] No PTR record with DNS-SD instance name '_I77C0200B00B14E37._sub._matter._tcp.local.' wsa found., Extras=None
[MatterTest] 01-22 06:13:51.985 INFO ***** Test Failure :
[MatterTest] 01-22 06:13:51.985 INFO Finished test in 10580893.0ms
[MatterTest] 01-22 06:13:51.986 ERROR

  • Test test_TC_SC_4_3 failed for the following reason:
  • Details='_I77C0200B00B14E37._sub._matter._tcp.local.' not found in ['_matter._tcp.local.', '_matterd._udp.local.'] No PTR record with DNS-SD instance name '_I77C0200B00B14E37._sub._matter._tcp.local.' wsa found., Extras=None
  • File "/home/ubuntu/connectedhomeip/src/python_testing/TC_SC_4_3.py", line 388, in test_TC_SC_4_3
  • asserts.assert_in(op_sub_type, service_types, f"No PTR record with DNS-SD instance name '{op_sub_type}' wsa found.")
  • Test step:
  • 10: TH performs a DNS-SD browse for _I._sub._matter._tcp.local, where is the 64-bit compressed Fabric identifier, expressed as a fixed-length, sixteencharacter hexadecimal string, encoded as ASCII (UTF-8) text using capital letters. Expected outcome: Verify DUT returns a PTR record with DNS-SD instance name set to instance_name
  • Endpoint: None
    [MatterTest] 01-22 06:13:51.986 INFO [Test] test_TC_SC_4_3 FAIL

Bug prevalence

Whenever I do this

GitHub hash of the SDK that was being used

d5e9829

Platform

raspi

Anything else?

Sample app used to run the DUT:
lit-icd-app

Test step that require Review:
step 10

Reference Logs:

TC-SC-4.3(CNTRL).txt
TC-SC-4.3(DUT).txt

Python Script References:

@cecille
Copy link
Contributor

cecille commented Jan 24, 2025

@Ashwinigrl - could you please do a browse on avahi to see if the device is actually advertising that prefix correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cert blocker needs triage
Projects
Status: Open Cert Blockers
Development

No branches or pull requests

2 participants