Title: test_os.TimerfdTests is flaky · Issue #126112 · python/cpython · GitHub
Open Graph Title: test_os.TimerfdTests is flaky · Issue #126112 · python/cpython
X Title: test_os.TimerfdTests is flaky · Issue #126112 · python/cpython
Description: Bug report Bug description: When compiling dev-lang/python-3.13.0 on Gentoo, the following tests failed: ====================================================================== FAIL: test_timerfd_interval (test.test_os.TimerfdTests.test_t...
Open Graph Description: Bug report Bug description: When compiling dev-lang/python-3.13.0 on Gentoo, the following tests failed: ====================================================================== FAIL: test_timerfd_in...
X Description: Bug report Bug description: When compiling dev-lang/python-3.13.0 on Gentoo, the following tests failed: ====================================================================== FAIL: test_timerfd_in...
Opengraph URL: https://github.com/python/cpython/issues/126112
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_os.TimerfdTests is flaky","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\nWhen compiling `dev-lang/python-3.13.0` on Gentoo, the following tests failed:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_timerfd_interval (test.test_os.TimerfdTests.test_timerfd_interval)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/var/tmp/portage/dev-lang/python-3.13.0/work/Python-3.13.0/Lib/test/test_os.py\", line 4238, in test_timerfd_interval\r\n self.assertEqual(self.read_count_signaled(fd), 1)\r\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nAssertionError: 4 != 1\r\n\r\n======================================================================\r\nFAIL: test_timerfd_ns_select (test.test_os.TimerfdTests.test_timerfd_ns_select)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/var/tmp/portage/dev-lang/python-3.13.0/work/Python-3.13.0/Lib/test/test_os.py\", line 4457, in test_timerfd_ns_select\r\n self.assertEqual(self.read_count_signaled(fd), 1)\r\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nAssertionError: 2 != 1\r\n\r\n======================================================================\r\nFAIL: test_timerfd_poll (test.test_os.TimerfdTests.test_timerfd_poll)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/var/tmp/portage/dev-lang/python-3.13.0/work/Python-3.13.0/Lib/test/test_os.py\", line 4349, in test_timerfd_poll\r\n self.check_timerfd_poll(False)\r\n ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^\r\n File \"/var/tmp/portage/dev-lang/python-3.13.0/work/Python-3.13.0/Lib/test/test_os.py\", line 4337, in check_timerfd_poll\r\n self.assertEqual(self.read_count_signaled(fd), 1)\r\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nAssertionError: 2 != 1\r\n\r\n======================================================================\r\nFAIL: test_timerfd_select (test.test_os.TimerfdTests.test_timerfd_select)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"/var/tmp/portage/dev-lang/python-3.13.0/work/Python-3.13.0/Lib/test/test_os.py\", line 4292, in test_timerfd_select\r\n self.assertEqual(self.read_count_signaled(fd), 1)\r\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nAssertionError: 5 != 1\r\n\r\n----------------------------------------------------------------------\r\nRan 366 tests in 32.208s\r\n\r\nFAILED (failures=4, skipped=62)\r\ntest test_os failed\r\n```\r\n\r\n`USE` flags used are:\r\n\r\n```\r\nUSE=\"ensurepip gdbm ncurses pgo readline sqlite ssl -bluetooth -build -debug -examples (-jit) -libedit* -test -tk -valgrind -verify-sig\"\r\n```\r\n\r\nwhich resulted in the following `./configure` invocation:\r\n\r\n```\r\n./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/python-3.13.0 --htmldir=/usr/share/doc/python-3.13.0/html --libdir=/usr/lib64 ac_cv_header_stropts_h=no --enable-shared --without-static-libpython --enable-ipv6 --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-computed-gotos --with-dbmliborder=gdbm --with-libc= --enable-loadable-sqlite-extensions --without-ensurepip --without-lto --with-system-expat --with-system-libmpdec --with-platlibdir=lib --with-pkg-config=yes --with-wheel-pkg-dir=/usr/lib/python/ensurepip --enable-gil --without-assertions --disable-experimental-jit --enable-optimizations --with-readline=readline --without-valgrind --with-lto\r\n```\r\n\r\n\r\n### CPython versions tested on:\r\n\r\n3.13.0, 3.13.1\r\n\r\n### Operating systems tested on:\r\n\r\nLinux (Gentoo)\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-135681\n* gh-135704\n* gh-135705\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/pepoluan","@type":"Person","name":"pepoluan"},"datePublished":"2024-10-29T08:02:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/126112/cpython/issues/126112"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6e0dfe65-d6b1-b7e9-f3dc-2cfd8d1b8cad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9D6:7E3A0:21FBF1:3044A4:696A0604 |
| html-safe-nonce | ff4714216943cd918f9e76187c4ecb9270fadf02ee557ef29d7eba29585bbcb0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUQ2OjdFM0EwOjIxRkJGMTozMDQ0QTQ6Njk2QTA2MDQiLCJ2aXNpdG9yX2lkIjoiMjk2MjAzNjM2ODEyOTQwODA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8e9c42f350e5bf1516407f7f4e97080a0bfb8626f558809ed56df1f7cb1acdb4 |
| hovercard-subject-tag | issue:2620459679 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/126112/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c15999038d7bf2a82172dbddef6748fd9a6b5f1b1f7ef64bf399a33218e68224/python/cpython/issues/126112 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c15999038d7bf2a82172dbddef6748fd9a6b5f1b1f7ef64bf399a33218e68224/python/cpython/issues/126112 |
| og:image:alt | Bug report Bug description: When compiling dev-lang/python-3.13.0 on Gentoo, the following tests failed: ====================================================================== FAIL: test_timerfd_in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pepoluan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 578c119ff0247c8b2f2491fbf4fc0395cdf909d4df66598cebdc96ddfc4418dc |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 671c2f67171dbced24284331f3133a613d08c366 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width