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

tests: net: tcp: net.tcp.simple fails #54247

Closed
nordic-piks opened this issue Jan 31, 2023 · 0 comments · Fixed by #54302
Closed

tests: net: tcp: net.tcp.simple fails #54247

nordic-piks opened this issue Jan 31, 2023 · 0 comments · Fixed by #54302
Assignees
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug

Comments

@nordic-piks
Copy link
Collaborator

nordic-piks commented Jan 31, 2023

Describe the bug
The tests/net/tcp/net.tcp.simple fails.

Tests:

  • tests/net/tcp/net.tcp.simple

Observed for

  • nrf5340dk_nrf5340_cpuapp

To Reproduce
Steps to reproduce the behavior:

  1. have nrf52840dk_nrf52840connected
  2. go to your zephyr dir
  3. call ./scripts/twister -T tests/net/tcp -p nrf5340dk_nrf5340_cpuapp--device-testing --device-serial /dev/ttyACM2 -v --inline-logs
  4. See console output with error

Expected behavior
Valid console output

Impact
Not clear

Logs and console output

*** Booting Zephyr OS build v3.3.0-rc1-5-gef9d5bbddfa5 ***
Running TESTSUITE net_tcp
===================================================================
START - test_client_closing_ipv6
PASS - test_client_closing_ipv6 in 0.103 seconds
===================================================================
START - test_client_fin_wait_2_ipv4
PASS - test_client_fin_wait_2_ipv4 in 0.104 seconds
===================================================================
START - test_client_invalid_rst
PASS - test_client_invalid_rst in 0.256 seconds
===================================================================
START - test_client_ipv4
PASS - test_client_ipv4 in 0.103 seconds
===================================================================
START - test_client_ipv6
PASS - test_client_ipv6 in 0.103 seconds
===================================================================
START - test_client_syn_resend
PASS - test_client_syn_resend in 0.351 seconds
===================================================================
START - test_server_ipv4
PASS - test_server_ipv4 in 0.252 seconds
===================================================================
START - test_server_ipv6
PASS - test_server_ipv6 in 0.252 seconds
===================================================================
START - test_server_out_of_order_data
PASS - test_server_out_of_order_data in 2.013 seconds
===================================================================
START - test_server_with_options_ipv4
Assertion failed at ../../../../../../../../zephyr/zephyr/tests/net/tcp/src/main.c:133: verify_flags: (false is false)
handle_server_test:663 flags mismatch (0x0036 vs 0x0010)
FAIL - test_server_with_options_ipv4 in 0.231 seconds
===================================================================
TESTSUITE net_tcp failed.
------ TESTSUITE SUMMARY START ------
SUITE FAIL -  90.00% [net_tcp]: pass = 9, fail = 1, skip = 0, total = 10 duration = 3.768 seconds
- PASS - [net_tcp.test_client_closing_ipv6] duration = 0.103 seconds
- PASS - [net_tcp.test_client_fin_wait_2_ipv4] duration = 0.104 seconds
- PASS - [net_tcp.test_client_invalid_rst] duration = 0.256 seconds
- PASS - [net_tcp.test_client_ipv4] duration = 0.103 seconds
- PASS - [net_tcp.test_client_ipv6] duration = 0.103 seconds
- PASS - [net_tcp.test_client_syn_resend] duration = 0.351 seconds
- PASS - [net_tcp.test_server_ipv4] duration = 0.252 seconds
- PASS - [net_tcp.test_server_ipv6] duration = 0.252 seconds
- PASS - [net_tcp.test_server_out_of_order_data] duration = 2.013 seconds
- FAIL - [net
Assertion failed at ../../../../../../../../zephyr/zephyr/tests/net/tcp/src/main.c:133: verify_flags: (false is false)
handle_server_test:663 flags mismatch (0x0011 vs 0x0010)
ERROR: cannot fail in test phase 'teardown()', bailing
_tcp.test_server_with_options_ipv4] duration = 0.231 seconds
------ TESTSUITE SUMMARY END ------
===================================================================
RunID: 35c1a1cce6fcf7b25a59ca2b9ad453e0
PROJECT EXECUTION FAILED

Environment (please complete the following information):

  • OS: Ubuntu 20.04.1 LTS
  • Toolchain Zephyr SDK 0.15.1
  • Commit SHA or Version used: v3.3.0-rc1-5-gef9d5bbddfa5
@nordic-piks nordic-piks added the bug The issue is a bug, or the PR is fixing a bug label Jan 31, 2023
@stephanosio stephanosio added the priority: low Low impact/importance bug label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug platform: nRF Nordic nRFx priority: low Low impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants