Commit Graph

45 Commits

Author SHA1 Message Date
Shuduo Sang 2d02ee85a8 merge with develop branch. 2020-07-08 18:26:59 +08:00
Steven Li f0bbd1d32e Allow crash_gen tool to tolerate 0x5 and 0x510 error codes 2020-07-08 08:49:51 +00:00
Shuduo Sang c63f85505d refactor pathfinding in crash_gen.py 2020-07-08 16:31:47 +08:00
Steven Li 095d5a68bf Added the -a option to crash_gen tool to automatically start/stop TDengine service 2020-07-08 08:27:59 +00:00
Steven Li 4360096654 Now crash_gen is able to manage the start/stop/restart of taosd 2020-07-08 06:42:37 +00:00
Shuduo Sang f9c9684b38 add crash_gen to CI
[TD-862]
2020-07-08 10:42:48 +08:00
Steven Li 5686d65bac Added return code to crash_gen tool 2020-07-06 05:10:32 +00:00
Steven Li 5c2b0097a7 Minor tweak of crash_gen tool 2020-07-06 03:33:11 +00:00
Steven Li a519389d38 Now supporting CTRL-C abort in Crash_Gen, plus tracking top numbers 2020-07-03 00:28:26 -07:00
Steven Li 88ac7bb6df Added -c option to Crash_Gen, enabling REST, but encountered error 2020-07-01 22:33:52 -07:00
Steven Li d796aaaa01 Corrected TAOS client error detection 2020-06-30 21:39:53 -07:00
Steven Li 4b4c090557 Tweaked abort message in Crash_Gen tool 2020-06-29 23:02:05 -07:00
Steven Li 30f5a202f9 Corrected connection-shared-by-thread flag in Crash_Gen 2020-06-29 20:05:31 -07:00
Steven Li 6cb97b3730 Discovered Python client problem, ready to file JIRA 2020-06-28 21:22:21 -07:00
Steven Li fcbe6c154d Adjusted crash_gen to examine returned error codes 2020-06-27 21:10:15 -07:00
Steven Li 1be46ac76f Now able to run without parameter, also refactored to run service binary 2020-06-26 21:18:34 -07:00
Steven Li 23ed5e24b0 Refactored crash_gen, extracted logic to create StateMachine class 2020-06-25 22:17:18 -07:00
Steven Li 5f979568e1 Refactored and cleaned up crash_gen tool, ready to add sub-state transitions 2020-06-24 21:59:13 -07:00
Steven Li 815cb83904 Added -r option for crash_gen.sh, recording data opersions, for power-off tests 2020-06-12 23:56:53 -07:00
Steven Li 7dd6e6a442 removed a check condition from crash_gen 2020-06-11 18:50:49 -07:00
Steven Li c6b71abc46 Minor tweak of crash_gen script 2020-06-10 00:11:50 -07:00
Steven Li 511953665d Removed crash_gen check conditions not suited for larger (10-thread) parallel processing tests 2020-06-09 23:40:10 -07:00
Steven Li ac1fb970d5 Added overlaping data insertion, plus occasional db connection drops 2020-06-09 21:30:23 -07:00
Steven Li 2e2a3f10e1 Added the -l option to crash_gen tool, writing larger amount of data 2020-06-08 23:58:09 -07:00
Steven Li 5580212d04 Added errno to Python client, plus minor tweaks 2020-06-08 17:37:31 -07:00
Steven Li a6e2ef7b46 Changed TICKS generation, added debugging code to improve coverage 2020-05-31 23:59:08 -07:00
Steven Li 2e2053f306 Added a temp hack to increase test coverage 2020-05-31 21:50:41 -07:00
Steven Li 580560313c Adjusted verification for larger number of parallel tasks 2020-05-30 23:41:29 -07:00
Steven Li 467ca437bb Found invalid pointer access with -t 2 -s 5 2020-05-29 15:48:11 -07:00
Steven Li 404797b5b4 Re-created TD-437 2020-05-28 15:09:45 -07:00
Steven Li c0a5f61f78 Found server crash bug TD-437 2020-05-27 16:08:21 -07:00
Steven Li 806a9ae55c Commit to replicate TD-430 2020-05-26 19:39:41 -07:00
Steven Li 5bf9e79871 Switched to actual detection of states, discovered major metadata handling flaw, and is now blocked 2020-05-26 01:47:15 -07:00
Steven Li 5b4e7a6d54 refactoring, added exec stats, re-orged task/state relationships 2020-05-24 15:15:05 -07:00
Steven Li 2416465519 fixed a few bugs in state transition checks 2020-05-24 00:47:58 -07:00
Steven Li a72218378f Dicovered unpected database operation result, with ./crash_gen.sh -p -s 100 -t 3 -d 2020-05-19 00:44:14 -07:00
Steven Li e1ee02e326 Ready to merge crash_gen into develop branch 2020-05-18 17:43:37 -07:00
Steven Li dcb1155481 Discovered TD-256 with params: -p -d -t 10 -s 20 2020-05-08 17:40:43 -07:00
Steven Li 6623cb6395 Discovered TD-255 crash with params: -p -s 50 -t 10 2020-05-08 16:46:34 -07:00
Steven Li a3671929fb successfully discovered TD-250 crash bug, with params: -p -d -s 3 -t 3 2020-05-08 00:36:00 -07:00
Steven Li f08e9b082d now able to fan out conflicting tasks, and detect incorrect results 2020-05-05 00:20:29 -07:00
Steven Li 5d14a74528 Refactored to use ThreadCoordinator and TaskExecutor, added command line parameters 2020-05-04 22:23:27 -07:00
Steven Li cc93971b67 Fixed a barrier problem, now main/worker thread sync correctly 2020-05-03 19:08:03 -07:00
Steven Li 2d76c46756 Added per-thread-db-connection option, after getting Python argparse 2020-05-03 17:28:18 -07:00
Steven Li 8c64960e4c Minor adjustments before sharing with Jeff 2020-05-01 00:01:34 -07:00