Title: bpo-31904: Fix test_os failures for VxWorks RTOS by yuesun1 · Pull Request #12319 · python/cpython · GitHub
Open Graph Title: bpo-31904: Fix test_os failures for VxWorks RTOS by yuesun1 · Pull Request #12319 · python/cpython
X Title: bpo-31904: Fix test_os failures for VxWorks RTOS by yuesun1 · Pull Request #12319 · python/cpython
Description: This is the successive PR after #11968 and #12118. The resource.setrlimit() can't set NOFILE to 1 on VxWorks, we can only track the highest fd value in use, and only permit lowering NOFILE up to that value, so in testcase 'test_urandom_failure' I have to keep opening '/dev/null' until reporting errno EMFILE to make sure the fd table is full already and we can't open any more file. And the VxWorks doesn't support execv like functions, so I skipped them. More and full support on modules for VxWorks will continuously be added by the coming PRs. VxWorks is a product developed and owned by Wind River. For VxWorks introduction or more details, go to https://www.windriver.com/products/vxworks/ Wind River will have a dedicated engineering team to contribute to the support as maintainers. We already have a working buildbot worker internally, but has not bound to master. We will check the process for the buildbot, then add it. https://bugs.python.org/issue31904
Open Graph Description: This is the successive PR after #11968 and #12118. The resource.setrlimit() can't set NOFILE to 1 on VxWorks, we can only track the highest fd value in use, and only permit lowering NOFILE up t...
X Description: This is the successive PR after #11968 and #12118. The resource.setrlimit() can't set NOFILE to 1 on VxWorks, we can only track the highest fd value in use, and only permit lowering NOFILE ...
Opengraph URL: https://github.com/python/cpython/pull/12319
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7df199be-b0a1-1e0c-ad25-3e6fd94ecd91 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B0CE:1BB425:3CC616:513EA9:6A52F0DC |
| html-safe-nonce | 5c6a0bfd7999bb4485adf59bf4d0291a1e024ed53ec75c0d9f568edf35cd2249 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMENFOjFCQjQyNTozQ0M2MTY6NTEzRUE5OjZBNTJGMERDIiwidmlzaXRvcl9pZCI6IjMyNDE5NTg4NTI4Nzk2NDI4NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 155278c7ef93b952c90dd835ce12306b526f1ed780aea68dbf7fb8cc78641eb4 |
| hovercard-subject-tag | pull_request:261055658 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/12319/files |
| twitter:image | https://avatars.githubusercontent.com/u/44597078?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/44597078?s=400&v=4 |
| og:image:alt | This is the successive PR after #11968 and #12118. The resource.setrlimit() can't set NOFILE to 1 on VxWorks, we can only track the highest fd value in use, and only permit lowering NOFILE up t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width