Commit Graph

  • a5e4d19200
    feat: prep for AST1 master minhtrannhat 2025-03-03 21:04:44 -05:00
  • 6edf0d19dc Bump up progress timeouts for parallelvm swap tests Scott Haseley 2017-03-22 16:36:35 -04:00
  • 65c13fdff1 Splitting ASST3 into multiple subtargets and redistributing points Scott Haseley 2017-03-22 15:02:48 -04:00
  • cf8ca1e416 Make sys_fork a dependency of forkbomb Scott Haseley 2017-03-03 17:12:42 -05:00
  • b0649d1fd0 Better lock tests. Geoffrey Challen 2017-02-20 10:40:49 -05:00
  • 1a5b9cd54b Trying new lock tests. Geoffrey Challen 2017-02-20 10:28:28 -05:00
  • 4c9b617140 New lock tests. Geoffrey Challen 2017-02-20 10:23:19 -05:00
  • dda4c39752 Fix new snsecprintf for secure testing Scott Haseley 2017-02-18 23:53:32 -05:00
  • 675f1e0f91 Split ASST2 into ASST2.1 and ASST2.2 subtargets. Scott Haseley 2017-02-18 23:32:39 -05:00
  • a65ddfdc81 Beefed up consoletest for new ASST2.1. In its former incarnation, there is an easy hack to pass the test. This new version checks a little more of the write() spec and prevents the known exploitation. Scott Haseley 2017-02-18 23:11:29 -05:00
  • dbb57b2826 Added snsecprintf function that writes the secprintf message into the buffer provided. Scott Haseley 2017-02-18 22:58:35 -05:00
  • 4298d0634f alignment Zachary Moore 2017-02-16 18:30:51 -05:00
  • 7f40aaa461 alignment Zachary Moore 2017-02-16 18:30:16 -05:00
  • 2be98d540e Formatted code to align tabs Zachary Moore 2017-02-16 18:18:00 -05:00
  • 434a8856c6 Added more functionality to lock test 4 to also make sure release functions properly zsmoore 2017-02-16 18:15:14 -05:00
  • 694062537d switched string from lt1 to lt4 Zachary Moore 2017-02-16 12:32:34 -05:00
  • b8b57b14a6 Changed spaces to tabs in menu.c Zachary Moore 2017-02-16 12:20:47 -05:00
  • 8eb6dc55df Changed spaces to tabs on synch.c Zachary Moore 2017-02-16 12:19:53 -05:00
  • b51f2a88de added new lock test to check do i hold functionality. tested on incorrect implementation, fails. tested on correct implementation, passed. zsmoore 2017-02-16 01:41:05 -05:00
  • 398e4eb90a Merge branch 'master' of github.com:ops-class/os161 Geoffrey Challen 2017-02-10 15:29:07 -05:00
  • 39516c2f86 Adding misc. commands that test161 didn't know about and tag descriptions Scott Haseley 2017-02-09 13:56:21 -05:00
  • b4f1988799 Merge pull request #1 from ahazybellcord/master Geoffrey Challen 2017-02-09 12:01:16 -05:00
  • 4de65867c5 Disable hangman option by default. Geoffrey Challen 2017-02-09 10:29:35 -05:00
  • a662851491 Initial fix of upstream merge. Geoffrey Challen 2017-02-09 10:09:30 -05:00
  • 15abe49f09 Minor kernel changes. Geoffrey Challen 2017-02-09 09:53:00 -05:00
  • 0f0c5fcfc7 New GDB script. Geoffrey Challen 2017-02-09 09:52:39 -05:00
  • a0ecc1e7e5 Changes to use deadlock detection. Geoffrey Challen 2017-02-09 09:52:18 -05:00
  • 9986e07810 Userland test changes. Geoffrey Challen 2017-02-09 09:51:39 -05:00
  • 4c9b79877e Build system changes. Geoffrey Challen 2017-02-09 09:51:11 -05:00
  • 52d122b854 Minor test changes. Geoffrey Challen 2017-02-09 09:50:07 -05:00
  • e809face5f New debugging commands. Geoffrey Challen 2017-02-09 09:49:42 -05:00
  • 8af1edae0e Hang detection additions. Geoffrey Challen 2017-02-09 09:49:03 -05:00
  • 8435ba6436 New debug options. Geoffrey Challen 2017-02-09 09:48:06 -05:00
  • 5f8b9f7ff4 Low-level stack frame changes. Geoffrey Challen 2017-02-09 09:47:06 -05:00
  • 5f172878dd Updated CHANGELOG. Geoffrey Challen 2017-02-09 09:45:04 -05:00
  • 93cc12e3f2 Merge branch 'upstream' Geoffrey Challen 2017-01-09 22:59:46 -05:00
  • b126279b52 Whitespace fix. Geoffrey Challen 2017-01-09 22:59:41 -05:00
  • 08a300d1a6 Merge in 2.0.2. Geoffrey Challen 2017-01-09 22:58:21 -05:00
  • e318e3171e Revert "Merging in 1.0.2." Geoffrey Challen 2017-01-09 22:52:13 -05:00
  • 50cf3276e7 Merging in 2.0.2. Geoffrey Challen 2017-01-09 22:37:50 -05:00
  • a0406ec181 Changelog reformatting. Geoffrey Challen 2017-01-09 22:32:47 -05:00
  • 160b83330e Changed the stats resolution and monitor windows for the swapping tests. The size of the stats slice (test161) that was being persisted in mongo was > the 16M mongo document limit. Scott Haseley 2016-05-02 15:23:53 -04:00
  • ac901b2a49 triplehuge -> quinthuge Scott Haseley 2016-05-02 12:01:16 -04:00
  • 5d7e9ac785 Changed quintsort swap test timeout to 1100, which is 2x our 90th percentile Scott Haseley 2016-04-29 13:17:43 -04:00
  • 8d456c5e6e Fixed target comment Scott Haseley 2016-04-27 19:31:10 -04:00
  • 026e450680 Preliminary asst3 target Scott Haseley 2016-04-27 19:29:12 -04:00
  • f46f7395a1 New ASST3.3 tests (swapping) Scott Haseley 2016-04-27 18:48:21 -04:00
  • 153c0267b6 Changes to userland progress to tweak progress output for test161. We needed more periodic progress in some cases due to the large slow down that happens when swapping is implemented (ASST3.3). Scott Haseley 2016-04-27 18:46:44 -04:00
  • 4e93e0b105 Forkbomb changes. First, use a local success string and make sure to access it early so a page gets allocated. Second, change the timeout for the vm stability test to 20s. It looks like some students are right up on this boundary. Scott Haseley 2016-04-22 14:54:10 -04:00
  • 4bfe7afef3 Increased the progress timeout to 15s for quinthuge and sbrktest. If your VM takes a long time to clean up when processes exit, the default 10s timeout might be too short. Scott Haseley 2016-04-18 15:19:14 -04:00
  • 4472cbaed0 Bumped up memory configuration for quint tests Scott Haseley 2016-04-15 16:24:03 -04:00
  • e21c37b14f Added a secprintf message to the beginning of forkbomb so it causes page faults and allocates pages that we'll need later to print success. Scott Haseley 2016-04-15 14:13:48 -04:00
  • 105fbc5ddd Add stacktest to testbin Makefile Scott Haseley 2016-04-15 12:09:21 -04:00
  • 0207e6b066 More tests for ASST3.2 Scott Haseley 2016-04-14 17:47:54 -04:00
  • 6d0d7c9230 Fixed unused label in change to kmalloctest Scott Haseley 2016-04-11 17:02:51 -04:00
  • ec1c1de132 km1 and km2 need to panic on failure, not print just print failed. Scott Haseley 2016-04-08 16:04:11 -04:00
  • dc1a1949a6 Fix ctest compile issue Scott Haseley 2016-04-08 15:55:48 -04:00
  • 26b75349bd Add memory leak deductions to asst3.2 Scott Haseley 2016-04-08 15:49:20 -04:00
  • 388e6388a9 Added thread_wait_for_count() which allows the menu to wait for all (new) threads to exit before continuing. We need this for khu testing because we have to make sure cleanup is done before getting the used byte count. Scott Haseley 2016-04-07 14:35:09 -04:00
  • 854931ea44 ASST3 test cleanup; added forkbomb Scott Haseley 2016-04-07 14:10:47 -04:00
  • a56bf008ba Change forkbomb to print progress Scott Haseley 2016-04-07 13:17:23 -04:00
  • 1600e40d22 Initial tests and target for ASST3, checkpoint 2. Scott Haseley 2016-04-07 10:16:33 -04:00
  • 5821a085bf Removed disk configuration, test161 now has a larger default disk. Also, added not-dumbvm tag to not-dumbvm.t. Scott Haseley 2016-04-07 10:14:58 -04:00
  • fedf80f599 Userland changes for test161/assignment 3. Scott Haseley 2016-04-06 13:53:21 -04:00
  • 194f76ef70 The "huge positive" number being tested wasn't big enough. Now using a number that would cause the heap to bleed into the stack. Scott Haseley 2016-04-06 13:33:28 -04:00
  • b488b7dcea Added a test.h file for userland. Scott Haseley 2016-04-06 13:29:48 -04:00
  • 16bfdcf406 Added new line before printing secured messages. For quint/triple tests, the secured message might print on a progress line, which makes test161 fail. Scott Haseley 2016-04-06 13:27:51 -04:00
  • e0fc622e00 Added progress functions that print '.'. There are versions that are always loud or only loud during automated testing. Scott Haseley 2016-04-06 13:26:05 -04:00
  • 76672bd17b whitespace Scott Haseley 2016-03-30 17:16:24 -04:00
  • 177821c2f3 Put asst3 back on the leaderboard Scott Haseley 2016-03-30 17:12:12 -04:00
  • 2873c513d4 Assignment 3 target will now be cumulative instead of split into subparts Scott Haseley 2016-03-30 17:11:41 -04:00
  • eede850f54 The km4 thread was checking the correct magic value, but printing the one on the first page. The test result is correct, but might look like it is failing when it shouldn't. Scott Haseley 2016-03-30 16:09:24 -04:00
  • 78265c6da4 Set leaderboard to false for ASST3 coremap target. We'll work on aggregating multi-part targets, but for now, don't show subparts. Also, explicitly set userland to false. Scott Haseley 2016-03-30 14:58:59 -04:00
  • 7f3f686b1a Updated km4 to write to, and check, each page allocated in the multi-page allocation. This should find cases where students ignore npages and just allocate one page, which would previously work. Scott Haseley 2016-03-28 15:43:39 -04:00
  • afcb45766e Small changes to targets. Geoffrey Challen 2016-03-25 15:33:29 -04:00
  • b4bcf45932 Initial tests, commands, and target for asst3.1 Scott Haseley 2016-03-25 11:13:31 -04:00
  • 8380115efa Added new kmalloc test (km5) that tests various coremap properties. Also, km1-km4 were cleaned up for test161. Scott Haseley 2016-03-25 11:12:09 -04:00
  • 501773f90e Added a global variable for the number of cpus Scott Haseley 2016-03-25 11:11:08 -04:00
  • 25a1d7debc Changed kheap_getused so that it doesn't double-count the pages it's using for subpage allocation. We run into problems in determining memory leaks due to kmalloc framgmentation, which can happen because of delayed thread cleanup. Scott Haseley 2016-03-25 11:09:15 -04:00
  • 922370ebd4 Changed forkbomb to only print one success message Scott Haseley 2016-03-11 14:56:01 -05:00
  • bfa901ed0b Updated forkbomb so only the parent prints success messages Guru Prasad Srinivasa 2016-03-10 19:00:31 -05:00
  • 7a63861e81 Updated forkbomb monitor kernel cycles min value Guru Prasad Srinivasa 2016-03-10 18:45:35 -05:00
  • 03f484ff21 Merge branch 'master' of gitlab.ops-class.org:staff/os161 Guru Prasad Srinivasa 2016-03-10 17:30:37 -05:00
  • c9c9e50155 Updated forkbomb to better detect success Guru Prasad Srinivasa 2016-03-10 17:28:47 -05:00
  • d322a01342 Adding function to get used bytes. Geoffrey Challen 2016-03-10 11:29:38 -05:00
  • 2188853039 Add leak detection to ASST1 tests. Geoffrey Challen 2016-03-10 09:07:44 -05:00
  • 071595b8fb Fixed badcall execv testing logic Guru Prasad Srinivasa 2016-03-09 17:46:47 -05:00
  • 44d53d9306 Fixed a bug in bad_waitpid.c Guru Prasad Srinivasa 2016-03-09 12:44:58 -05:00
  • eb7ad5609d Make forktest fail if waitpid() fails Guru Prasad Srinivasa 2016-03-08 18:53:33 -05:00
  • aa4c87a2fa New ASST2 single submitter target and hard linking fix. Geoffrey Challen 2016-03-08 15:44:02 -05:00
  • 196bb3b684 Now using static buffers (and protecting with a semaphore) for kernel secprintf. We have to do this because we need secure output in kmalloc. Scott Haseley 2016-03-07 15:05:58 -05:00
  • 2cb47cb4c8 Removed all instances of crash_prog() Guru Prasad Srinivasa 2016-03-07 10:55:20 -05:00
  • 0fca14d86c Update ioctl.html Zachary Lebold 2016-03-07 02:30:10 -05:00
  • 2e80500b26 Update getdirentry.html Zachary Lebold 2016-03-07 02:29:08 -05:00
  • 414122655b Update ftruncate.html Zachary Lebold 2016-03-07 02:27:27 -05:00
  • 7b6a0b2ac9 Update fstat.html Zachary Lebold 2016-03-07 02:26:18 -05:00
  • e2c2aa2506 Update dup2.html Zachary Lebold 2016-03-07 02:24:48 -05:00
  • ac3833b17d Update close.html Zachary Lebold 2016-03-07 02:22:11 -05:00
  • a92f77bc80 Update open.html Zachary Lebold 2016-03-07 02:20:20 -05:00
  • ec68d1f1d3 Update lseek.html Zachary Lebold 2016-03-07 02:15:45 -05:00