Hello and Good day!
We are conducting Bonjour Conformance Test (BCT) for Printer device.
BCT result is PASSED but with warning in Multicast DNS, specifically,
WARNING: SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION
Other Shared Reply Timing is passed:
PASSED: MULTIPLE QUESTIONS - SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION
Environment:
- BCT Tool Version: 1.5.4 (15400)
- MacOS Sequioa 15.5
- DUT Firmware : Linux Debian 9
- Apple mDNSResponder 1790.80.10
- Service types: _ipps._tcp, _uscans._tcp, _ipp._tcp, _uscan._tcp
- Router : NEC AtermWR8370N
- Setup: 1-to-1 [Mac->Router<-DUT connection]
Based on debug.log, this is where WARNING occurs:
NOTICE 2026-03-04 10:51:06.870187+0900 _shared_reply_timing 04103: Shared reply response times: min = 26ms, max = 114ms, avg = 65.50ms WARNING 2026-03-04 10:51:06.870361+0900 _shared_reply_timing 04136: 50 percent of the replies within the correct range fell in the interval 20ms and 46ms (should be close to 25%). PASSED (SHARED REPLY TIMING)
In the same debug.log for MULTIPLE QUESTIONS - SHARED REPLY TIMING is PASSED:
NOTICE 2026-03-04 10:52:29.912334+0900 _shared_reply_timing 04103: Shared reply response times: min = 22ms, max = 112ms, avg = 78.00ms DEBUG_2 2026-03-04 10:52:29.912849+0900 recv_packet 01997: received packet (558 bytes) PASSED (MULTIPLE QUESTIONS - SHARED REPLY TIMING)
[Details] Looking at Bonjour_Conformance_Guideline.pdf https://download.developer.apple.com/Documentation/Bonjour_Conformance_Test_Guideline/Bonjour_Conformance_Guideline.pdf
there were some differences:
- In 1.6.2 Expected Result: Test Result File of Test that All Tests Passed, this is not displayed:
PASSED: SHARED REPLY TIMING - UNIFORM RANDOM REPLY TIME DISTRIBUTION
- And in II.8 Shared Reply Timing:
(Ideally, 25% of the answers should fall in each 21ms quadrant of the range 20ms - 125ms.) and comparing to the debug.log, there was a discrepancy of the interval, because 20ms and 46ms is 26ms interval.
- From RFC6762 6. Responding, Ideal range is from 20ms-120ms
Because of this, please advise on the questions below:
- I would like to know on the possible cause and resolution for these WARNINGS.
- And since in current BCT result, (Test result integrity signature is generated), I would like to know if this is acceptable for BCT certification.
Thank you.
Thank you for providing the code. I modify a bit to be able to build in our DUT
FYI, my original code has some logic flaws that I eventually sorted out with a bit more testing and experimentation. The underlying math here is that the BCT binning test is equivalent to the combined probability of rolling 10 3-sided dice and having either or both of these occur:
-
The same number appear on 4 or more dice -> ~31%
-
At least one number not appearing at all ->21%
...and the combined probability of those two events works out to about ~40%. I suspect/assume that you're having test runs that OCCASIONALLY succeed, but the inherent failure rate might also be being skewed by other details of your implementation.
I've filed a bug on this already (r.172771068), but I'd appreciate your filing your own bug and posting the bug number back here.
I would like to confirm if the result of SHARED REPLY TIMING with Warning is not an issue and can still result to BCT certification to Pass.
This warning is not an issue and should not prevent certification.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware