Megatest

Hex Artifact Content
Login

Artifact c58c262f62cc8efd183ad795bb3942f53cad46dd:

Wiki page [Plans] by matt 2012-02-24 10:52:10.
0000: 44 20 32 30 31 32 2d 30 32 2d 32 34 54 31 37 3a  D 2012-02-24T17:
0010: 35 32 3a 31 30 2e 32 36 32 0a 4c 20 50 6c 61 6e  52:10.262.L Plan
0020: 73 0a 50 20 63 66 36 34 62 66 63 33 30 36 66 65  s.P cf64bfc306fe
0030: 38 63 64 61 65 37 65 39 62 38 31 32 66 38 30 62  8cdae7e9b812f80b
0040: 63 30 63 39 64 62 32 38 63 65 63 34 0a 55 20 6d  c0c9db28cec4.U m
0050: 61 74 74 0a 57 20 32 32 30 35 0a 49 6e 20 6e 6f  att.W 2205.In no
0060: 20 70 61 72 74 69 63 75 6c 61 72 20 6f 72 64 65   particular orde
0070: 72 3a 0d 0a 0d 0a 4d 65 67 61 74 65 73 74 0d 0a  r:....Megatest..
0080: 20 20 2a 20 20 52 65 66 61 63 74 6f 72 2c 20 63    *  Refactor, c
0090: 6f 64 65 20 68 61 73 20 67 6f 74 74 65 6e 20 61  ode has gotten a
00a0: 20 62 69 74 20 6d 65 73 73 79 0d 0a 20 20 2a 20   bit messy..  * 
00b0: 20 4c 6f 67 20 66 72 65 65 20 73 70 61 63 65 20   Log free space 
00c0: 69 6e 20 2f 74 6d 70 20 69 6e 20 74 68 65 20 64  in /tmp in the d
00d0: 61 74 61 62 61 73 65 2e 20 54 65 73 74 73 20 6f  atabase. Tests o
00e0: 66 74 65 6e 20 75 73 65 20 2f 74 6d 70 20 61 6e  ften use /tmp an
00f0: 64 20 74 68 69 73 20 63 61 6e 20 68 65 6c 70 20  d this can help 
0100: 64 65 62 75 67 20 70 72 6f 62 6c 65 6d 73 0d 0a  debug problems..
0110: 20 20 2a 20 20 52 65 63 6f 72 64 20 66 72 65 65    *  Record free
0120: 20 6d 65 6d 6f 72 79 20 28 61 63 63 6f 75 6e 74   memory (account
0130: 20 66 6f 72 20 62 75 66 66 65 72 73 20 65 74 63   for buffers etc
0140: 2e 29 0d 0a 20 20 2a 20 20 49 6d 70 6c 65 6d 65  .)..  *  Impleme
0150: 6e 74 20 73 73 68 20 6d 65 74 68 6f 64 20 66 6f  nt ssh method fo
0160: 72 20 63 61 6c 6c 69 6e 67 20 68 6f 6d 65 20 28  r calling home (
0170: 65 6c 69 6d 69 6e 61 74 65 73 20 6e 65 65 64 20  eliminates need 
0180: 66 6f 72 20 6e 65 74 77 6f 72 6b 20 66 69 6c 65  for network file
0190: 73 79 73 74 65 6d 29 2e 0d 0a 0d 0a 44 61 73 68  system).....Dash
01a0: 62 6f 61 72 64 0d 0a 20 20 2a 20 20 41 64 64 20  board..  *  Add 
01b0: 66 69 6c 74 65 72 73 20 74 6f 20 74 65 73 74 73  filters to tests
01c0: 0d 0a 20 20 2a 20 20 41 64 64 20 76 69 73 75 61  ..  *  Add visua
01d0: 6c 20 6d 6f 6e 69 74 6f 72 69 6e 67 20 6f 66 20  l monitoring of 
01e0: 63 70 75 2c 20 6d 65 6d 6f 72 79 2c 20 64 69 73  cpu, memory, dis
01f0: 6b 73 70 61 63 65 20 65 74 63 2e 20 66 6f 72 20  kspace etc. for 
0200: 74 65 73 74 73 0d 0a 20 20 2a 20 20 43 6c 65 61  tests..  *  Clea
0210: 6e 20 75 70 20 74 68 65 20 74 68 72 65 61 64 73  n up the threads
0220: 2c 20 72 65 64 75 63 65 20 74 6f 20 6f 6e 65 20  , reduce to one 
0230: 70 6c 75 73 20 74 68 65 20 69 75 70 20 67 75 69  plus the iup gui
0240: 20 74 68 72 65 61 64 0d 0a 20 20 2a 20 20 53 63   thread..  *  Sc
0250: 72 6f 6c 6c 69 6e 67 20 69 6e 64 69 63 61 74 6f  rolling indicato
0260: 72 73 20 28 63 75 72 72 65 6e 74 6c 79 20 6e 6f  rs (currently no
0270: 20 76 69 73 75 61 6c 20 63 6c 75 65 20 74 68 61   visual clue tha
0280: 74 20 74 68 65 72 65 20 3c 62 3e 61 72 65 2f 61  t there <b>are/a
0290: 72 65 20 6e 6f 74 3c 2f 62 3e 20 6d 6f 72 65 20  re not</b> more 
02a0: 74 65 73 74 73 0d 0a 0d 0a 3c 74 61 62 6c 65 20  tests....<table 
02b0: 62 6f 72 64 65 72 3d 31 20 63 65 6c 6c 73 70 61  border=1 cellspa
02c0: 63 69 6e 67 3d 30 3e 0d 0a 3c 74 72 3e 3c 74 64  cing=0>..<tr><td
02d0: 3e 46 65 61 74 75 72 65 3c 2f 74 64 3e 3c 74 64  >Feature</td><td
02e0: 3e 53 74 61 74 75 73 3c 2f 74 64 3e 3c 2f 74 72  >Status</td></tr
02f0: 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 72 70 63 20 22  >..<tr><td>rpc "
0300: 70 68 6f 6e 65 20 68 6f 6d 65 22 20 62 61 73 69  phone home" basi
0310: 63 20 69 6d 70 6c 65 6d 65 6e 74 61 74 69 6f 6e  c implementation
0320: 3c 2f 74 64 3e 3c 74 64 3e 39 30 25 20 6f 66 20  </td><td>90% of 
0330: 74 68 65 20 68 65 61 76 79 20 68 69 74 74 69 6e  the heavy hittin
0340: 67 20 64 62 20 61 63 63 65 73 73 65 73 20 63 61  g db accesses ca
0350: 6e 20 6e 6f 77 20 75 73 65 20 72 70 63 20 77 68  n now use rpc wh
0360: 65 6e 20 61 76 61 69 6c 61 62 6c 65 2e 20 3c 2f  en available. </
0370: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74  td></tr>..<tr><t
0380: 64 3e 72 70 63 20 22 70 68 6f 6e 65 20 68 6f 6d  d>rpc "phone hom
0390: 65 22 20 39 38 25 20 63 6f 6e 76 65 72 74 65 64  e" 98% converted
03a0: 3c 2f 74 64 3e 3c 74 64 3e 45 54 41 3a 20 46 65  </td><td>ETA: Fe
03b0: 62 20 32 37 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a  b 27</td></tr>..
03c0: 3c 74 72 3e 3c 74 64 3e 72 70 63 20 6f 6e 20 36  <tr><td>rpc on 6
03d0: 34 20 62 69 74 3c 2f 74 64 3e 3c 74 64 3e 43 75  4 bit</td><td>Cu
03e0: 72 72 65 6e 74 6c 79 20 66 61 69 6c 73 20 74 6f  rrently fails to
03f0: 20 77 6f 72 6b 20 72 65 6c 69 61 62 6c 79 2e 20   work reliably. 
0400: 54 65 73 74 20 63 61 73 65 20 67 65 6e 65 72 61  Test case genera
0410: 74 69 6f 6e 20 69 6e 20 70 72 6f 67 72 65 73 73  tion in progress
0420: 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e  </td></tr>..<tr>
0430: 3c 74 64 3e 72 70 63 20 73 6f 6d 65 20 77 72 69  <td>rpc some wri
0440: 74 65 73 20 74 6f 20 64 62 20 67 6f 20 69 6e 74  tes to db go int
0450: 6f 20 71 75 65 75 65 20 3c 2f 74 64 3e 3c 74 64  o queue </td><td
0460: 3e 4d 61 6e 79 20 77 72 69 74 65 73 20 61 72 65  >Many writes are
0470: 20 6e 6f 74 20 74 69 6d 65 20 63 72 69 74 69 63   not time critic
0480: 61 6c 20 61 6e 64 20 63 61 6e 20 62 65 20 71 75  al and can be qu
0490: 65 75 65 64 20 75 70 20 66 72 65 65 69 6e 67 20  eued up freeing 
04a0: 74 68 65 20 74 65 73 74 20 70 72 6f 63 65 73 73  the test process
04b0: 65 73 3a 20 45 54 41 20 46 65 62 20 32 37 3c 2f  es: ETA Feb 27</
04c0: 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74  td></tr>..<tr><t
04d0: 64 3e 72 70 63 20 73 65 72 76 65 72 20 73 74 61  d>rpc server sta
04e0: 72 74 20 75 70 20 61 74 20 61 6e 79 20 74 69 6d  rt up at any tim
04f0: 65 3c 2f 74 64 3e 3c 74 64 3e 57 6f 72 6b 73 20  e</td><td>Works 
0500: 66 69 6e 65 2e 20 53 65 72 76 65 72 20 63 61 6e  fine. Server can
0510: 20 62 65 20 73 74 61 72 74 65 64 20 61 66 74 65   be started afte
0520: 72 20 61 20 72 75 6e 20 69 73 20 69 6e 20 70 6c  r a run is in pl
0530: 61 63 65 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c  ace</td></tr>..<
0540: 74 72 3e 3c 74 64 3e 72 70 63 20 73 65 72 76 65  tr><td>rpc serve
0550: 72 20 20 73 68 75 74 20 64 6f 77 6e 20 61 74 20  r  shut down at 
0560: 61 6e 79 20 74 69 6d 65 3c 2f 74 64 3e 3c 74 64  any time</td><td
0570: 3e 4e 6f 74 20 63 6f 6d 70 6c 65 74 65 2e 20 53  >Not complete. S
0580: 68 75 74 64 6f 77 6e 20 63 6c 65 61 6e 20 77 72  hutdown clean wr
0590: 74 20 74 68 65 20 64 62 20 62 75 74 20 72 61 63  t the db but rac
05a0: 65 20 63 6f 6e 64 69 74 69 6f 6e 20 65 78 69 73  e condition exis
05b0: 74 73 20 66 6f 72 20 69 6e 20 66 6c 69 67 68 74  ts for in flight
05c0: 20 71 75 65 72 69 65 73 2e 20 46 69 78 20 69 73   queries. Fix is
05d0: 20 65 61 73 79 3c 2f 74 64 3e 3c 2f 74 72 3e 0d   easy</td></tr>.
05e0: 0a 3c 74 72 3e 3c 74 64 3e 72 70 63 20 73 65 72  .<tr><td>rpc ser
05f0: 76 65 72 20 20 69 6e 64 65 70 65 6e 64 65 6e 74  ver  independent
0600: 20 6f 66 20 72 75 6e 28 73 29 3c 2f 74 64 3e 3c   of run(s)</td><
0610: 74 64 3e 55 6e 74 65 73 74 65 64 20 62 75 74 20  td>Untested but 
0620: 61 6c 6c 20 66 75 6e 63 74 69 6f 6e 73 20 70 6f  all functions po
0630: 72 74 65 64 20 74 6f 20 75 73 65 20 72 70 63 20  rted to use rpc 
0640: 77 65 72 65 20 69 6e 73 70 65 63 74 65 64 20 61  were inspected a
0650: 6e 64 20 6e 6f 6e 65 20 75 73 65 20 67 6c 6f 62  nd none use glob
0660: 61 6c 73 2c 20 73 68 6f 75 6c 64 20 62 65 20 66  als, should be f
0670: 69 6e 65 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c  ine</td></tr>..<
0680: 74 72 3e 3c 74 64 3e 72 70 63 20 73 65 72 76 65  tr><td>rpc serve
0690: 72 20 61 75 74 6f 20 6c 61 75 6e 63 68 3c 2f 74  r auto launch</t
06a0: 64 3e 3c 74 64 3e 4e 6f 74 20 69 6d 70 6c 65 6d  d><td>Not implem
06b0: 65 6e 74 65 64 3c 2f 74 64 3e 3c 2f 74 72 3e 0d  ented</td></tr>.
06c0: 0a 3c 74 72 3e 3c 74 64 3e 72 70 63 20 73 65 72  .<tr><td>rpc ser
06d0: 76 65 72 20 31 30 30 25 20 77 69 74 68 20 66 61  ver 100% with fa
06e0: 6c 6c 62 61 63 6b 20 74 6f 20 64 69 72 65 63 74  llback to direct
06f0: 3c 2f 74 64 3e 3c 74 64 3e 57 69 73 68 20 6c 69  </td><td>Wish li
0700: 73 74 20 69 74 65 6d 2c 20 52 4f 49 20 69 73 20  st item, ROI is 
0710: 73 6d 61 6c 6c 20 66 6f 72 20 74 68 6f 73 65 20  small for those 
0720: 77 69 74 68 20 4e 46 53 20 6f 72 20 73 69 6d 69  with NFS or simi
0730: 6c 61 72 20 6e 65 74 77 6f 72 6b 20 66 73 20 61  lar network fs a
0740: 76 61 69 6c 61 62 6c 65 2e 3c 2f 74 64 3e 3c 2f  vailable.</td></
0750: 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e 72 70 63  tr>..<tr><td>rpc
0760: 20 73 65 72 76 65 72 20 73 75 70 70 6f 72 74 20   server support 
0770: 66 6f 72 20 64 61 73 68 62 6f 61 72 64 3c 2f 74  for dashboard</t
0780: 64 3e 3c 74 64 3e 48 69 67 68 20 70 72 69 6f 72  d><td>High prior
0790: 69 74 79 20 61 73 20 74 68 69 73 20 77 69 6c 6c  ity as this will
07a0: 20 61 6d 65 6c 69 6f 72 61 74 65 20 74 68 65 20   ameliorate the 
07b0: 72 65 61 64 65 72 20 73 74 61 72 76 61 74 69 6f  reader starvatio
07c0: 6e 20 69 73 73 75 65 2c 20 45 54 41 20 4d 61 72  n issue, ETA Mar
07d0: 20 35 2e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c   5.</td></tr>..<
07e0: 74 72 3e 3c 74 64 3e 3d 3d 3d 3d 3d 3d 3d 3d 3d  tr><td>=========
07f0: 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d  ================
0800: 3d 3d 3d 3d 3d 3d 3c 2f 74 64 3e 3c 74 64 3e 3c  ======</td><td><
0810: 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c  /td></tr>..<tr><
0820: 74 64 3e 42 75 74 74 6f 6e 20 74 6f 20 63 68 61  td>Button to cha
0830: 6e 67 65 20 73 74 61 74 65 20 67 6c 6f 62 61 6c  nge state global
0840: 6c 79 20 66 6f 72 20 61 20 72 75 6e 3c 2f 74 64  ly for a run</td
0850: 3e 3c 74 64 3e 4e 6f 74 20 69 6d 70 6c 65 6d 65  ><td>Not impleme
0860: 6e 74 65 64 2c 20 45 54 41 3a 20 46 65 62 20 32  nted, ETA: Feb 2
0870: 37 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c 74 72  7</td></tr>..<tr
0880: 3e 3c 74 64 3e 41 75 74 6f 20 63 72 65 61 74 65  ><td>Auto create
0890: 20 6c 69 6e 6b 73 74 72 65 65 3c 2f 74 64 3e 3c   linkstree</td><
08a0: 74 64 3e 3c 2f 74 64 3e 3c 2f 74 72 3e 0d 0a 3c  td></td></tr>..<
08b0: 74 72 3e 3c 74 64 3e 46 69 78 20 2d 72 65 72 75  tr><td>Fix -reru
08c0: 6e 20 3c 2f 74 64 3e 3c 74 64 3e 3c 2f 74 64 3e  n </td><td></td>
08d0: 3c 2f 74 72 3e 0d 0a 3c 74 72 3e 3c 74 64 3e c2  </tr>..<tr><td>
08e0: 8f c2 a5 2e 2e 3c 2f 74 64 3e 3c 74 64 3e 0d 0a  ¥..</td><td>..
08f0: 3c 2f 74 61 62 6c 65 3e 0a 5a 20 39 39 30 30 39  </table>.Z 99009
0900: 65 39 32 38 32 39 32 66 30 66 65 30 38 37 62 30  e928292f0fe087b0
0910: 35 34 39 64 66 63 35 30 63 62 31 0a              549dfc50cb1.