Project mDNSResponder RadarComponents Name mDNSResponder Version all Tests TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName GAIPerf Advanced Description Tests correctness of resolving hostnames via DNS using the GAIPerf Advanced test suite. AsRoot RequiresWiFi Timeout 900 IgnoreOutput Command /usr/local/bin/dnssdutil test gaiperf --suite advanced --timeLimit 250 --format json --skipPathEval TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 1-1-1 Description Tests mDNS discovery and resolution of one service instance with one one-byte TXT record, one A record, and one AAAA record. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 1 --txtSize 1 --browseTime 3 --countA 1 --countAAAA 1 --ipv4 --ipv6 --format json --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 1-1-1 (No Additionals) Description Tests mDNS discovery and resolution of one service instance with one one-byte TXT record, one A record, and one AAAA record. Responses from mdnsreplier contain no additional answers. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 1 --txtSize 1 --browseTime 3 --countA 1 --countAAAA 1 --ipv4 --ipv6 --format json --noAdditionals --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 10-100-2 Description Tests mDNS discovery and resolution of ten service instances with one 100-byte TXT record, two A records, and two AAAA records. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 10 --txtSize 100 --browseTime 3 --countA 2 --countAAAA 2 --ipv4 --ipv6 --format json --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 10-100-2 (No Additionals) Description Tests mDNS discovery and resolution of ten service instances with one 100-byte TXT record, two A records, and two AAAA records. Responses from mdnsreplier contain no additional answers. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 10 --txtSize 100 --browseTime 3 --countA 2 --countAAAA 2 --ipv4 --ipv6 --format json --noAdditionals --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 100-500-2 Description Tests mDNS discovery and resolution of 100 service instances with one 500-byte TXT record, two A records, and two AAAA records. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 100 --txtSize 500 --browseTime 5 --countA 2 --countAAAA 2 --ipv4 --ipv6 --format json --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 100-500-2 (No Additionals) Description Tests mDNS discovery and resolution of 100 service instances with one 500-byte TXT record, two A records, and two AAAA records. Responses from mdnsreplier contain no additional answers. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 100 --txtSize 500 --browseTime 5 --countA 2 --countAAAA 2 --ipv4 --ipv6 --noAdditionals --format json --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 1-1-1 (No Cache Flush) Description Tests mDNS discovery and resolution of one service instance with one one-byte TXT record, one A record, and one AAAA record. Cache is not flushed beforehand. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 1 --txtSize 1 --browseTime 3 --countA 1 --countAAAA 1 --ipv4 --ipv6 --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 1-1-1 (No Cache Flush, No Additionals) Description Tests mDNS discovery and resolution of one service instance with one one-byte TXT record, one A record, and one AAAA record. Cache is not flushed beforehand. Responses from mdnsreplier contain no additional answers. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 1 --txtSize 1 --browseTime 3 --countA 1 --countAAAA 1 --ipv4 --ipv6 --format json --noAdditionals TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 10-100-2 (No Cache Flush) Description Tests mDNS discovery and resolution of ten service instances with one 100-byte TXT record, two A records, and two AAAA records. Cache is not flushed beforehand. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 10 --txtSize 100 --browseTime 3 --countA 2 --countAAAA 2 --ipv4 --ipv6 --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 10-100-2 (No Cache Flush, No Additionals) Description Tests mDNS discovery and resolution of ten service instances with one 100-byte TXT record, two A records, and two AAAA records. Cache is not flushed beforehand. Responses from mdnsreplier contain no additional answers. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 10 --txtSize 100 --browseTime 3 --countA 2 --countAAAA 2 --ipv4 --ipv6 --format json --noAdditionals TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 100-500-2 (No Cache Flush) Description Tests mDNS discovery and resolution of 100 service instances with one 500-byte TXT record, two A records, and two AAAA records. Cache is not flushed beforehand. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 100 --txtSize 500 --browseTime 5 --countA 2 --countAAAA 2 --ipv4 --ipv6 --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery 100-500-2 (No Cache Flush, No Additionals) Description Tests mDNS discovery and resolution of 100 service instances with one 500-byte TXT record, two A records, and two AAAA records. Cache is not flushed beforehand. Responses from mdnsreplier contain no additional answers. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 100 --txtSize 500 --browseTime 5 --countA 2 --countAAAA 2 --ipv4 --ipv6 --noAdditionals --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery w/Packet Drops 10 Description Tests mDNS discovery and resolution of ten service instances with one 100-byte TXT record, two A records, and two AAAA records. The first three responses per service instance are subject to a 0.5 probability of being dropped to test query retries. AsRoot RequiresWiFi Timeout 30 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 10 --txtSize 100 --browseTime 16 --countA 2 --countAAAA 2 --ipv6 --udrop 0.5 --mdrop 0.5 --maxDropCount 3 --format json --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName mDNS Discovery w/Packet Drops 100 Description Tests mDNS discovery and resolution of 100 service instances with one 100-byte TXT record, two A records, and two AAAA records. The first three responses per service instance are subject to a 0.5 probability of being dropped to test query retries. AsRoot RequiresWiFi Timeout 30 IgnoreOutput Command /usr/local/bin/dnssdutil test mdnsdiscovery --interface lo0 --instanceCount 100 --txtSize 100 --browseTime 18 --countA 2 --countAAAA 2 --ipv6 --udrop 0.5 --mdrop 0.5 --maxDropCount 3 --format json --flushCache TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName DotLocal Queries Description Tests DNS and mDNS queries for domain names in the local domain. AsRoot RequiresWiFi Timeout 40 IgnoreOutput Command /usr/local/bin/dnssdutil test dotlocal --interface lo0 --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName Service Registration Description Tests Bonjour service registration. AsRoot RequiresWiFi Timeout 120 IgnoreOutput Command /usr/local/bin/dnssdutil test registration --format json --bats TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName Probe Conflicts Description Tests various probe conflict scenarios, some of which are expected to result in service instance and record renames. AsRoot RequiresWiFi Timeout 300 IgnoreOutput Command /usr/local/bin/dnssdutil test probeconflicts --interface lo0 --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName TCP Fallback Description Tests mDNSResponder's TCP fallback mechanism, which is triggered by UDP responses with invalid message IDs that would otherwise be acceptable. AsRoot RequiresWiFi Timeout 90 IgnoreOutput Command /usr/local/bin/dnssdutil test gaiperf --suite basic --timeLimit 250 --format json --skipPathEval --badUDPMode TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName State Dump Description 1. Tests whether the state dump can be triggered correctly, and whether the file (or stdout's output) contains the full state information. 2. Checks whether the number of state dump files has an upper limit to avoid wasting disk space. AsRoot RequiresWiFi Timeout 60 IgnoreOutput Command /usr/local/bin/dnssdutil browseAll && /bin/sh /AppleInternal/Tests/mDNSResponder/bats_test_state_dump.sh TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName DNS Proxy Description 1. Tests the DNS Proxy by doing a DNS UDP query. 2. Tests the DNS proxy by doing a DNS TCP query. AsRoot RequiresWiFi Timeout 60 IgnoreOutput Command /bin/sh /AppleInternal/Tests/mDNSResponder/bats_test_proxy.sh TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName Expensive/Constrained Interface Description Test the following situation: 1. The interface is set to expensive and inexpensive, and the query is set to DenyExpensive, a continuous ADD/REMOVE sequence is expected. 2. The interface is set to expensive and inexpensive, and the query does not DenyExpensive, no update is expected. 3. The interface is set to constrained and unconstrained, and the query is set to DenyConstrained, a continuous ADD/REMOVE sequence is expected. 4. The interface is set to constrained and unconstrained, and the query does not DenyConstrained, no update is expected. 5. The interface is set to expensive and constrained, and the query is set to DenyExpensive and DenyConstrained. AsRoot RequiresWiFi Timeout 1200 IgnoreOutput Command /usr/local/bin/dnssdutil test expensive_constrained_updates TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder TestName XCTests Description mDNSResponder XCTests WorkingDirectory /AppleInternal/XCTests/com.apple.mDNSResponder/ AsRoot RequiresWiFi Timeout 20 ShowSubtestResults Command BATS_XCTEST_CMD -NSTreatUnknownArgumentsAsOpen NO -ApplePersistenceIgnoreState YES -XCTest Self Tests.xctest TestName Fix Verification #1 Description Fix Verification #1 AsRoot RequiresWiFi Timeout 45 IgnoreOutput Command /usr/local/bin/dnssdutil verifyFix earlyAWDL --format json TestName mDNSResponder Leaks Description Checks mDNSResponder for memory leaks. AsRoot RequiresWiFi Timeout 10 IgnoreOutput Command /usr/bin/leaks mDNSResponder