================================================================================ PROJECT 1: LRU-K REPLACER, DISK SCHEDULER & BUFFER POOL MANAGER CTest & GTest Verbose Execution Log Timestamp: Sun Nov 1 10:10:18 UTC 2026 ================================================================================ >>> Running CTest for P1 Targets: UpdateCTestConfiguration from :/mnt/c/Users/nares/Workspace/bustub/build/DartConfiguration.tcl Test project /mnt/c/Users/nares/Workspace/bustub/build Constructing a list of tests Done constructing a list of tests Updating test list for fixtures Added 0 tests to meet fixture requirements Checking test dependency graph... Checking test dependency graph end test 5 Start 5: BufferPoolManagerTest.VeryBasicTest 5: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.VeryBasicTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 5: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 5: Test timeout computed to be: 120 5: Running main() from gmock_main.cc 5: Note: Google Test filter = BufferPoolManagerTest.VeryBasicTest 5: [==========] Running 1 test from 1 test suite. 5: [----------] Global test environment set-up. 5: [----------] 1 test from BufferPoolManagerTest 5: [ RUN ] BufferPoolManagerTest.VeryBasicTest 5: [ OK ] BufferPoolManagerTest.VeryBasicTest (18 ms) 5: [----------] 1 test from BufferPoolManagerTest (19 ms total) 5: 5: [----------] Global test environment tear-down 5: [==========] 1 test from 1 test suite ran. (20 ms total) 5: [ PASSED ] 1 test. 1/11 Test #5: BufferPoolManagerTest.VeryBasicTest ........... Passed 0.11 sec test 6 Start 6: BufferPoolManagerTest.PagePinEasyTest 6: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.PagePinEasyTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 6: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 6: Test timeout computed to be: 120 6: Running main() from gmock_main.cc 6: Note: Google Test filter = BufferPoolManagerTest.PagePinEasyTest 6: [==========] Running 1 test from 1 test suite. 6: [----------] Global test environment set-up. 6: [----------] 1 test from BufferPoolManagerTest 6: [ RUN ] BufferPoolManagerTest.PagePinEasyTest 6: [ OK ] BufferPoolManagerTest.PagePinEasyTest (20 ms) 6: [----------] 1 test from BufferPoolManagerTest (21 ms total) 6: 6: [----------] Global test environment tear-down 6: [==========] 1 test from 1 test suite ran. (21 ms total) 6: [ PASSED ] 1 test. 2/11 Test #6: BufferPoolManagerTest.PagePinEasyTest ......... Passed 0.07 sec test 7 Start 7: BufferPoolManagerTest.PagePinMediumTest 7: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.PagePinMediumTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 7: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 7: Test timeout computed to be: 120 7: Running main() from gmock_main.cc 7: Note: Google Test filter = BufferPoolManagerTest.PagePinMediumTest 7: [==========] Running 1 test from 1 test suite. 7: [----------] Global test environment set-up. 7: [----------] 1 test from BufferPoolManagerTest 7: [ RUN ] BufferPoolManagerTest.PagePinMediumTest 7: [ OK ] BufferPoolManagerTest.PagePinMediumTest (39 ms) 7: [----------] 1 test from BufferPoolManagerTest (39 ms total) 7: 7: [----------] Global test environment tear-down 7: [==========] 1 test from 1 test suite ran. (40 ms total) 7: [ PASSED ] 1 test. 3/11 Test #7: BufferPoolManagerTest.PagePinMediumTest ....... Passed 0.09 sec test 8 Start 8: BufferPoolManagerTest.PageAccessTest 8: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.PageAccessTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 8: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 8: Test timeout computed to be: 120 8: Running main() from gmock_main.cc 8: Note: Google Test filter = BufferPoolManagerTest.PageAccessTest 8: [==========] Running 1 test from 1 test suite. 8: [----------] Global test environment set-up. 8: [----------] 1 test from BufferPoolManagerTest 8: [ RUN ] BufferPoolManagerTest.PageAccessTest 8: [ OK ] BufferPoolManagerTest.PageAccessTest (1035 ms) 8: [----------] 1 test from BufferPoolManagerTest (1035 ms total) 8: 8: [----------] Global test environment tear-down 8: [==========] 1 test from 1 test suite ran. (1036 ms total) 8: [ PASSED ] 1 test. 4/11 Test #8: BufferPoolManagerTest.PageAccessTest .......... Passed 1.09 sec test 9 Start 9: BufferPoolManagerTest.ContentionTest 9: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.ContentionTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 9: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 9: Test timeout computed to be: 120 9: Running main() from gmock_main.cc 9: Note: Google Test filter = BufferPoolManagerTest.ContentionTest 9: [==========] Running 1 test from 1 test suite. 9: [----------] Global test environment set-up. 9: [----------] 1 test from BufferPoolManagerTest 9: [ RUN ] BufferPoolManagerTest.ContentionTest 9: [ OK ] BufferPoolManagerTest.ContentionTest (4260 ms) 9: [----------] 1 test from BufferPoolManagerTest (4261 ms total) 9: 9: [----------] Global test environment tear-down 9: [==========] 1 test from 1 test suite ran. (4261 ms total) 9: [ PASSED ] 1 test. 5/11 Test #9: BufferPoolManagerTest.ContentionTest .......... Passed 4.34 sec test 10 Start 10: BufferPoolManagerTest.DeadlockTest 10: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.DeadlockTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 10: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 10: Test timeout computed to be: 120 10: Running main() from gmock_main.cc 10: Note: Google Test filter = BufferPoolManagerTest.DeadlockTest 10: [==========] Running 1 test from 1 test suite. 10: [----------] Global test environment set-up. 10: [----------] 1 test from BufferPoolManagerTest 10: [ RUN ] BufferPoolManagerTest.DeadlockTest 10: [ OK ] BufferPoolManagerTest.DeadlockTest (1018 ms) 10: [----------] 1 test from BufferPoolManagerTest (1020 ms total) 10: 10: [----------] Global test environment tear-down 10: [==========] 1 test from 1 test suite ran. (1020 ms total) 10: [ PASSED ] 1 test. 6/11 Test #10: BufferPoolManagerTest.DeadlockTest ............ Passed 1.08 sec test 11 Start 11: BufferPoolManagerTest.EvictableTest 11: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test "--gtest_filter=BufferPoolManagerTest.EvictableTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/buffer_pool_manager_test.xml" "--gtest_catch_exceptions=0" 11: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 11: Test timeout computed to be: 120 11: Running main() from gmock_main.cc 11: Note: Google Test filter = BufferPoolManagerTest.EvictableTest 11: [==========] Running 1 test from 1 test suite. 11: [----------] Global test environment set-up. 11: [----------] 1 test from BufferPoolManagerTest 11: [ RUN ] BufferPoolManagerTest.EvictableTest 11: [ OK ] BufferPoolManagerTest.EvictableTest (6153 ms) 11: [----------] 1 test from BufferPoolManagerTest (6154 ms total) 11: 11: [----------] Global test environment tear-down 11: [==========] 1 test from 1 test suite ran. (6154 ms total) 11: [ PASSED ] 1 test. 7/11 Test #11: BufferPoolManagerTest.EvictableTest ........... Passed 6.26 sec test 13 Start 13: LRUKReplacerTest.SampleTest 13: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/lru_k_replacer_test "--gtest_filter=LRUKReplacerTest.SampleTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/lru_k_replacer_test.xml" "--gtest_catch_exceptions=0" 13: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 13: Test timeout computed to be: 120 13: Running main() from gmock_main.cc 13: Note: Google Test filter = LRUKReplacerTest.SampleTest 13: [==========] Running 1 test from 1 test suite. 13: [----------] Global test environment set-up. 13: [----------] 1 test from LRUKReplacerTest 13: [ RUN ] LRUKReplacerTest.SampleTest 13: [ OK ] LRUKReplacerTest.SampleTest (0 ms) 13: [----------] 1 test from LRUKReplacerTest (2 ms total) 13: 13: [----------] Global test environment tear-down 13: [==========] 1 test from 1 test suite ran. (2 ms total) 13: [ PASSED ] 1 test. 8/11 Test #13: LRUKReplacerTest.SampleTest ................... Passed 0.13 sec test 14 Start 14: LRUKReplacerTest.RemoveTest 14: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/lru_k_replacer_test "--gtest_filter=LRUKReplacerTest.RemoveTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/lru_k_replacer_test.xml" "--gtest_catch_exceptions=0" 14: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 14: Test timeout computed to be: 120 14: Running main() from gmock_main.cc 14: Note: Google Test filter = LRUKReplacerTest.RemoveTest 14: [==========] Running 1 test from 1 test suite. 14: [----------] Global test environment set-up. 14: [----------] 1 test from LRUKReplacerTest 14: [ RUN ] LRUKReplacerTest.RemoveTest 14: [ OK ] LRUKReplacerTest.RemoveTest (0 ms) 14: [----------] 1 test from LRUKReplacerTest (0 ms total) 14: 14: [----------] Global test environment tear-down 14: [==========] 1 test from 1 test suite ran. (0 ms total) 14: [ PASSED ] 1 test. 9/11 Test #14: LRUKReplacerTest.RemoveTest ................... Passed 0.06 sec test 15 Start 15: LRUKReplacerTest.ConcurrencyTest 15: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/lru_k_replacer_test "--gtest_filter=LRUKReplacerTest.ConcurrencyTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/lru_k_replacer_test.xml" "--gtest_catch_exceptions=0" 15: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 15: Test timeout computed to be: 120 15: Running main() from gmock_main.cc 15: Note: Google Test filter = LRUKReplacerTest.ConcurrencyTest 15: [==========] Running 1 test from 1 test suite. 15: [----------] Global test environment set-up. 15: [----------] 1 test from LRUKReplacerTest 15: [ RUN ] LRUKReplacerTest.ConcurrencyTest 15: [ OK ] LRUKReplacerTest.ConcurrencyTest (55 ms) 15: [----------] 1 test from LRUKReplacerTest (56 ms total) 15: 15: [----------] Global test environment tear-down 15: [==========] 1 test from 1 test suite ran. (56 ms total) 15: [ PASSED ] 1 test. 10/11 Test #15: LRUKReplacerTest.ConcurrencyTest .............. Passed 0.12 sec test 60 Start 60: DiskSchedulerTest.ScheduleWriteReadPageTest 60: Test command: /mnt/c/Users/nares/Workspace/bustub/build/test/disk_scheduler_test "--gtest_filter=DiskSchedulerTest.ScheduleWriteReadPageTest" "--gtest_also_run_disabled_tests" "--gtest_output=xml:/mnt/c/Users/nares/Workspace/bustub/build/test/disk_scheduler_test.xml" "--gtest_catch_exceptions=0" 60: Working Directory: /mnt/c/Users/nares/Workspace/bustub/build/test 60: Test timeout computed to be: 120 60: Running main() from gmock_main.cc 60: Note: Google Test filter = DiskSchedulerTest.ScheduleWriteReadPageTest 60: [==========] Running 1 test from 1 test suite. 60: [----------] Global test environment set-up. 60: [----------] 1 test from DiskSchedulerTest 60: [ RUN ] DiskSchedulerTest.ScheduleWriteReadPageTest 60: [ OK ] DiskSchedulerTest.ScheduleWriteReadPageTest (3 ms) 60: [----------] 1 test from DiskSchedulerTest (3 ms total) 60: 60: [----------] Global test environment tear-down 60: [==========] 1 test from 1 test suite ran. (4 ms total) 60: [ PASSED ] 1 test. 11/11 Test #60: DiskSchedulerTest.ScheduleWriteReadPageTest ... Passed 0.07 sec The following tests passed: BufferPoolManagerTest.VeryBasicTest BufferPoolManagerTest.PagePinEasyTest BufferPoolManagerTest.PagePinMediumTest BufferPoolManagerTest.PageAccessTest BufferPoolManagerTest.ContentionTest BufferPoolManagerTest.DeadlockTest BufferPoolManagerTest.EvictableTest LRUKReplacerTest.SampleTest LRUKReplacerTest.RemoveTest LRUKReplacerTest.ConcurrencyTest DiskSchedulerTest.ScheduleWriteReadPageTest 100% tests passed, 0 tests failed out of 11 Total Test time (real) = 14.65 sec >>> Direct Binary Execution: Running main() from gmock_main.cc [==========] Running 3 tests from 1 test suite. [----------] Global test environment set-up. [----------] 3 tests from LRUKReplacerTest [ RUN ] LRUKReplacerTest.SampleTest [ OK ] LRUKReplacerTest.SampleTest (0 ms) [ RUN ] LRUKReplacerTest.RemoveTest [ OK ] LRUKReplacerTest.RemoveTest (0 ms) [ RUN ] LRUKReplacerTest.ConcurrencyTest [ OK ] LRUKReplacerTest.ConcurrencyTest (33 ms) [----------] 3 tests from LRUKReplacerTest (36 ms total) [----------] Global test environment tear-down [==========] 3 tests from 1 test suite ran. (38 ms total) [ PASSED ] 3 tests. Running main() from gmock_main.cc [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from DiskSchedulerTest [ RUN ] DiskSchedulerTest.ScheduleWriteReadPageTest [ OK ] DiskSchedulerTest.ScheduleWriteReadPageTest (2 ms) [----------] 1 test from DiskSchedulerTest (3 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (9 ms total) [ PASSED ] 1 test. Running main() from gmock_main.cc [==========] Running 7 tests from 1 test suite. [----------] Global test environment set-up. [----------] 7 tests from BufferPoolManagerTest [ RUN ] BufferPoolManagerTest.VeryBasicTest [ OK ] BufferPoolManagerTest.VeryBasicTest (11 ms) [ RUN ] BufferPoolManagerTest.PagePinEasyTest [ OK ] BufferPoolManagerTest.PagePinEasyTest (15 ms) [ RUN ] BufferPoolManagerTest.PagePinMediumTest [ OK ] BufferPoolManagerTest.PagePinMediumTest (39 ms) [ RUN ] BufferPoolManagerTest.PageAccessTest [ OK ] BufferPoolManagerTest.PageAccessTest (1044 ms) [ RUN ] BufferPoolManagerTest.ContentionTest [ OK ] BufferPoolManagerTest.ContentionTest (4920 ms) [ RUN ] BufferPoolManagerTest.DeadlockTest [ OK ] BufferPoolManagerTest.DeadlockTest (1011 ms) [ RUN ] BufferPoolManagerTest.EvictableTest [ OK ] BufferPoolManagerTest.EvictableTest (6161 ms) [----------] 7 tests from BufferPoolManagerTest (13208 ms total) [----------] Global test environment tear-down [==========] 7 tests from 1 test suite ran. (13210 ms total) [ PASSED ] 7 tests.