Cluster Test Cases
Version 15 (Dong Ma, 02/15/2012 09:04 am)
| 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 | 8 | Mary Laser | h2. Cluster configuration tests (Verify agents run on systems as configured) |
| 8 | 1 | Mary Laser | |
| 9 | 6 | Mary Laser | h3. agents only, round robin test |
| 10 | 1 | Mary Laser | |
| 11 | 1 | Mary Laser | table{border:1px solid black}. |
| 12 | 11 | Mary Laser | |_.Purpose | Verify only agents run jobs using round robin load balancing| |
| 13 | 10 | Mary Laser | |_.Dependencies | must be tested in a 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 | 7 | Mary Laser | |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 |
| 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 | 1 | Mary Laser | 2012-02-07 12:51:37 scheduler [25509] :: HOST[pigwidgeon] load increased to 2@ | |
| 43 | 8 | Mary Laser | |
| 44 | 8 | Mary Laser | h2. Cluster functional tests |
| 45 | 8 | Mary Laser | |
| 46 | 8 | Mary Laser | h3. Upload from file |
| 47 | 8 | Mary Laser | |
| 48 | 8 | Mary Laser | table{border:5px, color:black}. |
| 49 | 10 | Mary Laser | |_.Purpose | Verify upload from file works in a cluster | |
| 50 | 10 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 51 | 8 | Mary Laser | |
| 52 | 8 | Mary Laser | table{border:1px solid black}. |
| 53 | 8 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 54 | 14 | Dong Ma | |1. |Click on the top level "Upload" pull down menu & select "From File" |UI should display "Upload a New File" page| |
| 55 | 14 | Dong Ma | |2. |Complete steps 1-5 on the page, supplying a file on your local system; click the "Upload" |page should refresh with message at the top indicating a job has started to upload your request with a link to view the job status | |
| 56 | 14 | Dong Ma | |3. | click on the upload link for your job |UI should display "Show Jobs" page with your requested upload & 2 jobs: ununpack & adj2nest | |
| 57 | 14 | Dong Ma | |4. | When all 2 jobs are completed, click the job # in the far left to view the log files for each |verify all 2 jobs ran without any fatal errors | |
| 58 | 14 | Dong Ma | |5. | Return to the show jobs page and click on the upload name to browse | UI should display your upload in the "Browse" page| |
| 59 | 8 | Mary Laser | |
| 60 | 12 | Mary Laser | h3. Upload a file using "Upload from URL" |
| 61 | 8 | Mary Laser | |
| 62 | 8 | Mary Laser | table{border:5px, color:black}. |
| 63 | 12 | Mary Laser | |_.Purpose | Verify a file can be uploaded using Upload from URL in a cluster | |
| 64 | 10 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 65 | 8 | Mary Laser | |
| 66 | 1 | Mary Laser | table{border:1px solid black}. |
| 67 | 1 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 68 | 12 | Mary Laser | |1. | Click on the top level "Upload" pull down menu & select "Upload from URL"| UI should display "Upload from URL" page| |
| 69 | 12 | Mary Laser | |2. | Complete steps 1-4 on the page, supplying a _valid_ URL to a _file_; click the "Upload!" button at the bottom of the page|page should refresh with message at the top indicating a job has started to upload your request with a link to view the job status| |
| 70 | 12 | Mary Laser | |3. | click on the upload link for your job |UI should display "Show Jobs" page with your requested upload & 3 jobs: wget_agent, ununpack & adj2nest | |
| 71 | 12 | Mary Laser | |4. | When all 3 jobs are completed, click the job # in the far left to view the log files for each |verify all 3 jobs ran without any fatal errors | |
| 72 | 12 | Mary Laser | |5. | Return to the show jobs page and click on the upload name to browse | UI should display your upload in the "Browse" page| |
| 73 | 12 | Mary Laser | |
| 74 | 12 | Mary Laser | h3. Upload a directory _and it's contents_ using "Upload from URL" |
| 75 | 12 | Mary Laser | |
| 76 | 12 | Mary Laser | table{border:5px, color:black}. |
| 77 | 12 | Mary Laser | |_.Purpose | Verify a directory and it's contents can be uploaded using Upload from URL in a cluster | |
| 78 | 12 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 79 | 12 | Mary Laser | |
| 80 | 12 | Mary Laser | table{border:1px solid black}. |
| 81 | 12 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 82 | 12 | Mary Laser | |1. | Click on the top level "Upload" pull down menu & select "Upload from URL"| UI should display "Upload from URL" page| |
| 83 | 12 | Mary Laser | |2. | Complete steps 1-4 on the page, supplying a _valid_ URL to a _directory_ containing at least 2 items; click the "Upload!" button at the bottom of the page|page should refresh with message at the top indicating a job has started to upload your request with a link to view the job status| |
| 84 | 12 | Mary Laser | |3. | click on the upload link for your job |UI should display "Show Jobs" page with your requested upload & 3 jobs: wget_agent, ununpack & adj2nest | |
| 85 | 12 | Mary Laser | |4. | When all 3 jobs are completed, click the job # in the far left to view the log files for each |verify all 3 jobs ran without any fatal errors | |
| 86 | 12 | Mary Laser | |5. | Return to the show jobs page and click on the upload name to browse | UI should display your upload in the "Browse" page| |
| 87 | 8 | Mary Laser | |
| 88 | 13 | Mary Laser | h3. "Upload from URL" works with wildcards |
| 89 | 13 | Mary Laser | |
| 90 | 13 | Mary Laser | table{border:5px, color:black}. |
| 91 | 13 | Mary Laser | |_.Purpose | Verify wildcards work with Upload from URL in a cluster | |
| 92 | 13 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 93 | 13 | Mary Laser | |
| 94 | 13 | Mary Laser | table{border:1px solid black}. |
| 95 | 13 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 96 | 13 | Mary Laser | |1. | Click on the top level "Upload" pull down menu & select "Upload from URL"| UI should display "Upload from URL" page| |
| 97 | 13 | Mary Laser | |2. | Complete steps 1-4, 5 and/or 6 on the page, supplying valid values for each; click the "Upload!" button at the bottom of the page|page should refresh with message at the top indicating a job has started to upload your request with a link to view the job status| |
| 98 | 13 | Mary Laser | |3. | click on the upload link for your job |UI should display "Show Jobs" page with your requested upload & 3 jobs: wget_agent, ununpack & adj2nest | |
| 99 | 13 | Mary Laser | |4. | When all 3 jobs are completed, click the job # in the far left to view the log files for each |verify all 3 jobs ran without any fatal errors | |
| 100 | 13 | Mary Laser | |5. | Return to the show jobs page and click on the upload name to browse | UI should display your upload in the "Browse" page| |
| 101 | 13 | Mary Laser | |
| 102 | 8 | Mary Laser | h3. Upload from server |
| 103 | 8 | Mary Laser | |
| 104 | 8 | Mary Laser | table{border:5px, color:black}. |
| 105 | 1 | Mary Laser | |_.Purpose | Verify upload from server works in a cluster | |
| 106 | 1 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 107 | 1 | Mary Laser | |
| 108 | 1 | Mary Laser | table{border:1px solid black}. |
| 109 | 8 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 110 | 14 | Dong Ma | |1. |Click on the top level "Upload" pull down menu & select "From Server" |UI should display "Upload from Server" page | |
| 111 | 14 | Dong Ma | |2. |Complete steps 1-6 on the page, supplying the files or directory on the server; click the "Upload!" button at the bottom of the page |page should refresh with message at the top indicating a job has started to upload your request with a link to view the job status | |
| 112 | 14 | Dong Ma | |3. | click on the upload link for your job |UI should display "Show Jobs" page with your requested upload & 2 jobs: ununpack & adj2nest | |
| 113 | 14 | Dong Ma | |4. | When all 2 jobs are completed, click the job # in the far left to view the log files for each |verify all 2 jobs ran without any fatal errors | |
| 114 | 14 | Dong Ma | |5. | Return to the show jobs page and click on the upload name to browse | UI should display your upload in the "Browse" page| |
| 115 | 9 | Mary Laser | |
| 116 | 9 | Mary Laser | h3. One-shot nomos |
| 117 | 9 | Mary Laser | |
| 118 | 9 | Mary Laser | table{border:5px, color:black}. |
| 119 | 10 | Mary Laser | |_.Purpose | Verify one-shot nomos works in a cluster | |
| 120 | 10 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 121 | 9 | Mary Laser | |
| 122 | 9 | Mary Laser | table{border:1px solid black}. |
| 123 | 9 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 124 | 15 | Dong Ma | |1. |Click on the top level "Upload" pull down menu & select "One-Shot Analysis" |UI should display "One-Shot License Analysis" page | |
| 125 | 15 | Dong Ma | |2. |Select the file to Upload; and click the "Analyze!" button |page should refresh with message at the top indicating license analysis result | |
| 126 | 9 | Mary Laser | |
| 127 | 9 | Mary Laser | h3. One-shot copyright |
| 128 | 9 | Mary Laser | |
| 129 | 9 | Mary Laser | table{border:5px, color:black}. |
| 130 | 10 | Mary Laser | |_.Purpose | Verify one-shot copyright works in a cluster | |
| 131 | 10 | Mary Laser | |_.Dependencies | must be tested in a cluster w/at least 1 agent system | |
| 132 | 1 | Mary Laser | |
| 133 | 9 | Mary Laser | table{border:1px solid black}. |
| 134 | 9 | Mary Laser | |_. Step |_.Action |_.Expected Results| |
| 135 | 15 | Dong Ma | |1. |Click on the top level "Upload" pull down menu & select "One-Shot Copyright/Email/URL" |UI should display "One-Shot Copyright/Email/URL Analysis" page | |
| 136 | 15 | Dong Ma | |2. |Select the file to Upload; and click the "Upload and scan" button |page should refresh with message at the top indicating copyright/email/URL analysis result | |