Cluster Test Cases
Version 8 (Mary Laser, 02/11/2012 06:55 pm) → Version 9/23 (Mary Laser, 02/11/2012 06:59 pm)
{{toc}}
h1. Cluster Test Cases
Below is a list of cluster test cases to be executed by one or more members of the team.
h2. Cluster configuration tests (Verify agents run on systems as configured)
h3. agents only, round robin test
table{border:1px solid black}.
|_.Purpose | Verify only agents run jobs in a round robin fashion|
|_.Dependencies | properly installed running cluster w/at least 2 agent systems|
table{border:1px color:black}.
|_. Step |_.Action |_.Expected Results|
|1. | stop scheduler with /etc/init.d/fossology stop | scheduler should do a graceful shutdown |
|2. | edit [HOSTS] section of fossology.conf file to specify agents only | example:
griphook = griphook /usr/local/etc/fossology 10
pigwidgeon = pigwidgeon/usr/local/etc/fossology 10 |
|3. | edit /etc/init.d/fossology to increase log file verbosity | SCHEDULEROPT="--daemon --reset --verbose=952" |
|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" |
|5. | Start several jobs; a 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
example:
@2012-02-07 12:41:25 scheduler [25509] :: Starting JOB[1].wget_agent
2012-02-07 12:41:25 scheduler [25509] :: HOST[griphook] load increased to 1@
...
@2012-02-07 12:50:59 scheduler [25509] :: Starting JOB[2].ununpack
2012-02-07 12:50:59 scheduler [25509] :: HOST[pigwidgeon] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[3].adj2nest
2012-02-07 12:51:37 scheduler [25509] :: HOST[griphook] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[4].copyright
2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[5].nomos
2012-02-07 12:51:37 scheduler [25509] :: HOST[griphook] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[6].pkgagent
2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 2@ |
h2. Cluster functional tests
h3. Upload from file
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. Upload from URL
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. Upload from server
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. One-shot nomos
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. One-shot copyright
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h1. Cluster Test Cases
Below is a list of cluster test cases to be executed by one or more members of the team.
h2. Cluster configuration tests (Verify agents run on systems as configured)
h3. agents only, round robin test
table{border:1px solid black}.
|_.Purpose | Verify only agents run jobs in a round robin fashion|
|_.Dependencies | properly installed running cluster w/at least 2 agent systems|
table{border:1px color:black}.
|_. Step |_.Action |_.Expected Results|
|1. | stop scheduler with /etc/init.d/fossology stop | scheduler should do a graceful shutdown |
|2. | edit [HOSTS] section of fossology.conf file to specify agents only | example:
griphook = griphook /usr/local/etc/fossology 10
pigwidgeon = pigwidgeon/usr/local/etc/fossology 10 |
|3. | edit /etc/init.d/fossology to increase log file verbosity | SCHEDULEROPT="--daemon --reset --verbose=952" |
|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" |
|5. | Start several jobs; a 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
example:
@2012-02-07 12:41:25 scheduler [25509] :: Starting JOB[1].wget_agent
2012-02-07 12:41:25 scheduler [25509] :: HOST[griphook] load increased to 1@
...
@2012-02-07 12:50:59 scheduler [25509] :: Starting JOB[2].ununpack
2012-02-07 12:50:59 scheduler [25509] :: HOST[pigwidgeon] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[3].adj2nest
2012-02-07 12:51:37 scheduler [25509] :: HOST[griphook] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[4].copyright
2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[5].nomos
2012-02-07 12:51:37 scheduler [25509] :: HOST[griphook] load increased to 1@
...
@2012-02-07 12:51:37 scheduler [25509] :: Starting JOB[6].pkgagent
2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 2@ |
h2. Cluster functional tests
h3. Upload from file
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. Upload from URL
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. Upload from server
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. One-shot nomos
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |
h3. One-shot copyright
table{border:5px, color:black}.
|_.Purpose | |
|_.Dependencies | |
table{border:1px solid black}.
|_. Step |_.Action |_.Expected Results|
|1. | | |
|2. | | |
|3. | | |