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

[BUILDING] InetEndpoint::TestInetEndpoint fails with CHIP_ERROR_INCORRECT_STATE #29199

Open
tunm1228 opened this issue Sep 13, 2023 · 1 comment
Labels
bug Something isn't working linux needs triage

Comments

@tunm1228
Copy link

Reproduction steps

ninja: Entering directory `./out/debug'
[7/552] ACTION //src/inet/tests:TestInetEndPoint_run(//build/toolchain/host:linux_arm64_clang)
FAILED: linux_arm64_clang/gen/src/inet/tests/TestInetEndPoint_run.pw_pystamp
python3 ../../third_party/pigweed/repo/pw_build/py/pw_build/python_runner.py --gn-root ../../ --current-path ../../src/inet/tests --default-toolchain=//third_party/pigweed/repo/pw_toolchain/default:default --current-toolchain=//build/toolchain/host:linux_arm64_clang --touch linux_arm64_clang/gen/src/inet/tests/TestInetEndPoint_run.pw_pystamp --capture-output --module pw_unit_test.test_runner --python-virtualenv-config python/gen/matter_build_venv/venv_metadata.json --python-dep-list-files linux_arm64_clang/gen/src/inet/tests/TestInetEndPoint_run_metadata_path_list.txt -- --runner ../../third_party/pigweed/repo/targets/host/run_test --test linux_arm64_clang/tests/TestInetEndPoint
INF Test 1/1: [ RUN] TestInetEndPoint
ERR ../../third_party/pigweed/repo/targets/host/run_test exited with status 255
OUT [71593]
'#0:','inet-endpoint'
'#2:','Setup ','PASSED'
'#3:','InetEndPoint::PreTest ','PASSED'
'#3:','InetEndPoint::TestInetError ','PASSED'
Interfaces:
interface id: 0x1, interface name: lo, interface state: UP, no multicast, no broadcast addr
interface id: 0x2, interface name: eth0, interface state: UP, supports multicast, has broadcast addr
interface id: 0x3, interface name: wlan0, interface state: UP, supports multicast, has broadcast addr
Addresses:
127.0.0.1/8, interface id: 0x1, interface name: lo, interface state: UP, no multicast, no broadcast addr
192.168.4.47/24, interface id: 0x2, interface name: eth0, interface state: UP, supports multicast, has broadcast addr
::1/128, interface id: 0x1, interface name: lo, interface state: UP, no multicast, no broadcast addr
fe80::86b4:1f54:e65b:8e76/64, interface id: 0x2, interface name: eth0, interface state: UP, supports multicast, has broadcast addr
'#3:','InetEndPoint::TestInetInterface','PASSED'
../../src/inet/tests/TestInetEndPoint.cpp:344: assertion failed: "err == CHIP_ERROR_INCORRECT_STATE"
'#3:','InetEndPoint::TestInetEndPoint ','FAILED'
'#4:','Teardown ','PASSED'
'#6:','1','4'
'#7:','1','86'
INF Test 1/1: [FAIL] TestInetEndPoint
[12/552] ACTION //src/lib/support/tests:TestPool_run(//build/toolchain/host:linux_arm64_clang)
ninja: build stopped: subcommand failed.

real 0m4.204s
user 0m10.619s
sys 0m1.822s

Bug prevalence

day

GitHub hash of the SDK that was being used

matter

Platform

raspi

Platform Version(s)

No response

Anything else?

No response

@tunm1228 tunm1228 added bug Something isn't working needs triage labels Sep 13, 2023
@github-actions github-actions bot added the linux label Sep 13, 2023
@andy31415 andy31415 changed the title [BUILDING] ninja -C ./out/debug error [BUILDING] InetEndpoint::TestInetEndpoint fails with CHIP_ERROR_INCORRECT_STATE Oct 29, 2024
@andy31415
Copy link
Contributor

@tunm1228 this seems environment specific. It would be interesting to get a printout (or start a debug and look at) the error in src/inet/tests/TestInetEndPoint.cpp:344 see why it is not as the logic expects.

In this case you will likely need to debug this yourself as your environment experiences this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linux needs triage
Projects
None yet
Development

No branches or pull requests

2 participants