Megatest

Hex Artifact Content
Login

Artifact 374e4ba38f47265609062b6c955848e7826d60a6:


0000: 52 6f 61 64 20 4d 61 70 0a 2d 2d 2d 2d 2d 2d 2d  Road Map.-------
0010: 2d 0a 0a 4e 6f 74 65 20 31 3a 20 54 68 69 73 20  -..Note 1: This 
0020: 72 6f 61 64 2d 6d 61 70 20 69 73 20 73 74 69 6c  road-map is stil
0030: 6c 20 65 76 6f 6c 76 69 6e 67 20 61 6e 64 20 73  l evolving and s
0040: 75 62 6a 65 63 74 20 74 6f 20 63 68 61 6e 67 65  ubject to change
0050: 20 77 69 74 68 6f 75 74 20 6e 6f 74 69 63 65 2e   without notice.
0060: 0a 0a 52 46 43 20 4d 30 31 3a 20 41 64 64 20 61  ..RFC M01: Add a
0070: 62 69 6c 69 74 79 20 74 6f 20 6d 6f 76 65 20 72  bility to move r
0080: 75 6e 73 20 74 6f 20 6f 74 68 65 72 20 41 72 65  uns to other Are
0090: 61 73 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  as.~~~~~~~~~~~~~
00a0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  ~~~~~~~~~~~~~~~~
00b0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  ~~~~~~~~~~~~~~~~
00c0: 7e 7e 7e 0a 0a 2a 50 75 72 70 6f 73 65 2a 3a 20  ~~~..*Purpose*: 
00d0: 61 6c 6c 6f 77 20 73 68 72 69 6e 6b 69 6e 67 20  allow shrinking 
00e0: 6d 65 67 61 74 65 73 74 2e 64 62 20 64 61 74 61  megatest.db data
00f0: 20 62 79 20 6d 6f 76 69 6e 67 20 72 75 6e 73 20   by moving runs 
0100: 74 6f 20 61 6e 20 61 6c 74 65 72 6e 61 74 65 0a  to an alternate.
0110: 20 4d 65 67 61 74 65 73 74 20 61 72 65 61 20 77   Megatest area w
0120: 69 74 68 20 73 61 6d 65 20 6b 65 79 73 2e 0a 0a  ith same keys...
0130: 2a 4d 65 74 68 6f 64 2a 3a 20 65 78 74 65 6e 64  *Method*: extend
0140: 20 64 62 20 73 79 6e 63 20 74 6f 20 74 61 6b 65   db sync to take
0150: 20 61 20 64 69 66 66 65 72 65 6e 74 20 6d 65 67   a different meg
0160: 61 74 65 73 74 20 61 72 65 61 20 61 73 20 61 20  atest area as a 
0170: 64 65 73 74 69 6e 61 74 69 6f 6e 2e 0a 0a 2a 44  destination...*D
0180: 65 73 69 67 6e 2a 3a 0a 0a 2e 20 61 64 64 20 70  esign*:... add p
0190: 61 72 61 6d 20 2d 64 65 73 74 69 6e 61 74 69 6f  aram -destinatio
01a0: 6e 20 5b 61 72 65 61 7c 70 61 74 68 5d 2e 20 77  n [area|path]. w
01b0: 68 65 6e 20 73 70 65 63 69 66 69 65 64 20 72 75  hen specified ru
01c0: 6e 73 20 61 72 65 20 63 6f 70 69 65 64 20 74 6f  ns are copied to
01d0: 20 6e 65 77 0a 20 20 61 72 65 61 20 61 6e 64 20   new.  area and 
01e0: 72 65 6d 6f 76 65 64 20 66 72 6f 6d 20 6c 6f 63  removed from loc
01f0: 61 6c 20 64 62 2e 0a 2e 20 74 68 65 20 64 61 74  al db... the dat
0200: 61 20 6d 6f 76 65 20 77 6f 75 6c 64 20 69 6e 76  a move would inv
0210: 6f 6c 76 65 20 74 68 65 73 65 20 73 74 65 70 73  olve these steps
0220: 0a 2e 2e 20 63 6f 70 79 20 74 68 65 20 72 75 6e  ... copy the run
0230: 20 64 61 74 61 20 74 6f 20 64 65 73 74 69 6e 61   data to destina
0240: 74 69 6f 6e 20 61 72 65 61 20 6d 65 67 61 74 65  tion area megate
0250: 73 74 2e 64 62 0a 2e 2e 20 6d 61 72 6b 20 74 68  st.db... mark th
0260: 65 20 72 75 6e 20 72 65 63 6f 72 64 73 20 61 73  e run records as
0270: 20 64 65 6c 65 74 65 64 2c 20 64 6f 20 6e 6f 74   deleted, do not
0280: 20 72 65 6d 6f 76 65 20 74 68 65 20 72 75 6e 20   remove the run 
0290: 64 61 74 61 20 6f 6e 20 64 69 73 6b 0a 2e 20 61  data on disk.. a
02a0: 63 63 65 73 73 69 6e 67 20 74 68 65 20 64 61 74  ccessing the dat
02b0: 61 20 77 6f 75 6c 64 20 62 65 20 62 79 20 72 75  a would be by ru
02c0: 6e 6e 69 6e 67 20 64 61 73 68 62 6f 61 72 64 20  nning dashboard 
02d0: 69 6e 20 74 68 65 20 73 61 74 65 6c 6c 69 74 65  in the satellite
02e0: 20 61 72 65 61 0a 2e 20 66 75 74 75 72 65 20 76   area.. future v
02f0: 65 72 73 69 6f 6e 73 20 6f 66 20 4d 65 67 61 74  ersions of Megat
0300: 65 73 74 20 64 61 73 68 62 6f 61 72 64 20 73 68  est dashboard sh
0310: 6f 75 6c 64 20 73 75 70 70 6f 72 74 20 64 69 73  ould support dis
0320: 70 6c 61 79 69 6e 67 20 61 72 65 61 73 20 69 6e  playing areas in
0330: 20 61 0a 20 20 6d 65 72 67 65 64 20 77 61 79 2e   a.  merged way.
0340: 0a 2e 20 73 6f 6d 65 20 6e 65 77 20 63 6f 6e 74  .. some new cont
0350: 72 6f 6c 73 20 77 6f 75 6c 64 20 62 65 20 73 75  rols would be su
0360: 70 70 6f 72 74 65 64 20 69 6e 20 74 68 65 20 63  pported in the c
0370: 6f 6e 66 69 67 0a 2e 2e 20 5b 73 65 74 75 70 5d  onfig... [setup]
0380: 20 3d 3e 20 61 6c 6c 6f 77 2d 72 75 6e 73 20 5b   => allow-runs [
0390: 6e 6f 7c 79 65 73 5d 20 20 3c 3d 3d 20 75 73 65  no|yes]  <== use
03a0: 64 20 74 6f 20 64 69 73 61 6c 6c 6f 77 20 72 75  d to disallow ru
03b0: 6e 73 0a 2e 2e 20 5b 73 65 74 75 70 5d 20 3d 3e  ns... [setup] =>
03c0: 20 61 75 74 6f 2d 6d 69 67 72 61 74 65 3d 5b 61   auto-migrate=[a
03d0: 72 65 61 6e 61 6d 65 7c 70 61 74 68 5d 20 20 3c  reaname|path]  <
03e0: 3d 3d 20 75 73 65 64 20 74 6f 20 61 75 74 6f 6d  == used to autom
03f0: 61 74 69 63 61 6c 6c 79 0a 20 20 20 6d 69 67 72  atically.   migr
0400: 61 74 65 20 64 61 74 61 20 74 6f 20 61 20 73 61  ate data to a sa
0410: 74 65 6c 6c 69 74 65 20 61 72 65 61 2e 0a 0a 2a  tellite area...*
0420: 42 72 61 6e 63 68 2a 3a 20 54 68 69 73 20 77 6f  Branch*: This wo
0430: 72 6b 20 69 73 20 74 61 6b 69 6e 67 20 70 6c 61  rk is taking pla
0440: 63 65 20 6f 6e 20 62 72 61 6e 63 68 20 76 31 2e  ce on branch v1.
0450: 36 35 2d 72 65 64 75 63 65 2d 72 65 63 6f 72 64  65-reduce-record
0460: 73 0a 0a 52 46 43 20 4d 30 32 3a 20 4d 6f 76 65  s..RFC M02: Move
0470: 20 64 61 74 61 20 69 6e 74 6f 20 63 6f 6d 70 6c   data into compl
0480: 65 74 65 64 2d 72 75 6e 73 2e 64 62 0a 7e 7e 7e  eted-runs.db.~~~
0490: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  ~~~~~~~~~~~~~~~~
04a0: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  ~~~~~~~~~~~~~~~~
04b0: 7e 7e 7e 7e 7e 7e 0a 0a 2a 50 75 72 70 6f 73 65  ~~~~~~..*Purpose
04c0: 2a 3a 20 73 68 72 69 6e 6b 20 6d 65 67 61 74 65  *: shrink megate
04d0: 73 74 2e 64 62 20 64 61 74 61 20 74 6f 20 65 6e  st.db data to en
04e0: 61 62 6c 65 20 6c 6f 77 65 72 20 6c 6f 61 64 20  able lower load 
04f0: 61 6e 64 20 68 69 67 68 65 72 20 70 65 72 66 6f  and higher perfo
0500: 72 6d 61 6e 63 65 2e 0a 0a 2a 4d 65 74 68 6f 64  rmance...*Method
0510: 2a 3a 20 61 64 64 20 61 20 63 6f 6d 70 6c 65 74  *: add a complet
0520: 65 64 2d 72 75 6e 73 2e 64 62 20 61 6e 64 20 61  ed-runs.db and a
0530: 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 6d 6f 76  utomatically mov
0540: 65 20 72 75 6e 73 20 64 61 74 61 20 66 72 6f 6d  e runs data from
0550: 20 6d 65 67 61 74 65 73 74 2e 64 62 20 74 6f 20   megatest.db to 
0560: 74 68 61 74 20 64 62 0a 0a 2a 44 65 73 69 67 6e  that db..*Design
0570: 2a 3a 0a 0a 2e 20 63 6f 6d 70 6c 65 74 65 64 2d  *:... completed-
0580: 72 75 6e 73 2e 64 62 20 69 73 20 61 20 66 75 6c  runs.db is a ful
0590: 6c 20 6d 65 67 61 74 65 73 74 20 64 61 74 61 62  l megatest datab
05a0: 61 73 65 20 77 69 74 68 20 63 6f 6d 70 6c 65 74  ase with complet
05b0: 65 20 73 63 68 65 6d 61 0a 2e 20 74 68 65 20 64  e schema.. the d
05c0: 61 74 61 20 6d 6f 76 65 20 77 6f 75 6c 64 20 69  ata move would i
05d0: 6e 76 6f 6c 76 65 20 74 68 65 73 65 20 73 74 65  nvolve these ste
05e0: 70 73 0a 2e 2e 20 63 6f 70 79 20 74 68 65 20 72  ps... copy the r
05f0: 75 6e 20 64 61 74 61 20 74 6f 20 63 6f 6d 70 6c  un data to compl
0600: 65 74 65 64 2d 72 75 6e 73 2e 64 62 0a 2e 2e 20  eted-runs.db... 
0610: 72 65 6d 6f 76 65 20 74 68 65 20 72 75 6e 20 64  remove the run d
0620: 61 74 61 2c 20 66 69 72 73 74 20 66 72 6f 6d 20  ata, first from 
0630: 2f 74 6d 70 2f e2 80 a6 2f 6d 65 67 61 74 65 73  /tmp/…/megates
0640: 74 2e 64 62 20 61 6e 64 20 2f 74 6d 70 2f e2 80  t.db and /tmp/â€
0650: a6 2f 6d 65 67 61 74 65 73 74 5f 72 65 66 2e 64  ¦/megatest_ref.d
0660: 62 2c 20 66 6f 6c 6c 6f 77 65 64 20 62 79 20 6d  b, followed by m
0670: 65 67 61 74 65 73 74 2e 64 62 0a 2e 20 61 63 63  egatest.db.. acc
0680: 65 73 73 69 6e 67 20 74 68 65 20 64 61 74 61 20  essing the data 
0690: 77 6f 75 6c 64 20 62 65 20 75 6e 63 68 61 6e 67  would be unchang
06a0: 65 64 20 66 6f 72 20 6d 6f 73 74 20 6f 70 65 72  ed for most oper
06b0: 61 74 69 6f 6e 73 2e 0a 2e 20 61 20 6d 6f 64 65  ations... a mode
06c0: 20 2d 66 75 6c 6c 2d 64 62 20 77 69 6c 6c 20 62   -full-db will b
06d0: 65 20 61 64 64 65 64 20 77 68 69 63 68 20 77 68  e added which wh
06e0: 65 6e 20 73 70 65 63 69 66 69 65 64 20 77 6f 75  en specified wou
06f0: 6c 64 20 61 74 74 61 63 68 20 74 68 65 20 63 6f  ld attach the co
0700: 6d 70 6c 65 74 65 64 2d 72 75 6e 73 2e 64 62 20  mpleted-runs.db 
0710: 74 6f 20 6d 65 67 61 74 65 73 74 2e 64 62 20 62  to megatest.db b
0720: 65 66 6f 72 65 20 64 6f 69 6e 67 20 74 68 65 20  efore doing the 
0730: 71 75 65 72 79 0a 2e 20 6d 65 63 68 61 6e 69 73  query.. mechanis
0740: 6d 73 20 66 6f 72 20 6d 6f 76 69 6e 67 20 72 75  ms for moving ru
0750: 6e 73 20 74 6f 2f 66 72 6f 6d 20 74 68 65 20 6d  ns to/from the m
0760: 65 67 61 74 65 73 74 2e 64 62 20 77 6f 75 6c 64  egatest.db would
0770: 20 62 65 20 61 64 64 65 64 0a 2e 2e 20 2d 72 65   be added... -re
0780: 64 75 63 65 2d 72 65 63 6f 72 64 73 20 3d 3e 20  duce-records => 
0790: 6d 6f 76 65 20 72 75 6e 73 20 74 6f 20 63 6f 6d  move runs to com
07a0: 70 6c 65 74 65 64 2d 72 75 6e 73 2e 64 62 0a 2e  pleted-runs.db..
07b0: 2e 20 2d 72 65 73 74 6f 72 65 2d 72 65 63 6f 72  . -restore-recor
07c0: 64 73 20 3d 3e 20 6d 6f 76 65 20 72 75 6e 73 20  ds => move runs 
07d0: 66 72 6f 6d 20 63 6f 6d 70 6c 65 74 65 64 2d 72  from completed-r
07e0: 75 6e 73 2e 64 62 20 74 6f 20 6d 65 67 61 74 65  uns.db to megate
07f0: 73 74 2e 64 62 0a 0a 2a 42 72 61 6e 63 68 2a 3a  st.db..*Branch*:
0800: 20 54 68 69 73 20 77 6f 72 6b 20 69 73 20 74 61   This work is ta
0810: 6b 69 6e 67 20 70 6c 61 63 65 20 6f 6e 20 62 72  king place on br
0820: 61 6e 63 68 20 76 31 2e 36 35 2d 72 65 64 75 63  anch v1.65-reduc
0830: 65 2d 72 65 63 6f 72 64 73 0a 0a 52 46 43 20 4d  e-records..RFC M
0840: 30 33 3a 20 41 75 74 6f 6d 61 74 69 63 20 68 6f  03: Automatic ho
0850: 6d 65 68 6f 73 74 20 6d 69 67 72 61 74 69 6f 6e  mehost migration
0860: 73 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  s.~~~~~~~~~~~~~~
0870: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  ~~~~~~~~~~~~~~~~
0880: 7e 7e 7e 7e 7e 7e 7e 7e 0a 0a 2a 50 75 72 70 6f  ~~~~~~~~..*Purpo
0890: 73 65 2a 3a 20 41 75 74 6f 6d 61 74 69 63 61 6c  se*: Automatical
08a0: 6c 79 20 6d 69 67 72 61 74 65 20 68 6f 6d 65 68  ly migrate homeh
08b0: 6f 73 74 2e 0a 0a 2a 4d 65 74 68 6f 64 2a 3a 20  ost...*Method*: 
08c0: 43 68 65 63 6b 20 74 68 61 74 20 74 68 65 72 65  Check that there
08d0: 20 61 72 65 20 6e 6f 20 74 65 73 74 73 20 72 75   are no tests ru
08e0: 6e 6e 69 6e 67 2c 20 6c 61 75 6e 63 68 65 64 20  nning, launched 
08f0: 6f 72 20 72 65 6d 6f 74 65 68 6f 73 74 73 74 61  or remotehoststa
0900: 72 74 20 69 6e 20 70 61 73 74 20 c2 bd 20 68 6f  rt in past ½ ho
0910: 75 72 20 74 68 65 6e 20 69 66 20 6e 6f 74 20 6f  ur then if not o
0920: 6e 20 68 6f 6d 65 68 6f 73 74 20 6d 69 67 72 61  n homehost migra
0930: 74 65 20 74 68 65 20 64 62 20 74 6f 20 63 75 72  te the db to cur
0940: 72 65 6e 74 20 68 6f 73 74 0a 0a 2a 44 65 73 69  rent host..*Desi
0950: 67 6e 2a 3a 0a 0a 2e 20 43 68 65 63 6b 20 74 68  gn*:... Check th
0960: 61 74 20 74 68 65 20 73 79 73 74 65 6d 20 69 73  at the system is
0970: 20 71 75 69 65 73 63 65 6e 74 2c 20 69 2e 65 2e   quiescent, i.e.
0980: 20 74 68 61 74 20 74 68 65 72 65 20 61 72 65 20   that there are 
0990: 6e 6f 20 72 75 6e 73 20 69 6e 20 66 6c 69 67 68  no runs in fligh
09a0: 74 20 6f 72 20 72 65 63 65 6e 74 6c 79 20 72 75  t or recently ru
09b0: 6e 0a 2e 20 43 72 65 61 74 65 20 61 20 6c 6f 63  n.. Create a loc
09c0: 6b 0a 2e 20 4d 69 67 72 61 74 65 20 74 68 65 20  k.. Migrate the 
09d0: 2f 74 6d 70 20 63 61 63 68 65 20 64 62 20 74 6f  /tmp cache db to
09e0: 20 74 68 65 20 63 75 72 72 65 6e 74 20 68 6f 73   the current hos
09f0: 74 0a 2e 20 55 70 64 61 74 65 20 74 68 65 20 2e  t.. Update the .
0a00: 68 6f 6d 65 68 6f 73 74 20 66 69 6c 65 0a 2e 20  homehost file.. 
0a10: 52 65 6d 6f 76 65 20 74 68 65 20 6c 6f 63 6b 0a  Remove the lock.
0a20: 0a 2a 42 72 61 6e 63 68 2a 3a 20 54 68 69 73 20  .*Branch*: This 
0a30: 77 6f 72 6b 20 6e 6f 74 20 79 65 74 20 73 74 61  work not yet sta
0a40: 72 74 65 64 0a 0a 41 72 63 68 69 74 65 63 74 75  rted..Architectu
0a50: 72 65 20 52 65 66 61 63 74 6f 72 0a 7e 7e 7e 7e  re Refactor.~~~~
0a60: 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e  ~~~~~~~~~~~~~~~~
0a70: 7e 0a 0a 47 6f 61 6c 73 0a 5e 5e 5e 5e 5e 0a 0a  ~..Goals.^^^^^..
0a80: 2e 20 52 65 64 75 63 65 20 6c 6f 61 64 20 6f 6e  . Reduce load on
0a90: 20 74 68 65 20 66 69 6c 65 20 73 79 73 74 65 6d   the file system
0aa0: 2e 20 53 71 6c 69 74 65 33 20 66 69 6c 65 73 20  . Sqlite3 files 
0ab0: 6f 6e 20 6e 65 74 77 6f 72 6b 20 66 69 6c 65 73  on network files
0ac0: 79 73 74 65 6d 20 63 61 6e 20 62 65 0a 20 20 61  ystem can be.  a
0ad0: 20 62 75 72 64 65 6e 2e 20 5b 67 72 65 65 6e 5d   burden. [green]
0ae0: 23 5b 44 4f 4e 45 5d 23 0a 2e 20 52 65 64 75 63  #[DONE]#.. Reduc
0af0: 65 20 6e 75 6d 62 65 72 20 6f 66 20 73 65 72 76  e number of serv
0b00: 65 72 73 20 61 6e 64 20 66 72 65 71 75 65 6e 63  ers and frequenc
0b10: 79 20 6f 66 20 73 74 61 72 74 2f 73 74 6f 70 2e  y of start/stop.
0b20: 20 54 68 69 73 20 69 73 20 6d 6f 73 74 6c 79 20   This is mostly 
0b30: 61 6e 0a 20 20 69 73 73 75 65 20 6f 66 20 63 6c  an.  issue of cl
0b40: 75 74 74 65 72 20 62 75 74 20 61 6c 73 6f 20 61  utter but also a
0b50: 20 72 65 64 75 63 74 69 6f 6e 20 69 6e 20 22 6d   reduction in "m
0b60: 6f 76 69 6e 67 20 70 61 72 74 73 22 2e 20 5b 67  oving parts". [g
0b70: 72 65 65 6e 5d 23 5b 44 4f 4e 45 5d 23 0a 2e 20  reen]#[DONE]#.. 
0b80: 43 6f 61 6c 65 73 63 65 20 61 63 74 69 76 69 74  Coalesce activit
0b90: 69 65 73 20 74 6f 20 61 20 73 69 6e 67 6c 65 20  ies to a single 
0ba0: 68 6f 6d 65 20 68 6f 73 74 20 77 68 65 72 65 20  home host where 
0bb0: 70 6f 73 73 69 62 6c 65 2e 20 47 69 76 65 20 74  possible. Give t
0bc0: 68 65 20 75 73 65 72 0a 20 20 66 65 65 64 62 61  he user.  feedba
0bd0: 63 6b 20 74 68 61 74 20 74 68 65 79 20 68 61 76  ck that they hav
0be0: 65 20 73 74 61 72 74 65 64 20 74 68 65 20 64 61  e started the da
0bf0: 73 68 62 6f 61 72 64 20 6f 6e 20 61 20 68 6f 73  shboard on a hos
0c00: 74 20 6f 74 68 65 72 20 74 68 61 6e 20 74 68 65  t other than the
0c10: 0a 20 20 68 6f 6d 65 20 68 6f 73 74 2e 20 5b 67  .  home host. [g
0c20: 72 65 65 6e 5d 23 5b 44 4f 4e 45 5d 23 0a 2e 20  reen]#[DONE]#.. 
0c30: 52 65 64 75 63 65 20 6e 75 6d 62 65 72 20 6f 66  Reduce number of
0c40: 20 70 72 6f 63 65 73 73 65 73 20 69 6e 76 6f 6c   processes invol
0c50: 76 65 64 20 69 6e 20 6d 61 6e 61 67 69 6e 67 20  ved in managing 
0c60: 72 75 6e 6e 69 6e 67 20 74 65 73 74 73 2e 0a 0a  running tests...
0c70: 43 68 61 6e 67 65 73 20 4e 65 65 64 65 64 0a 5e  Changes Needed.^
0c80: 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 0a 0a 2e  ^^^^^^^^^^^^^...
0c90: 20 41 43 49 44 20 63 6f 6d 70 6c 69 61 6e 74 20   ACID compliant 
0ca0: 64 62 20 77 69 6c 6c 20 62 65 20 6f 6e 20 2f 74  db will be on /t
0cb0: 6d 70 20 61 6e 64 20 73 79 6e 63 65 64 20 74 6f  mp and synced to
0cc0: 20 6d 65 67 61 74 65 73 74 2e 64 62 20 77 69 74   megatest.db wit
0cd0: 68 20 61 20 66 69 76 65 0a 20 20 73 65 63 6f 6e  h a five.  secon
0ce0: 64 20 6d 61 78 20 64 65 6c 61 79 2e 20 5b 67 72  d max delay. [gr
0cf0: 65 65 6e 5d 23 5b 44 4f 4e 45 5d 23 0a 2e 20 52  een]#[DONE]#.. R
0d00: 65 61 64 2f 77 72 69 74 65 73 20 74 6f 20 64 62  ead/writes to db
0d10: 20 66 6f 72 20 70 72 6f 63 65 73 73 65 73 20 6f   for processes o
0d20: 6e 20 68 6f 6d 65 68 6f 73 74 20 77 69 6c 6c 20  n homehost will 
0d30: 67 6f 20 64 69 72 65 63 74 20 74 6f 20 2f 74 6d  go direct to /tm
0d40: 70 0a 20 20 6d 65 67 61 74 65 73 74 2e 64 62 20  p.  megatest.db 
0d50: 66 69 6c 65 2e 20 5b 67 72 65 65 6e 5d 23 5b 44  file. [green]#[D
0d60: 4f 4e 45 5d 23 0a 2e 20 52 65 61 64 2f 77 69 74  ONE]#.. Read/wit
0d70: 65 73 20 66 72 6f 6e 20 6e 6f 6e 2d 68 6f 6d 65  es fron non-home
0d80: 68 6f 73 74 20 70 72 6f 63 65 73 73 65 73 20 77  host processes w
0d90: 69 6c 6c 20 67 6f 20 74 68 72 6f 75 67 68 20 6f  ill go through o
0da0: 6e 65 20 73 65 72 76 65 72 2e 20 42 75 6c 6b 0a  ne server. Bulk.
0db0: 20 20 72 65 61 64 73 20 28 65 2e 67 2e 20 66 6f    reads (e.g. fo
0dc0: 72 20 64 61 73 68 62 6f 61 72 64 20 6f 72 20 6c  r dashboard or l
0dd0: 69 73 74 2d 72 75 6e 73 29 20 77 69 6c 6c 20 62  ist-runs) will b
0de0: 65 20 63 61 63 68 65 64 20 6f 6e 20 74 68 65 20  e cached on the 
0df0: 63 75 72 72 65 6e 74 20 68 6f 73 74 0a 20 20 69  current host.  i
0e00: 6e 20 2f 74 6d 70 20 61 6e 64 20 73 79 6e 63 65  n /tmp and synce
0e10: 64 20 66 72 6f 6d 20 74 68 65 20 68 6f 6d 65 20  d from the home 
0e20: 6d 65 67 61 74 65 73 74 2e 64 62 20 69 6e 20 74  megatest.db in t
0e30: 68 65 20 74 65 73 74 73 75 69 74 65 20 61 72 65  he testsuite are
0e40: 61 2e 20 5b 67 72 65 65 6e 5d 23 5b 44 4f 4e 45  a. [green]#[DONE
0e50: 5d 23 0a 2e 20 44 62 20 73 79 6e 63 73 20 72 65  ]#.. Db syncs re
0e60: 6c 79 20 6f 6e 20 74 68 65 20 74 61 72 67 65 74  ly on the target
0e70: 20 64 62 20 66 69 6c 65 20 74 69 6d 65 73 74 61   db file timesta
0e80: 6d 65 20 6d 69 6e 75 73 20 73 6f 6d 65 20 6d 61  me minus some ma
0e90: 72 67 69 6e 2e 20 5b 67 72 65 65 6e 5d 23 5b 44  rgin. [green]#[D
0ea0: 4f 4e 45 5d 23 0a 2e 20 53 69 6e 63 65 20 62 75  ONE]#.. Since bu
0eb0: 6c 6b 20 72 65 61 64 73 20 64 6f 20 6e 6f 74 20  lk reads do not 
0ec0: 75 73 65 20 74 68 65 20 73 65 72 76 65 72 20 77  use the server w
0ed0: 65 20 63 61 6e 20 73 77 69 74 63 68 20 74 6f 20  e can switch to 
0ee0: 73 69 6d 70 6c 65 20 52 50 43 20 66 6f 72 20 74  simple RPC for t
0ef0: 68 65 0a 20 20 6e 65 74 77 6f 72 6b 20 74 72 61  he.  network tra
0f00: 6e 73 70 6f 72 74 2e 20 5b 67 72 65 65 6e 5d 23  nsport. [green]#
0f10: 5b 44 4f 4e 45 5d 23 0a 2e 20 54 65 73 74 20 72  [DONE]#.. Test r
0f20: 75 6e 6e 69 6e 67 20 6d 61 6e 61 67 65 72 20 70  unning manager p
0f30: 72 6f 63 65 73 73 20 65 78 74 65 6e 64 65 64 20  rocess extended 
0f40: 74 6f 20 6d 61 6e 61 67 65 20 6d 75 6c 74 69 70  to manage multip
0f50: 6c 65 20 72 75 6e 6e 69 6e 67 20 74 65 73 74 73  le running tests
0f60: 2e 0a 0a 43 75 72 72 65 6e 74 20 49 74 65 6d 73  ...Current Items
0f70: 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 0a 0a  .~~~~~~~~~~~~~..
0f80: 77 77 30 35 20 2d 20 6d 69 67 72 61 74 65 20 74  ww05 - migrate t
0f90: 6f 20 69 6e 6d 65 6d 2d 64 62 0a 5e 5e 5e 5e 5e  o inmem-db.^^^^^
0fa0: 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e 5e  ^^^^^^^^^^^^^^^^
0fb0: 5e 5e 5e 5e 5e 0a 0a 2e 20 53 77 69 74 63 68 20  ^^^^^... Switch 
0fc0: 74 6f 20 69 6e 6d 65 6d 20 64 62 20 77 69 74 68  to inmem db with
0fd0: 20 66 61 73 74 20 73 79 6e 63 20 74 6f 20 6f 6e   fast sync to on
0fe0: 20 64 69 73 6b 20 64 62 27 73 20 5b 67 72 65 65   disk db's [gree
0ff0: 6e 5d 23 5b 44 4f 4e 45 5d 23 0a 2e 20 53 65 72  n]#[DONE]#.. Ser
1000: 76 65 72 20 70 6f 6c 6c 73 20 74 61 73 6b 73 20  ver polls tasks 
1010: 74 61 62 6c 65 20 66 6f 72 20 6e 65 78 74 20 61  table for next a
1020: 63 74 69 6f 6e 0a 2e 2e 20 54 61 73 6b 20 74 61  ction... Task ta
1030: 62 6c 65 20 75 73 65 64 20 66 6f 72 20 74 72 61  ble used for tra
1040: 63 6b 69 6e 67 20 72 75 6e 6e 65 72 20 70 72 6f  cking runner pro
1050: 63 65 73 73 20 5b 72 65 64 5d 23 5b 52 65 70 6c  cess [red]#[Repl
1060: 61 63 65 64 20 62 79 20 6d 74 75 74 69 6c 5d 23  aced by mtutil]#
1070: 0a 2e 2e 20 54 61 73 6b 20 74 61 62 6c 65 20 75  ... Task table u
1080: 73 65 64 20 66 6f 72 20 6a 6f 62 73 20 74 6f 20  sed for jobs to 
1090: 72 75 6e 20 5b 72 65 64 5d 23 5b 52 65 70 6c 61  run [red]#[Repla
10a0: 63 65 64 20 62 79 20 6d 74 75 74 69 6c 5d 23 0a  ced by mtutil]#.
10b0: 2e 2e 20 54 61 73 6b 20 74 61 62 6c 65 20 75 73  .. Task table us
10c0: 65 64 20 66 6f 72 20 71 75 65 75 65 69 6e 67 20  ed for queueing 
10d0: 72 75 6e 6e 65 72 20 61 63 74 69 6f 6e 73 20 28  runner actions (
10e0: 72 65 6d 6f 76 65 20 72 75 6e 73 2c 0a 20 20 20  remove runs,.   
10f0: 63 6c 65 61 6e 52 75 6e 45 78 65 63 75 74 65 2c  cleanRunExecute,
1100: 20 65 74 63 29 20 20 5b 72 65 64 5d 23 5b 52 65   etc)  [red]#[Re
1110: 70 6c 61 63 65 64 20 62 79 20 6d 74 75 74 69 6c  placed by mtutil
1120: 23 5d 0a 0a 0a 2f 2f 20 77 77 33 32 0a 2f 2f 20  #]...// ww32.// 
1130: 7e 7e 7e 7e 0a 2f 2f 20 0a 2f 2f 20 2e 20 52 65  ~~~~.// .// . Re
1140: 72 75 6e 20 73 74 65 70 20 61 6e 64 20 6f 72 20  run step and or 
1150: 73 75 62 73 65 71 75 65 6e 74 20 73 74 65 70 73  subsequent steps
1160: 20 66 72 6f 6d 20 67 75 69 0a 2f 2f 20 2e 20 52   from gui.// . R
1170: 65 66 72 65 73 68 20 74 65 73 74 20 61 72 65 61  efresh test area
1180: 20 66 69 6c 65 73 20 66 72 6f 6d 20 67 75 69 0a   files from gui.
1190: 2f 2f 20 2e 20 43 6c 65 61 6e 20 61 6e 64 20 72  // . Clean and r
11a0: 65 2d 72 75 6e 20 62 75 74 74 6f 6e 0a 2f 2f 20  e-run button.// 
11b0: 2e 20 43 6c 65 61 6e 20 75 70 20 53 54 41 54 45  . Clean up STATE
11c0: 20 61 6e 64 20 53 54 41 54 55 53 20 68 61 6e 64   and STATUS hand
11d0: 6c 69 6e 67 2e 0a 2f 2f 20 2e 2e 20 44 61 73 68  ling..// .. Dash
11e0: 62 6f 61 72 64 20 61 6e 64 20 54 65 73 74 20 63  board and Test c
11f0: 6f 6e 74 72 6f 6c 20 70 61 6e 65 6c 20 61 72 65  ontrol panel are
1200: 20 72 65 76 65 72 73 65 20 6f 72 64 65 72 20 2d   reverse order -
1210: 20 63 68 6f 6f 73 65 20 61 6e 64 20 66 69 78 0a   choose and fix.
1220: 2f 2f 20 2e 2e 20 4d 6f 76 65 20 73 65 6c 64 6f  // .. Move seldo
1230: 6d 20 75 73 65 64 20 73 74 61 74 65 73 20 61 6e  m used states an
1240: 64 20 73 74 61 74 75 73 20 74 6f 20 64 72 6f 70  d status to drop
1250: 20 64 6f 77 6e 20 73 65 6c 65 63 74 6f 72 0a 2f   down selector./
1260: 2f 20 2e 20 41 63 63 65 73 73 20 74 65 73 74 20  / . Access test 
1270: 63 6f 6e 74 72 6f 6c 20 70 61 6e 65 6c 20 77 68  control panel wh
1280: 65 6e 20 63 6c 69 63 6b 69 6e 67 20 6f 6e 20 52  en clicking on R
1290: 75 6e 20 53 75 6d 6d 61 72 79 20 74 65 73 74 73  un Summary tests
12a0: 0a 2f 2f 20 2e 20 46 65 61 74 75 72 65 3a 20 2d  .// . Feature: -
12b0: 67 65 6e 65 72 61 74 65 2d 69 6e 64 65 78 2d 74  generate-index-t
12c0: 72 65 65 0a 2f 2f 20 2e 20 43 68 61 6e 67 65 20  ree.// . Change 
12d0: 73 70 65 63 69 66 69 6e 67 20 6f 66 20 73 74 61  specifing of sta
12e0: 74 65 20 61 6e 64 20 73 74 61 74 75 73 20 74 6f  te and status to
12f0: 20 75 73 65 20 53 54 41 54 45 31 2f 53 54 41 54   use STATE1/STAT
1300: 55 53 31 2c 53 54 41 54 45 32 2f 53 54 41 54 55  US1,STATE2/STATU
1310: 53 32 0a 2f 2f 20 0a 2f 2f 20 77 77 33 33 0a 2f  S2.// .// ww33./
1320: 2f 20 7e 7e 7e 7e 0a 2f 2f 20 0a 2f 2f 20 2e 20  / ~~~~.// .// . 
1330: 68 74 74 70 20 61 70 69 20 61 76 61 69 6c 61 62  http api availab
1340: 6c 65 20 66 6f 72 20 75 73 65 20 77 69 74 68 20  le for use with 
1350: 50 65 72 6c 2c 20 52 75 62 79 20 65 74 63 2e 20  Perl, Ruby etc. 
1360: 73 63 72 69 70 74 73 0a 2f 2f 20 2e 20 6d 65 67  scripts.// . meg
1370: 61 74 65 73 74 2e 63 6f 6e 66 69 67 20 73 65 74  atest.config set
1380: 75 70 20 65 6e 74 72 69 65 73 20 66 6f 72 3a 0a  up entries for:.
1390: 2f 2f 20 2e 2e 20 72 75 6e 20 6c 61 75 6e 63 68  // .. run launch
13a0: 69 6e 67 20 28 65 2e 67 2e 20 2f 62 69 6e 2f 73  ing (e.g. /bin/s
13b0: 68 20 25 43 4d 44 25 20 3e 20 2f 64 65 76 2f 6e  h %CMD% > /dev/n
13c0: 75 6c 6c 29 0a 2f 2f 20 2e 2e 20 62 72 6f 77 73  ull).// .. brows
13d0: 65 72 20 22 6b 6f 6e 71 75 65 72 6f 72 20 25 46  er "konqueror %F
13e0: 4e 41 4d 45 25 0a 2f 2f 20 0a 2f 2f 20 77 77 33  NAME%.// .// ww3
13f0: 34 0a 2f 2f 20 7e 7e 7e 7e 0a 2f 2f 20 0a 2f 2f  4.// ~~~~.// .//
1400: 20 2e 20 4d 61 72 6b 20 64 65 70 65 6e 64 65 6e   . Mark dependen
1410: 74 20 74 65 73 74 73 20 66 6f 72 20 63 6c 65 61  t tests for clea
1420: 6e 2f 72 65 72 75 6e 20 2d 72 65 72 75 6e 2d 64  n/rerun -rerun-d
1430: 6f 77 6e 73 74 72 65 61 6d 0a 2f 2f 20 2e 20 4f  ownstream.// . O
1440: 6e 20 72 75 6e 20 73 74 61 72 74 20 63 68 65 63  n run start chec
1450: 6b 20 66 6f 72 20 64 65 66 75 6e 63 74 20 74 65  k for defunct te
1460: 73 74 73 20 69 6e 20 52 55 4e 4e 49 4e 47 2c 20  sts in RUNNING, 
1470: 4c 41 55 4e 43 48 45 44 20 6f 72 20 52 45 4d 4f  LAUNCHED or REMO
1480: 54 45 48 4f 53 54 53 54 41 52 54 20 61 6e 64 20  TEHOSTSTART and 
1490: 63 6f 72 72 65 63 74 20 6f 72 20 6e 6f 74 69 66  correct or notif
14a0: 79 0a 2f 2f 20 2e 20 46 69 78 3a 20 72 65 66 72  y.// . Fix: refr
14b0: 65 73 68 20 6f 66 20 67 75 69 20 73 6f 6d 65 74  esh of gui somet
14c0: 69 6d 65 73 20 66 61 69 6c 73 20 6f 6e 20 6c 61  imes fails on la
14d0: 73 74 20 69 74 65 6d 20 28 72 61 63 65 20 63 6f  st item (race co
14e0: 6e 64 69 74 69 6f 6e 3f 29 0a 2f 2f 20 0a 2f 2f  ndition?).// .//
14f0: 20 77 77 33 35 0a 2f 2f 20 7e 7e 7e 7e 0a 2f 2f   ww35.// ~~~~.//
1500: 20 0a 2f 2f 20 2e 20 72 65 66 64 62 3a 20 41 64   .// . refdb: Ad
1510: 64 20 65 78 70 6f 72 74 20 6f 66 20 63 73 76 2c  d export of csv,
1520: 20 6a 73 6f 6e 20 61 6e 64 20 73 65 78 70 0a 2f   json and sexp./
1530: 2f 20 2e 20 43 6f 6e 76 65 72 74 20 74 6f 20 75  / . Convert to u
1540: 73 69 6e 67 20 63 61 6c 6c 2d 77 69 74 68 2d 65  sing call-with-e
1550: 6e 76 69 72 6f 6e 6d 65 6e 74 2d 76 61 72 69 61  nvironment-varia
1560: 62 6c 65 73 20 77 68 65 72 65 20 70 6f 73 73 69  bles where possi
1570: 62 6c 65 2e 20 53 68 6f 75 6c 64 20 61 6c 6c 6f  ble. Should allo
1580: 77 20 68 61 6e 64 6c 69 6e 67 20 6f 66 20 70 61  w handling of pa
1590: 72 61 6c 6c 65 6c 20 72 75 6e 73 20 69 6e 20 73  rallel runs in s
15a0: 61 6d 65 20 70 72 6f 63 65 73 73 2e 0a 2f 2f 20  ame process..// 
15b0: 2e 20 52 65 2d 77 6f 72 6b 20 74 65 78 74 20 69  . Re-work text i
15c0: 6e 74 65 72 66 61 63 65 20 77 69 7a 61 72 64 73  nterface wizards
15d0: 2e 20 53 65 76 65 72 61 6c 20 62 75 67 73 20 6f  . Several bugs o
15e0: 6e 20 72 65 63 6f 72 64 2e 20 50 6f 73 73 69 62  n record. Possib
15f0: 6c 79 20 63 6f 6e 76 65 72 74 20 74 6f 20 67 75  ly convert to gu
1600: 69 20 62 61 73 65 64 2e 0a 2f 2f 20 2e 20 41 64  i based..// . Ad
1610: 64 20 74 6f 20 74 65 73 74 63 6f 6e 66 69 67 20  d to testconfig 
1620: 72 65 71 75 69 72 65 6d 65 6e 74 73 20 73 65 63  requirements sec
1630: 74 69 6f 6e 3b 20 6c 61 75 6e 63 68 6c 69 6d 69  tion; launchlimi
1640: 74 65 72 20 73 63 72 69 70 74 6e 61 6d 65 2c 20  ter scriptname, 
1650: 63 61 6c 6c 73 20 73 63 72 69 70 74 6e 61 6d 65  calls scriptname
1660: 20 74 6f 20 63 68 65 63 6b 20 69 66 20 6f 6b 20   to check if ok 
1670: 74 6f 20 6c 61 75 6e 63 68 20 74 65 73 74 0a 2f  to launch test./
1680: 2f 20 2e 20 52 65 66 61 63 74 6f 72 20 52 75 6e  / . Refactor Run
1690: 20 53 75 6d 6d 61 72 79 20 76 69 65 77 2c 20 63   Summary view, c
16a0: 75 72 72 65 6e 74 6c 79 20 76 65 72 79 20 63 6c  urrently very cl
16b0: 75 6d 73 79 0a 2f 2f 20 2e 20 41 64 64 20 6f 70  umsy.// . Add op
16c0: 74 69 6f 6e 20 74 6f 20 73 68 6f 77 20 73 74 65  tion to show ste
16d0: 70 73 20 69 6e 20 52 75 6e 20 53 75 6d 6d 61 72  ps in Run Summar
16e0: 79 20 76 69 65 77 0a 2f 2f 20 0a 2f 2f 20 77 77  y view.// .// ww
16f0: 33 36 0a 2f 2f 20 7e 7e 7e 7e 0a 2f 2f 20 0a 2f  36.// ~~~~.// ./
1700: 2f 20 2e 20 52 65 66 61 63 74 6f 72 20 67 75 69  / . Refactor gui
1710: 73 20 66 6f 72 20 72 65 73 69 7a 65 61 62 6c 69  s for resizeabli
1720: 74 79 0a 2f 2f 20 2e 20 41 64 64 20 66 69 6c 74  ty.// . Add filt
1730: 65 72 73 20 74 6f 20 52 75 6e 20 53 75 6d 6d 61  ers to Run Summa
1740: 72 79 20 76 69 65 77 20 61 6e 64 20 52 75 6e 20  ry view and Run 
1750: 43 6f 6e 74 72 6f 6c 20 76 69 65 77 0a 2f 2f 20  Control view.// 
1760: 2e 20 41 64 64 20 74 6f 20 6d 65 67 61 74 65 73  . Add to megates
1770: 74 2e 63 6f 6e 66 69 67 20 6f 72 20 74 65 73 74  t.config or test
1780: 63 6f 6e 66 69 67 3b 20 72 65 72 75 6e 6f 6b 20  config; rerunok 
1790: 53 54 41 54 45 2f 53 54 41 54 55 53 2c 53 54 41  STATE/STATUS,STA
17a0: 54 45 2f 53 54 41 54 55 53 2e 2e 2e 0a 2f 2f 20  TE/STATUS....// 
17b0: 2e 20 4c 61 75 6e 63 68 20 67 61 74 65 73 20 66  . Launch gates f
17c0: 6f 72 20 64 69 73 6b 73 70 61 63 65 3b 20 2f 70  or diskspace; /p
17d0: 61 74 68 2f 6f 6e 65 3e 31 47 2c 2f 70 61 74 68  ath/one>1G,/path
17e0: 2f 74 77 6f 3e 32 30 30 4d 2c 2f 74 6d 70 3e 35  /two>200M,/tmp>5
17f0: 47 2c 23 7b 73 63 68 65 6d 65 20 2a 74 6f 70 70  G,#{scheme *topp
1800: 61 74 68 2a 7d 3e 31 47 0a 2f 2f 20 0a 2f 2f 20  ath*}>1G.// .// 
1810: 42 69 6e 20 4c 69 73 74 0a 2f 2f 20 7e 7e 7e 7e  Bin List.// ~~~~
1820: 7e 7e 7e 7e 0a 2f 2f 20 0a 2f 2f 20 2e 09 51 75  ~~~~.// .// ..Qu
1830: 61 6c 69 74 79 20 69 6d 70 72 6f 76 65 6d 65 6e  ality improvemen
1840: 74 73 0a 2f 2f 20 2e 2e 09 53 65 72 76 65 72 20  ts.// ...Server 
1850: 73 74 75 74 74 65 72 73 20 6f 63 63 61 73 69 6f  stutters occasio
1860: 6e 61 6c 6c 79 0a 2f 2f 20 2e 2e 09 4c 61 72 67  nally.// ...Larg
1870: 65 20 6e 75 6d 62 65 72 20 6f 66 20 69 74 65 6d  e number of item
1880: 73 20 6f 72 20 74 65 73 74 73 20 73 74 69 6c 6c  s or tests still
1890: 20 68 61 73 20 73 6f 6d 65 20 69 73 73 75 65 73   has some issues
18a0: 2e 0a 2f 2f 20 2e 2e 09 43 6f 64 65 20 72 65 66  ..// ...Code ref
18b0: 61 63 74 6f 72 69 6e 67 0a 2f 2f 20 2e 2e 09 52  actoring.// ...R
18c0: 65 70 6c 61 63 65 20 72 65 6d 6f 74 65 20 70 72  eplace remote pr
18d0: 6f 63 65 73 73 20 77 69 74 68 20 74 72 75 65 20  ocess with true 
18e0: 41 50 49 20 75 73 69 6e 67 20 6a 73 6f 6e 20 28  API using json (
18f0: 73 75 70 70 6f 72 74 73 20 57 65 62 20 61 70 70  supports Web app
1900: 20 61 6c 73 6f 29 0a 2f 2f 20 2e 09 53 74 72 65   also).// ..Stre
1910: 61 6d 6c 69 6e 65 20 74 68 65 20 67 75 69 0a 2f  amline the gui./
1920: 2f 20 2e 2e 09 45 76 65 72 79 74 68 69 6e 67 20  / ...Everything 
1930: 72 65 73 69 7a 61 62 6c 65 0a 2f 2f 20 2e 2e 09  resizable.// ...
1940: 4c 65 73 73 20 63 6c 75 74 74 65 72 0a 2f 2f 20  Less clutter.// 
1950: 2e 2e 09 54 6f 6f 6c 20 74 69 70 73 0a 2f 2f 20  ...Tool tips.// 
1960: 2e 2e 09 46 69 6c 74 65 72 73 20 6f 6e 20 52 75  ...Filters on Ru
1970: 6e 20 53 75 6d 6d 61 72 79 2c 20 53 75 6d 6d 61  n Summary, Summa
1980: 72 79 20 61 6e 64 20 52 75 6e 20 43 6f 6e 74 72  ry and Run Contr
1990: 6f 6c 20 70 61 6e 65 6c 0a 2f 2f 20 2e 2e 09 42  ol panel.// ...B
19a0: 75 69 6c 74 20 69 6e 20 6c 6f 67 20 76 69 65 77  uilt in log view
19b0: 65 72 20 28 70 61 72 74 69 61 6c 6c 79 20 69 6d  er (partially im
19c0: 70 6c 65 6d 65 6e 74 65 64 29 0a 2f 2f 20 2e 2e  plemented).// ..
19d0: 09 52 65 66 61 63 74 6f 72 20 74 68 65 20 74 65  .Refactor the te
19e0: 73 74 20 63 6f 6e 74 72 6f 6c 20 70 61 6e 65 6c  st control panel
19f0: 0a 2f 2f 20 2e 09 48 65 6c 70 20 61 6e 64 20 64  .// ..Help and d
1a00: 6f 63 75 6d 65 6e 74 61 74 69 6f 6e 0a 2f 2f 20  ocumentation.// 
1a10: 2e 2e 09 43 6f 6d 70 6c 65 74 65 20 74 68 65 20  ...Complete the 
1a20: 75 73 65 72 20 6d 61 6e 75 61 6c 20 28 49 e2 80  user manual (Iâ€
1a30: 99 76 65 20 62 65 65 6e 20 77 6f 72 6b 69 6e 67  ™ve been working
1a40: 20 6f 6e 20 74 68 69 73 20 6c 61 74 65 6c 79 29   on this lately)
1a50: 2e 0a 2f 2f 20 2e 2e 09 4f 6e 6c 69 6e 65 20 68  ..// ...Online h
1a60: 65 6c 70 20 69 6e 20 74 68 65 20 67 75 69 0a 2f  elp in the gui./
1a70: 2f 20 2e 09 53 74 72 65 61 6d 6c 69 6e 65 64 20  / ..Streamlined 
1a80: 69 6e 73 74 61 6c 6c 0a 2f 2f 20 2e 2e 09 44 65  install.// ...De
1a90: 70 6c 6f 79 65 64 20 76 65 72 73 69 6f 6e 20 28  ployed version (
1aa0: 64 6f 77 6e 6c 6f 61 64 20 61 20 6c 6f 63 61 74  download a locat
1ab0: 69 6f 6e 20 69 6e 64 65 70 65 6e 64 65 6e 74 20  ion independent 
1ac0: 72 65 61 64 79 20 74 6f 20 72 75 6e 20 62 69 6e  ready to run bin
1ad0: 61 72 79 20 62 75 6e 64 6c 65 29 0a 2f 2f 20 2e  ary bundle).// .
1ae0: 2e 09 49 6e 73 74 61 6c 6c 20 4d 61 6b 65 66 69  ..Install Makefi
1af0: 6c 65 20 28 69 6e 20 70 72 6f 67 72 65 73 73 2c  le (in progress,
1b00: 20 6e 65 65 64 65 64 20 66 6f 72 20 4d 69 6b 65   needed for Mike
1b10: 20 74 6f 20 69 6e 73 74 61 6c 6c 20 6f 6e 20 56   to install on V
1b20: 4d 73 29 0a 2f 2f 20 2e 2e 09 41 64 64 65 64 20  Ms).// ...Added 
1b30: 6f 70 74 69 6f 6e 20 74 6f 20 63 6f 6d 70 69 6c  option to compil
1b40: 65 20 49 55 50 20 28 6e 65 65 64 65 64 20 66 6f  e IUP (needed fo
1b50: 72 20 56 4d 73 29 0a 2f 2f 20 2e 09 53 65 72 76  r VMs).// ..Serv
1b60: 65 72 20 73 69 64 65 20 72 75 6e 20 6c 61 75 6e  er side run laun
1b70: 63 68 69 6e 67 0a 2f 2f 20 2e 09 53 75 70 70 6f  ching.// ..Suppo
1b80: 72 74 20 66 6f 72 20 72 65 2d 72 75 6e 6e 69 6e  rt for re-runnin
1b90: 67 2c 20 63 6c 65 61 6e 69 6e 67 20 65 74 63 2e  g, cleaning etc.
1ba0: 20 6f 66 20 69 6e 64 69 76 69 64 75 61 6c 20 73   of individual s
1bb0: 74 65 70 73 20 28 65 7a 73 74 65 70 73 20 6d 61  teps (ezsteps ma
1bc0: 6b 65 73 20 74 68 69 73 20 76 65 72 79 20 65 61  kes this very ea
1bd0: 73 79 20 74 6f 20 69 6d 70 6c 65 6d 65 6e 74 29  sy to implement)
1be0: 2e 0a 2f 2f 20 2e 09 4c 61 75 6e 63 68 20 70 72  ..// ..Launch pr
1bf0: 6f 63 65 73 73 20 6e 65 65 64 73 20 62 75 69 6c  ocess needs buil
1c00: 74 20 69 6e 20 64 61 65 6d 6f 6e 69 7a 69 6e 67  t in daemonizing
1c10: 20 28 65 61 73 79 20 74 6f 20 64 6f 2c 20 6a 75   (easy to do, ju
1c20: 73 74 20 6e 65 65 64 20 74 6f 20 74 65 73 74 20  st need to test 
1c30: 69 74 20 74 68 6f 72 6f 75 67 68 6c 79 29 2e 0a  it thoroughly)..
1c40: 2f 2f 20 2e 09 57 69 7a 61 72 64 73 20 66 6f 72  // ..Wizards for
1c50: 20 63 72 65 61 74 69 6e 67 20 74 65 73 74 73 2c   creating tests,
1c60: 20 72 65 67 72 65 73 73 69 6f 6e 20 61 72 65 61   regression area
1c70: 73 20 28 63 75 72 72 65 6e 74 20 6f 6e 65 73 20  s (current ones 
1c80: 61 72 65 20 74 65 78 74 20 6f 6e 6c 79 20 61 6e  are text only an
1c90: 64 20 6c 69 6d 69 74 65 64 29 2e 0a 2f 2f 20 2e  d limited)..// .
1ca0: 09 46 75 6c 6c 79 20 66 75 6e 63 74 69 6f 6e 61  .Fully functiona
1cb0: 6c 20 62 75 69 6c 74 20 69 6e 20 77 65 62 20 73  l built in web s
1cc0: 65 72 76 69 63 65 20 28 63 75 72 72 65 6e 74 6c  ervice (currentl
1cd0: 79 20 79 6f 75 20 63 61 6e 20 62 72 6f 77 73 65  y you can browse
1ce0: 20 72 75 6e 73 20 62 75 74 20 69 74 20 69 73 20   runs but it is 
1cf0: 76 65 72 79 20 73 69 6d 70 6c 69 73 74 69 63 29  very simplistic)
1d00: 2e 0a 2f 2f 20 2e 09 57 69 6c 64 63 61 72 64 73  ..// ..Wildcards
1d10: 20 69 6e 20 72 75 6e 63 6f 6e 66 69 67 73 3a 20   in runconfigs: 
1d20: 65 2e 67 2e 20 5b 70 31 32 37 31 2f 39 2f 25 2f  e.g. [p1271/9/%/
1d30: 25 5d 0a 2f 2f 20 2e 09 47 75 69 20 70 61 6e 65  %].// ..Gui pane
1d40: 6c 73 20 66 6f 72 20 65 64 69 74 69 6e 67 20 6d  ls for editing m
1d50: 65 67 61 74 65 73 74 2e 63 6f 6e 66 69 67 20 61  egatest.config a
1d60: 6e 64 20 72 75 6e 63 6f 6e 66 69 67 73 2e 63 6f  nd runconfigs.co
1d70: 6e 66 69 67 0a 2f 2f 20 2e 09 46 75 6c 6c 79 20  nfig.// ..Fully 
1d80: 69 73 6f 6c 61 74 65 64 20 74 65 73 74 73 20 28  isolated tests (
1d90: 6e 6f 20 75 73 65 20 6f 66 20 4e 46 53 20 74 6f  no use of NFS to
1da0: 20 73 65 65 20 72 65 67 72 65 73 73 69 6f 6e 20   see regression 
1db0: 61 72 65 61 20 66 69 6c 65 73 29 0a 2f 2f 20 2e  area files).// .
1dc0: 09 57 69 6e 64 6f 77 73 20 76 65 72 73 69 6f 6e  .Windows version
1dd0: 0a                                               .