* BUG? flaky "migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler" test
@ 2024-03-22 1:39 Martin KaFai Lau
2024-03-22 1:54 ` Jakub Kicinski
2024-03-22 18:08 ` Kuniyuki Iwashima
0 siblings, 2 replies; 3+ messages in thread
From: Martin KaFai Lau @ 2024-03-22 1:39 UTC (permalink / raw)
To: Kuniyuki Iwashima; +Cc: bpf, Network Development, Kuniyuki Iwashima
Hi Kuniyuki,
The bpf CI has recently hit failure in the "migrate_reuseport/IPv4
TCP_NEW_SYN_RECV" test. It does not always fail but becomes more flaky recently:
https://github.com/kernel-patches/bpf/actions/runs/8354884067/job/22869153115
It could be due to some slowness in the bpf CI environment but failing because
of environment slowness is still not expected.
I took a very quick look. It seems like the test depends on the firing of the
timer's handler "reqsk_timer_handler()", so there is a sleep(1) in the test.
May be the timer fired slower and the test failed? If that is the case, it may
help to directly trace the reqsk_timer_handler() and wait for enough time to
ensure it is called.
This test has been temporarily disabled for now
(https://github.com/kernel-patches/vmtest/blob/master/ci/vmtest/configs/DENYLIST).
Once you have a fix, we can re-enable it again to ensure this migrate feature
will not regress.
Thanks,
Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BUG? flaky "migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler" test
2024-03-22 1:39 BUG? flaky "migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler" test Martin KaFai Lau
@ 2024-03-22 1:54 ` Jakub Kicinski
2024-03-22 18:08 ` Kuniyuki Iwashima
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Kicinski @ 2024-03-22 1:54 UTC (permalink / raw)
To: Martin KaFai Lau
Cc: Kuniyuki Iwashima, bpf, Network Development, Kuniyuki Iwashima
On Thu, 21 Mar 2024 18:39:53 -0700 Martin KaFai Lau wrote:
> The bpf CI has recently hit failure in the "migrate_reuseport/IPv4
> TCP_NEW_SYN_RECV" test. It does not always fail but becomes more flaky recently:
> https://github.com/kernel-patches/bpf/actions/runs/8354884067/job/22869153115
FWIW we had a handful of IPv6 and TCP tests start failing after we
merged first half of the merge window from Linus as well.
Maybe something in the scheduler changed and exposed timing problems
in the tests :(
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: BUG? flaky "migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler" test
2024-03-22 1:39 BUG? flaky "migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler" test Martin KaFai Lau
2024-03-22 1:54 ` Jakub Kicinski
@ 2024-03-22 18:08 ` Kuniyuki Iwashima
1 sibling, 0 replies; 3+ messages in thread
From: Kuniyuki Iwashima @ 2024-03-22 18:08 UTC (permalink / raw)
To: martin.lau; +Cc: bpf, kuni1840, kuniyu, netdev
Hi Martin,
Thanks for the report.
From: Martin KaFai Lau <martin.lau@linux.dev>
Date: Thu, 21 Mar 2024 18:39:53 -0700
> Hi Kuniyuki,
>
> The bpf CI has recently hit failure in the "migrate_reuseport/IPv4
> TCP_NEW_SYN_RECV" test. It does not always fail but becomes more flaky recently:
> https://github.com/kernel-patches/bpf/actions/runs/8354884067/job/22869153115
>
> It could be due to some slowness in the bpf CI environment but failing because
> of environment slowness is still not expected.
>
> I took a very quick look. It seems like the test depends on the firing of the
> timer's handler "reqsk_timer_handler()", so there is a sleep(1) in the test.
Yes, it depends on the timing of the reqsk tiemr.
> May be the timer fired slower and the test failed? If that is the case, it may
> help to directly trace the reqsk_timer_handler() and wait for enough time to
> ensure it is called.
Sounds good. I'll give it a try.
Thanks!
>
> This test has been temporarily disabled for now
> (https://github.com/kernel-patches/vmtest/blob/master/ci/vmtest/configs/DENYLIST).
> Once you have a fix, we can re-enable it again to ensure this migrate feature
> will not regress.
>
> Thanks,
> Martin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-03-22 18:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-22 1:39 BUG? flaky "migrate_reuseport/IPv4 TCP_NEW_SYN_RECV reqsk_timer_handler" test Martin KaFai Lau
2024-03-22 1:54 ` Jakub Kicinski
2024-03-22 18:08 ` Kuniyuki Iwashima
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).