[tests] Add manifest timestamp checks to WindowsTest.#25093
Conversation
There are random test failures in this test: > Remote .NET tests/Xamarin.Tests.WindowsTest.BundleStructureWithRemoteMac(iOS,"ios-arm64",All,"Debug"): Failed: The target '_CompileAppManifest' was unexpectedly executed (_CompileAppManifest Rebuild 1) Add more asserts to this test to try to track down what's happening. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds additional assertions to the Windows remote build BundleStructureWithRemoteMac test to help diagnose sporadic _CompileAppManifest incrementality failures by tracking manifest-related file state across rebuilds.
Changes:
- Introduce helpers to snapshot a file’s last-write timestamp (UTC) and contents, and assert they remain unchanged.
- Capture initial state for
AppManifest.plist,_CompileAppManifest.inputs, andshared-dotnet.plist, with a couple of sanity checks on initial build. - Assert those files remain unchanged across three subsequent rebuilds (after touching code, deleting
bin, and a no-op rebuild).
✅ [CI Build #4867e79] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #4867e79] Build passed (Detect API changes) ✅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 |
✅ [CI Build #4867e79] Build passed (Build macOS tests) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build #4867e79] Test results 🚀Test results✅ All tests passed on VSTS: test results. 🎉 All 156 tests passed 🎉 Tests counts✅ cecil: All 1 tests passed. [attempt 2] Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
There are random test failures in this test:
Add more asserts to this test to try to track down what's happening.