Title: gh-129248: Filter out the iOS log prefix from testbed runner output. by freakboy3742 · Pull Request #129252 · python/cpython · GitHub
Open Graph Title: gh-129248: Filter out the iOS log prefix from testbed runner output. by freakboy3742 · Pull Request #129252 · python/cpython
X Title: gh-129248: Filter out the iOS log prefix from testbed runner output. by freakboy3742 · Pull Request #129252 · python/cpython
Description: Modifies the iOS test runner to strip out the log prefix inserted by the Apple system log. iOS test logs are gathered by streaming the Apple System log looking for log items from the test process. These log prefixes look like: 2025-01-17 16:14:29.090 Df iOSTestbed[23987:1fd393b4] (Python) ... 2025-01-17 16:14:29.090 E iOSTestbed[23987:1fd393b4] (Python) ... The existence of these prefixes was preventing the buildbots from parsing log output to discover test failures. Since the prefix doesn't actually help diagnose issues with the Python test suite, this PR strips out the prefix. This matches what the Android test runner does with ADB log prefixes. It doesn't strip the prefix from the iOS setup/teardown code (the ObjC code that instantiates the XUnit test case, which might be helpful in a diagnostic context, but won't interfere with the Python operation The acid test for this fix is a test failing and being correctly parsed by the buildbot; that's a little difficult to manufacture, though. For review purposes, you can inspect the test log for the buildbot to see that it matches the test output from other platforms; at which point the buildbot log parser should work as it does on any other platform. Fixes #129248. Issue: gh-129248
Open Graph Description: Modifies the iOS test runner to strip out the log prefix inserted by the Apple system log. iOS test logs are gathered by streaming the Apple System log looking for log items from the test process. ...
X Description: Modifies the iOS test runner to strip out the log prefix inserted by the Apple system log. iOS test logs are gathered by streaming the Apple System log looking for log items from the test process. ...
Opengraph URL: https://github.com/python/cpython/pull/129252
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:49b54b61-890b-87c4-f9b7-46951168f8ff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BEE4:1672C1:12FD82C:18C77C4:696B174F |
| html-safe-nonce | 85c702a85e9fbff5575d261cb73f7961c662593eef6bd0dd5db930e70ad1c85d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRUU0OjE2NzJDMToxMkZEODJDOjE4Qzc3QzQ6Njk2QjE3NEYiLCJ2aXNpdG9yX2lkIjoiMjc5NjI3NzMyNDk4ODQ4NzUwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2beba2bb65bbb121ad7ab298cf993f7178f3b1d7b3275f18cef43ad670657156 |
| hovercard-subject-tag | pull_request:2296125274 |
| 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/129252/files |
| twitter:image | https://avatars.githubusercontent.com/u/37345?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/37345?s=400&v=4 |
| og:image:alt | Modifies the iOS test runner to strip out the log prefix inserted by the Apple system log. iOS test logs are gathered by streaming the Apple System log looking for log items from the test process. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width