Cluster Test Cases

Version 5 (Mary Laser, 02/11/2012 06:38 pm)

1 1 Mary Laser
{{toc}}
2 1 Mary Laser
3 1 Mary Laser
h1. Cluster Test Cases
4 1 Mary Laser
5 1 Mary Laser
Below is a list of cluster test cases to be executed by one or more members of the team.
6 1 Mary Laser
7 1 Mary Laser
h2. Verify agents run on systems as configured
8 1 Mary Laser
9 5 Mary Laser
h3. agents only round robin test
10 1 Mary Laser
11 1 Mary Laser
table{border:1px solid black}.
12 5 Mary Laser
|_.Purpose | Verify only agents run jobs in a round robin fashion|
13 5 Mary Laser
|_.Dependencies | properly installed running cluster w/at least 2 agent systems|
14 1 Mary Laser
15 1 Mary Laser
16 1 Mary Laser
table{border:1px color:black}.
17 1 Mary Laser
|_. Step |_.Action |_.Expected Results|
18 1 Mary Laser
|1. | stop scheduler with /etc/init.d/fossology stop | scheduler should do a graceful shutdown |
19 1 Mary Laser
|2. | edit [HOSTS] section of fossology.conf file to specify agents only | example:
20 1 Mary Laser
griphook = griphook /usr/local/etc/fossology 10
21 1 Mary Laser
pigwidgeon = pigwidgeon/usr/local/etc/fossology 10 |
22 5 Mary Laser
|3. | edit /etc/init.d/fossology to increase log file verbosity  |  SCHEDULEROPT="--daemon --reset --verbose=952"   |
23 5 Mary Laser
|4. | start scheduler with /etc/init.d/fossology start | scheduler should start in background with no errors or warnings in the log file (/var/log/fossology/fossology.log); log file start banner should indicate "verbose: 952" |
24 5 Mary Laser
|5. | Start several jobs; an small upload with several analysis will do the trick  | observe and verify in the log file that jobs are started on agent systems +only+ in a round robin fashion
25 5 Mary Laser
example:
26 5 Mary Laser
@2012-02-07 12:41:25 scheduler [25509] :: Starting JOB[1].wget_agent
27 5 Mary Laser
2012-02-07 12:41:25 scheduler [25509] :: HOST[griphook] load increased to 1@
28 5 Mary Laser
...
29 5 Mary Laser
@2012-02-07 12:50:59 scheduler [25509] :: Starting JOB[2].ununpack
30 5 Mary Laser
2012-02-07 12:50:59 scheduler [25509] :: HOST[pigwidgeon] load increased to 1@
31 5 Mary Laser
...
32 5 Mary Laser
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[3].adj2nest
33 5 Mary Laser
2012-02-07 12:51:37 scheduler [25509] :: HOST[griphook] load increased to 1@
34 5 Mary Laser
...
35 5 Mary Laser
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[4].copyright
36 5 Mary Laser
2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 1@
37 5 Mary Laser
...
38 5 Mary Laser
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[5].nomos
39 5 Mary Laser
2012-02-07 12:51:37 scheduler [25509] :: HOST[griphook] load increased to 1@
40 5 Mary Laser
...
41 5 Mary Laser
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[6].pkgagent
42 5 Mary Laser
2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 2@  |