René's URL Explorer Experiment


Title: test_logging: rollover tests fail on FreeBSD16 · Issue #162515 · python/cpython · GitHub

Open Graph Title: test_logging: rollover tests fail on FreeBSD16 · Issue #162515 · python/cpython

X Title: test_logging: rollover tests fail on FreeBSD16 · Issue #162515 · python/cpython

Description: Bug report First failing build: https://buildbot.python.org/#/builders/1857/builds/1300 0:14:45 load avg: 2.62 mem: 91.0 MiB [1/1/1] test_logging failed (3 failures) Re-running test_logging in verbose mode (matching: test_compute_rollove...

Open Graph Description: Bug report First failing build: https://buildbot.python.org/#/builders/1857/builds/1300 0:14:45 load avg: 2.62 mem: 91.0 MiB [1/1/1] test_logging failed (3 failures) Re-running test_logging in verb...

X Description: Bug report First failing build: https://buildbot.python.org/#/builders/1857/builds/1300 0:14:45 load avg: 2.62 mem: 91.0 MiB [1/1/1] test_logging failed (3 failures) Re-running test_logging in verb...

Opengraph URL: https://github.com/python/cpython/issues/162515

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_logging: rollover tests fail on FreeBSD16","articleBody":"### Bug report\n\nFirst failing build: https://buildbot.python.org/#/builders/1857/builds/1300\n\n```pytb\n0:14:45 load avg: 2.62 mem:   91.0 MiB [1/1/1] test_logging failed (3 failures)\nRe-running test_logging in verbose mode (matching: test_compute_rollover_W6_local, test_compute_rollover_W6_local_interval, test_rollover_delayed_dst)\ntest_compute_rollover_W6_local (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W6_local) ... FAIL\nWarning -- Unraisable exception\nException ignored while finalizing file \u003c_io.FileIO name='/tmp/test_python_fytgriaa/test_logging-2-p5zcq3ak.log' mode='ab' closefd=True>:\nTraceback (most recent call last):\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/unittest/case.py\", line 690, in run\n    with outcome.testPartExecutor(self):\n         ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\nResourceWarning: unclosed file \u003c_io.TextIOWrapper name='/tmp/test_python_fytgriaa/test_logging-2-p5zcq3ak.log' mode='a' encoding='utf-8'>\ntest_compute_rollover_W6_local_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W6_local_interval) ... FAIL\nWarning -- Unraisable exception\nException ignored while finalizing file \u003c_io.FileIO name='/tmp/test_python_fytgriaa/test_logging-2-7ie4uyl3.log' mode='ab' closefd=True>:\nTraceback (most recent call last):\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/unittest/case.py\", line 690, in run\n    with outcome.testPartExecutor(self):\n         ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^\nResourceWarning: unclosed file \u003c_io.TextIOWrapper name='/tmp/test_python_fytgriaa/test_logging-2-7ie4uyl3.log' mode='a' encoding='utf-8'>\ntest_rollover_delayed_dst (test.test_logging.TimedRotatingFileHandlerTest.test_rollover_delayed_dst) ... \n  test_rollover_delayed_dst (test.test_logging.TimedRotatingFileHandlerTest.test_rollover_delayed_dst) (when='W6', atTime=None, utc=False) ... FAIL\n\n======================================================================\nFAIL: test_compute_rollover_W6_local (test.est_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W6_local)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/support/__init__.py\", line 1256, in inner\n    return func(*args, **kwds)\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_logging.py\", line 7382, in test_compute_rollover_W6_local\n    test(DT(2012, 3, 4, 23, 59, 59), DT(2012, 3, 5, 0, 0))\n    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_logging.py\", line 7377, in test\n    self.assertEqual(diff, 0, datetime.timedelta(seconds=diff))\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 172800.0 != 0 : 2 days, 0:00:00\n\n======================================================================\nFAIL: test_compute_rollover_W6_local_interval (test.test_logging.TimedRotatingFileHandlerTest.test_compute_rollover_W6_local_interval)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/support/__init__.py\", line 1256, in inner\n    return func(*args, **kwds)\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_logging.py\", line 7559, in test_compute_rollover_W6_local_interval\n    test(DT(2012, 2, 19, 23, 59, 59), DT(2012, 3, 5, 0, 0))\n    ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_logging.py\", line 7554, in test\n    self.assertEqual(diff, 0, datetime.timedelta(seconds=diff))\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 172800.0 != 0 : 2 days, 0:00:00\n\n======================================================================\nFAIL: test_rollover_delayed_dst (test.test_logging.TimedRotatingFileHandlerTest.test_rollover_delayed_dst) (when='W6', atTime=None, utc=False)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_logging.py\", line 6797, in test_rollover_delayed_dst\n    self.assert_rollover_contents(\n    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n        when, timestamps, expected, atTime=at_time, utc=utc)\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/home/buildbot/buildarea/3.x.opsec-fbsd16/build/Lib/test/test_logging.py\", line 6746, in assert_rollover_contents\n    self.assertEqual(actual, expected)\n    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^\nAssertionError: {'': ['1', '2'], '.2026-10-21': ['0']} != {'.2026-10-19': ['0'], '.2026-10-26': ['1'], '': ['2']}\n- {'': ['1', '2'], '.2026-10-21': ['0']}\n+ {'': ['2'], '.2026-10-19': ['0'], '.2026-10-26': ['1']}\n\n----------------------------------------------------------------------\nRan 3 tests in 0.083s\n\nFAILED (failures=3)\ntest test_logging failed\n1 test failed again:\n    test_logging\n```\n\nIt seems like the FreeBSD 16 was upgraded in build 1300.\n\nSignificant differences on test.pythoninfo between build 1298 (success) and build 1300 (fail):\n\n```diff\n-lzma.LZMA_VERSION: 5.8.3\n-lzma.lzma_version: 5.8.3\n+lzma.LZMA_VERSION: 5.8.4\n+lzma.lzma_version: 5.8.4\n\n-os.uname: os.uname_result(sysname='FreeBSD', nodename='py16bb.opsec.eu', release='16.0-CURRENT', version='FreeBSD 16.0-CURRENT main-n287972-4c03feacd171 GENERIC', machine='amd64')\n+os.uname: os.uname_result(sysname='FreeBSD', nodename='py16bb.opsec.eu', release='16.0-CURRENT', version='FreeBSD 16.0-CURRENT main-n291503-2cc3f14701c9 GENERIC', machine='amd64')\n\n resource.RLIMIT_KQUEUES: (9223372036854775807, 9223372036854775807)\n-resource.RLIMIT_MEMLOCK: (65536, 65536)\n+resource.RLIMIT_MEMLOCK: (262144, 262144)\n\n-ssl.OPENSSL_API_VERSION_INFO: ssl.OPENSSL_VERSION_INFO(major=3, minor=5, fix=0, patch=7, status=0)\n-ssl.OPENSSL_VERSION: OpenSSL 3.5.7 9 Jun 2026\n-ssl.OPENSSL_VERSION_INFO: ssl.OPENSSL_VERSION_INFO(major=3, minor=5, fix=0, patch=7, status=0)\n+ssl.OPENSSL_API_VERSION_INFO: ssl.OPENSSL_VERSION_INFO(major=3, minor=5, fix=0, patch=9, status=0)\n+ssl.OPENSSL_VERSION: OpenSSL 3.5.9 29 Sep 2026\n+ssl.OPENSSL_VERSION_INFO: ssl.OPENSSL_VERSION_INFO(major=3, minor=5, fix=0, patch=9, status=0)\n\n-system.uptime: 16 days, 21:42:12\n+system.uptime: 0:06:58\n\n-zlib.ZLIB_VERSION: 1.3.2\n-zlib.zlib_version: 1.3.2\n+zlib.ZLIB_VERSION: 1.4\n+zlib.zlib_version: 1.4\n```\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-11-23T23:37:55Z","url":"https://github.com/python/cpython/issues/162515"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dbbbc0f6-6de7-e1fd-42d7-dfded2acf179
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCE74:1188C0:F75100:148EEC5:6B064C0D
html-safe-nonced8b70383c41c16d3f07f562e8db7786f22254883166d716122f1c215caff931a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTc0OjExODhDMDpGNzUxMDA6MTQ4RUVDNTo2QjA2NEMwRCIsInZpc2l0b3JfaWQiOiI4ODA3NzQ1NTM2NTY1NTk1MTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca207c282241ddaf4e58cc944ecdc7b01547b474325a6245abb5dce5335462fed
hovercard-subject-tagissue:6571128936
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/162515/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4c6f9076e41ea47269ac571f4aeec3644d64764ff63e8714a3810a1a82f1bea7/python/cpython/issues/162515
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4c6f9076e41ea47269ac571f4aeec3644d64764ff63e8714a3810a1a82f1bea7/python/cpython/issues/162515
og:image:altBug report First failing build: https://buildbot.python.org/#/builders/1857/builds/1300 0:14:45 load avg: 2.62 mem: 91.0 MiB [1/1/1] test_logging failed (3 failures) Re-running test_logging in verb...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None772b6997ca4daa0428dd49a25d76052e765555ae560fe9c88517eb828bbd861e
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef1f9a08f7c769a37f1dfc18ad43d463c222a7eea
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/162515#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F162515
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F162515
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/162515
Reloadhttps://github.com/python/cpython/issues/162515
Reloadhttps://github.com/python/cpython/issues/162515
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/162515
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/162515
test_logging: rollover tests fail on FreeBSD16https://github.com/python/cpython/issues/162515#top
OS-freebsdhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-freebsd%22
testshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bughttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Nov 23, 2026https://github.com/python/cpython/issues/162515#issue-6571128936
https://buildbot.python.org/#/builders/1857/builds/1300https://buildbot.python.org/#/builders/1857/builds/1300
vstinnerhttps://github.com/vstinner
type-bughttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
testshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
on Nov 23, 2026https://github.com/python/cpython/issues/162515#event-37070794637
NekoAsakurahttps://github.com/NekoAsakura
OS-freebsdhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-freebsd%22
on Nov 23, 2026https://github.com/python/cpython/issues/162515#event-37072105778
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Nov 24, 2026https://github.com/python/cpython/issues/162515#issuecomment-7117959787
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Nov 24, 2026https://github.com/python/cpython/issues/162515#issuecomment-7118138809
https://www.freshports.org/misc/zoneinfo/https://www.freshports.org/misc/zoneinfo/
https://data.iana.org/time-zones/tzdb/NEWShttps://data.iana.org/time-zones/tzdb/NEWS
@opsechttps://github.com/opsec
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Nov 24, 2026https://github.com/python/cpython/issues/162515#issuecomment-7118217133
fee86fdhttps://github.com/python/cpython/commit/fee86fd9a422612b39e5aabf2571b8fe4abac770
GH-116191https://github.com/python/cpython/pull/116191
457ba33https://github.com/python/cpython/commit/457ba33e96e644b402ea83bd6079af264b192ffb
GH-160564https://github.com/python/cpython/pull/160564
vstinnerhttps://github.com/vstinner
on Nov 24, 2026https://github.com/python/cpython/issues/162515#event-37074759202
aiskhttps://github.com/aisk
Logging issues 🪵https://github.com/orgs/python/projects/15
on Nov 24, 2026https://github.com/python/cpython/issues/162515#event-37088209916
https://github.com/hugovk
hugovkhttps://github.com/hugovk
on Nov 24, 2026https://github.com/python/cpython/issues/162515#issuecomment-7145648741
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300977https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300977
Perl/perl5#25089https://github.com/Perl/perl5/issues/25089
https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/I7KQYKHBNCIC6FW7JMP4LPBPSECDKDE2/https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/I7KQYKHBNCIC6FW7JMP4LPBPSECDKDE2/
https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/O3RZGBKSO5GXBFDZKW2JXO3OQIIGYBF3/https://lists.iana.org/hyperkitty/list/tz@iana.org/thread/O3RZGBKSO5GXBFDZKW2JXO3OQIIGYBF3/
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Nov 25, 2026https://github.com/python/cpython/issues/162515#issuecomment-7148528278
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/162515
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/162515
OS-freebsdhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22OS-freebsd%22
testshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bughttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Logging issues 🪵https://github.com/orgs/python/projects/15
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.