Skip to content

tests: tests/net/lib/dns_resolve: mimxrt1170_evk@B/mimxrt1176/cm7: failed: Unknown Error #115279

Description

@hakehuang

Describe the bug
below case are failed
net.dns.resolve.dns_resolve.dns_query_ipv4_all_servers_refused

test is failed on v4.4.0-10213-gca0da250b5b1 on mimxrt1170_evk@B/mimxrt1176/cm7
testcase path is tests/net/lib/dns_resolve

[x] is_regression

14b5824 is the first bad commit
commit 14b5824
Author: Jukka Rissanen jukka.rissanen@nordicsemi.no
Date: Wed May 20 10:58:31 2026 +0300

tests: net: dns: Cover server fallback handling

Add DNS resolver coverage for fallback after a timeout and after an
empty reply from the first server.

Skip those cases in the query-all configuration, where the resolver is
expected to keep using the first successful parallel response instead of
sequential fallback.

Tested with:
  west twister -p native_sim -T tests/net/lib/dns_resolve \
    -T tests/net/socket/getaddrinfo --inline-logs

Assisted-by: Copilot:gpt-5.4
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>

tests/net/lib/dns_resolve/src/main.c | 146 +++++++++++++++++++++++++++++++++--
tests/net/lib/dns_resolve/tests.yaml | 3 +
2 files changed, 144 insertions(+), 5 deletions(-)

see logs for details

To Reproduce
1.

scripts/twister -p mimxrt1170_evk@B/mimxrt1176/cm7  -T tests/net/lib/dns_resolve

or

# west twister -p mimxrt1170_evk@B/mimxrt1176/cm7 -T tests/net/lib/dns_resolve
  1. See error

Expected behavior
test pass

Impact

Logs and console output

=======================================
START - test_dns_hostname_resolve_ipv4
 SKIP - test_dns_hostname_resolve_ipv4 in 0.001 seconds
===================================================================
START - test_dns_hostname_resolve_ipv6
 SKIP - test_dns_hostname_resolve_ipv6 in 0.001 seconds
===================================================================
START - test_dns_localhost_resolve_ipv4
 PASS - test_dns_localhost_resolve_ipv4 in 0.001 seconds
===================================================================
START - test_dns_localhost_resolve_ipv6
 PASS - test_dns_localhost_resolve_ipv6 in 0.001 seconds
===================================================================
START - test_dns_query_invalid_callback
 PASS - test_dns_query_invalid_callback in 0.001 seconds
===================================================================
START - test_dns_query_invalid_context
 PASS - test_dns_query_invalid_context in 0.001 seconds
===================================================================
START - test_dns_query_invalid_query
 PASS - test_dns_query_invalid_query in 0.001 seconds
===================================================================
START - test_dns_query_invalid_timeout
 PASS - test_dns_query_invalid_timeout in 0.001 seconds
===================================================================
START - test_dns_query_ipv4
 PASS - test_dns_query_ipv4 in 0.012 seconds
===================================================================
START - test_dns_query_ipv4_all_servers_refused
E: ***** MPU FAULT *****
E:   Stacking error (context area might be not valid)
E:   Data Access Violation
E:   MMFAR Address: 0x80002cf8
E: r0/a1:  0x00000000  r1/a2:  0x00000000  r2/a3:  0x00000000
E: r3/a4:  0x00000000 r12/ip:  0x80008210 r14/lr:  0x80008204
E:  xpsr:  0x00000000
E: Faulting instruction address (r15/pc): 0x00000000
E: >>> ZEPHYR FATAL ERROR 2: Stack overflow on CPU 0
E: Current thread: 0x800010d8 (test_dns_query_ipv4_all_servers)
E: Halting system


Environment (please complete the following information):

  • OS: (e.g. Linux ): Linux
  • Toolchain (e.g Zephyr SDK): zephyr/gnu
  • Commit SHA or Version used: v4.4.0-10213-gca0da250b5b1

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions