-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
test_os.TimerfdTests fails on FreeBSD 14 and 15: missing select.epoll() #110697
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
Comments
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 12, 2023
Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer. * Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll(). * Replace "_ = func()" with "func()". * Add TimerfdTests.READ_SIZE constant.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 13, 2023
Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer. * Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll(). * Replace "_ = func()" with "func()". * Add TimerfdTests.read_count_signaled() method.
vstinner
added a commit
that referenced
this issue
Oct 13, 2023
Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer. * Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll(). * Replace "_ = func()" with "func()". * Add TimerfdTests.read_count_signaled() method.
Yes. I was waiting for FreeBSD14 and FreeBSD15 builders: both are now green. |
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 30, 2023
More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time.
vstinner
added a commit
to vstinner/cpython
that referenced
this issue
Oct 30, 2023
More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time.
vstinner
added a commit
that referenced
this issue
Oct 30, 2023
More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time.
FullteaR
pushed a commit
to FullteaR/cpython
that referenced
this issue
Nov 3, 2023
More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time.
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer. * Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll(). * Replace "_ = func()" with "func()". * Add TimerfdTests.read_count_signaled() method.
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Feb 11, 2024
More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time.
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
Replace select.epoll() with selectors.DefaultSelector to support FreeBSD 14 and newer. * Merge common code between test_timerfd_epoll() test_timerfd_ns_epoll(). * Replace "_ = func()" with "func()". * Add TimerfdTests.read_count_signaled() method.
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
More TimerfdTests tests tolerate a difference of 1 ms in measured elapsed time.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
os.timerfd_create() is documented to be available only on Linux, but it's always available on FreeBSD 14.
Problem: the test uses epoll() which is not available on FreeBSD. The test should be redesigned with
selectors.DefaultSelector
to become portable.os.timerfd_create() was added recently to the main branch by PR gh-108382: see issue gh-108277.
cc @m-tmatma
Logs:
FreeBSD 14 build: https://buildbot.python.org/all/#/builders/1232/builds/208
Linked PRs
The text was updated successfully, but these errors were encountered: