[tests] Capture 'log stream' output during macOS test execution#25956
Conversation
Start 'log stream --style compact' at the beginning of test execution and stop it at the end. The output is written to the crash reports directory as system.log.zip (compressed because it can be large), so it gets uploaded together with crash reports and other test artifacts. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Pull request overview
Adds system log capture to the packaged macOS test runner so CI artifacts include a compressed log stream output alongside crash reports, helping diagnose intermittent/macOS-environment issues during test execution.
Changes:
- Start
/usr/bin/log stream --style compactat the beginning of the run and write output tocrashReportsDir/system.log. - Stop
log streamat the end of the run and compress the captured log tosystem.log.zip.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #3d69855] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [PR Build #3d69855] Build passed (Build macOS tests) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [PR Build #3d69855] Build passed (Build packages) ✅Pipeline on Agent |
🚀 [CI Build #3d69855] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 199 tests passed 🎉 Tests counts✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Start 'log stream --style compact' at the beginning of test execution and
stop it at the end. The output is written to the crash reports directory
as system.log.zip (compressed because it can be large), so it gets uploaded
together with crash reports and other test artifacts.
🤖 Pull request created by Copilot