Title: Multiple tests fail due to expired certificates if system date is set further than year 2037ish · Issue #107562 · python/cpython · GitHub
Open Graph Title: Multiple tests fail due to expired certificates if system date is set further than year 2037ish · Issue #107562 · python/cpython
X Title: Multiple tests fail due to expired certificates if system date is set further than year 2037ish · Issue #107562 · python/cpython
Description: To test the readiness of Yocto stack for Y2038 we run qemu virtual machines with RTC set to some day in 2040. This causes many of python's tests to fail on both 32 bit and 64 bit systems: the reason is that test certificate expiry dates ...
Open Graph Description: To test the readiness of Yocto stack for Y2038 we run qemu virtual machines with RTC set to some day in 2040. This causes many of python's tests to fail on both 32 bit and 64 bit systems: the reaso...
X Description: To test the readiness of Yocto stack for Y2038 we run qemu virtual machines with RTC set to some day in 2040. This causes many of python's tests to fail on both 32 bit and 64 bit systems: the r...
Opengraph URL: https://github.com/python/cpython/issues/107562
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiple tests fail due to expired certificates if system date is set further than year 2037ish","articleBody":"To test the readiness of Yocto stack for Y2038 we run qemu virtual machines with RTC set to some day in 2040. This causes many of python's tests to fail on both 32 bit and 64 bit systems: the reason is that test certificate expiry dates are set to 2037 or so by Lib/test/make_ssl_certs.py:\r\n\r\n```\r\nstartdate = \"20180829142316Z\"\r\nenddate = \"20371028142316Z\"\r\n```\r\n\r\nI would propose to set the expiry date to far enough in the future that it won't have to be tweaked in our lifetimes: this way real Y2038 issues in python (or in things it depends on) can be exposed and fixed (it's well possible there are none, but that needs confirmation too).\r\n\r\nFailures seen:\r\n\r\n6 tests failed:\r\n test_asyncio test_httplib test_imaplib test_poplib test_ssl\r\n test_urllib2_localnet\r\n\r\nIf there's agreement on this, I can prepare the patch.\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-107594\n* gh-125104\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/kanavin","@type":"Person","name":"kanavin"},"datePublished":"2023-08-02T12:32:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/107562/cpython/issues/107562"}
| 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:223ea3e8-fe81-6445-bbd7-ba9d425d5f77 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C6E:21279A:75F17:9560A:696AFBD8 |
| html-safe-nonce | e7f37176effa81f77fed0ca3e2368a98856a8ef52a821ba379cf2a1d25c8781e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzZFOjIxMjc5QTo3NUYxNzo5NTYwQTo2OTZBRkJEOCIsInZpc2l0b3JfaWQiOiI4NjIxOTIyOTY0NzI4MzgwMzc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f21c205d3fe7cd3e3459d84caad24952252f41778d7223d2f80247270a5b7979 |
| hovercard-subject-tag | issue:1833096607 |
| 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/107562/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c31073f8606b109e22368675fb6452a27f479cb277d2f363ab6ca18a2700226/python/cpython/issues/107562 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c31073f8606b109e22368675fb6452a27f479cb277d2f363ab6ca18a2700226/python/cpython/issues/107562 |
| og:image:alt | To test the readiness of Yocto stack for Y2038 we run qemu virtual machines with RTC set to some day in 2040. This causes many of python's tests to fail on both 32 bit and 64 bit systems: the reaso... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kanavin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width