Skip to content

net.socket.get_addr_info: frdm_k64f test fails #34923

@hakehuang

Description

@hakehuang

Describe the bug
below two cases fails, looks like it is not stable enough to all platform
test_getaddrinfo_ok
test_getaddrinfo_cancelled

To Reproduce
Steps to reproduce the behavior:

  1. mkdir build; cd build
  2. cmake -DBOARD=frdm_k64f
  3. make falsh
  4. See error

Expected behavior
all test pass

Impact
addressinfo api call

Logs and console output

    �start application at 0x70008729 !!!

    start stack at 0x80008800 !!!

    *** Booting Zephyr OS build zephyr-v2.5.0-3077-g3a7e0f875cf1  ***

    Running test suite socket_getaddrinfo

    ===================================================================

    START - test_getaddrinfo_setup

     PASS - test_getaddrinfo_setup in 0.90 seconds

    ===================================================================

    START - test_getaddrinfo_ok

    

        Assertion failed at WEST_TOPDIR/zephyr/tests/net/socket/getaddrinfo/src/main.c:232: test_getaddrinfo_ok: (false is false)

    Did not receive all queries

     FAIL - test_getaddrinfo_ok in 2.155 seconds

    ===================================================================

    START - test_getaddrinfo_cancelled

    

        Assertion failed at WEST_TOPDIR/zephyr/tests/net/socket/getaddrinfo/src/main.c:252: test_getaddrinfo_cancelled: (false is false)

    Did not receive all queries

     FAIL - test_getaddrinfo_cancelled in 0.15 seconds

    ===================================================================

    START - test_getaddrinfo_no_host

     PASS - test_getaddrinfo_no_host in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_num_ipv4

     PASS - test_getaddrinfo_num_ipv4 in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_num_ipv6

     PASS - test_getaddrinfo_num_ipv6 in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_flags_numerichost

     PASS - test_getaddrinfo_flags_numerichost in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_ipv4_hints_ipv6

     PASS - test_getaddrinfo_ipv4_hints_ipv6 in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_ipv6_hints_ipv4

     PASS - test_getaddrinfo_ipv6_hints_ipv4 in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_port_invalid

     PASS - test_getaddrinfo_port_invalid in 0.1 seconds

    ===================================================================

    START - test_getaddrinfo_null_host

     PASS - test_getaddrinfo_null_host in 0.1 seconds

    ===================================================================

    Test suite socket_getaddrinfo failed.

    ===================================================================

    PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: (e.g. Linux, MacOS, Windows)
  • Toolchain (e.g Zephyr SDK, ...)
  • Commit SHA or Version used: zephyr-v2.5.0-3077-g3a7e0f875cf1

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions