A number of build failures on Windows systems seem to stem from file locking issues.
Working theory: Our test harness assumes that files owned by a process (usually mongod) will be unlocked as soon as the process exits.
Windows guarantees that the OS will unlock files after process termination, but makes no guarantees about they will be unlocked. On a loaded system it may not be immediate.
Test failures we believe are due to our test framework assuming that the files are immediately unlocked on exit:
Buildbot V2.4 Windows 64-bit 2008R2+
Buildbot V2.4 Windows 64-bit
This one different: not a test framework error, but rather a failure within a test.
Buildbot V2.4 Windows 32-bit
- http://buildlogs.mongodb.org/V2.4%20Windows%2032-bit/builds/185/test/replica%20sets/replset1.js "Unclean shutdown detected" when mongod restarted.
- test didn't wait until previous mongod was fully shut down?