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

test_query_udp_ipv4 test failure #2105

Open
jpds opened this issue Dec 5, 2023 · 1 comment
Open

test_query_udp_ipv4 test failure #2105

jpds opened this issue Dec 5, 2023 · 1 comment
Labels

Comments

@jpds
Copy link

jpds commented Dec 5, 2023

Describe the bug

If I run cargo test against the lastest master with Rust 1.73; there's a test failure with test_query_udp_ipv4:

     Running tests/client_future_tests.rs (target/debug/deps/client_future_tests-51a52babb74ce218)

running 9 tests
test test_query_tcp_ipv6 ... ignored
test test_query_udp_ipv6 ... ignored
test test_notify ... ok
test test_query_nonet ... ok
test test_timeout_query_tcp ... ok
test test_timeout_query_udp ... ok
test test_timeout_query_nonet ... ok
test test_query_tcp_ipv4 ... ok
test test_query_udp_ipv4 ... FAILED

failures:

---- test_query_udp_ipv4 stdout ----
response records: DnsResponse { message: Message { header: Header { id: 3462, message_type: Response, op_code: Query, authoritative: false, truncation: false, recursion_desired: true, recursion_available: true, authentic_data: false, checking_disabled: false, response_code: NoError, query_count: 1, answer_count: 1, name_server_count: 0, additional_count: 1 }, queries: [Query { name: Name("WWW.example.com."), query_type: A, query_class: IN }], answers: [Record { name_labels: Name("WWW.example.com."), rr_type: A, dns_class: IN, ttl: 86398, rdata: Some(A(A(93.184.216.34))) }], name_servers: [], additionals: [], signature: [], edns: Some(Edns { rcode_high: 0, version: 0, dnssec_ok: false, max_payload: 1232, options: OPT { options: {} } }) }, buffer: [13, 134, 129, 128, 0, 1, 0, 1, 0, 0, 0, 1, 3, 87, 87, 87, 7, 101, 120, 97, 109, 112, 108, 101, 3, 99, 111, 109, 0, 0, 1, 0, 1, 192, 12, 0, 1, 0, 1, 0, 1, 81, 126, 0, 4, 93, 184, 216, 34, 0, 0, 41, 4, 208, 0, 0, 0, 0, 0, 0] }
response records: DnsResponse { message: Message { header: Header { id: 60262, message_type: Response, op_code: Query, authoritative: false, truncation: false, recursion_desired: true, recursion_available: true, authentic_data: false, checking_disabled: false, response_code: NoError, query_count: 1, answer_count: 1, name_server_count: 0, additional_count: 1 }, queries: [Query { name: Name("WWW.example.com."), query_type: A, query_class: IN }], answers: [Record { name_labels: Name("WWW.example.com."), rr_type: A, dns_class: IN, ttl: 86398, rdata: Some(A(A(93.184.216.34))) }], name_servers: [], additionals: [], signature: [], edns: Some(Edns { rcode_high: 0, version: 0, dnssec_ok: false, max_payload: 1232, options: OPT { options: {} } }) }, buffer: [235, 102, 129, 128, 0, 1, 0, 1, 0, 0, 0, 1, 3, 87, 87, 87, 7, 101, 120, 97, 109, 112, 108, 101, 3, 99, 111, 109, 0, 0, 1, 0, 1, 192, 12, 0, 1, 0, 1, 0, 1, 81, 126, 0, 4, 93, 184, 216, 34, 0, 0, 41, 4, 208, 0, 0, 0, 0, 0, 0] }
response records: DnsResponse { message: Message { header: Header { id: 56854, message_type: Response, op_code: Query, authoritative: false, truncation: false, recursion_desired: true, recursion_available: true, authentic_data: false, checking_disabled: false, response_code: NoError, query_count: 1, answer_count: 1, name_server_count: 0, additional_count: 1 }, queries: [Query { name: Name("WWW.example.com."), query_type: A, query_class: IN }], answers: [Record { name_labels: Name("WWW.example.com."), rr_type: A, dns_class: IN, ttl: 86398, rdata: Some(A(A(93.184.216.34))) }], name_servers: [], additionals: [], signature: [], edns: Some(Edns { rcode_high: 0, version: 0, dnssec_ok: false, max_payload: 1232, options: OPT { options: {} } }) }, buffer: [222, 22, 129, 128, 0, 1, 0, 1, 0, 0, 0, 1, 3, 87, 87, 87, 7, 101, 120, 97, 109, 112, 108, 101, 3, 99, 111, 109, 0, 0, 1, 0, 1, 192, 12, 0, 1, 0, 1, 0, 1, 81, 126, 0, 4, 93, 184, 216, 34, 0, 0, 41, 4, 208, 0, 0, 0, 0, 0, 0] }
thread 'test_query_udp_ipv4' panicked at 'called `Option::unwrap()` on a `None` value', tests/integration-tests/tests/client_future_tests.rs:250:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    test_query_udp_ipv4

test result: FAILED. 6 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.05s

System:

  • OS: Linux
  • Architecture: x86_64
  • Version master
  • rustc version: 1.73
@bluejekyll
Copy link
Member

This could be an issue with your local environment, is there a possibility that UDP is being blocked on your network for some reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants