Cluster Testing¶
Tests for cluster testing:
Install¶
| Test | Owner | Status/Notes |
|---|---|---|
| can a cluster be installed using existing documentation? | Mary | |
| Configuations: | ||
| Web/Db Server, agent machines | Mary | |
| Web/Db/agents on server, agents on agent machine | Mary | |
| web server, db server, agent machines | Mary | |
| Others? | ?? | |
| Can a cluster be installed without manually editing fossology *.conf files? | Mary |
Cluster Ops¶
| Test | Owner | Status/Notes |
|---|---|---|
| cluster where agents only run on agent machines, verify true. | Mary | |
| cluster where agents run on bother web/db server and agents, verify agents run on both machines. | Mary | |
| cluster with multiple agent machines, do agents for a given job run on only one machine or multiple? | Mary | |
| cluster with multiple agent machines, do agents for multiple jobs run on only one machine or multiple? | Mary |
Functionality¶
| Test | Owner | Status/Notes |
|---|---|---|
| Verify Upload from file works | Mary | |
| Verify Upload from url works | Mary | |
| Verify Upload from server works | Mary | |
| Verify one-shot nomos works | Mary | |
| Verify Upload one shot copyright works | Mary | |
| upload a tar with a known number of files in it (contents are known as well),verify files are in the gold and files repo's. | Mary |
Other items¶
Since the way clusters work in 2.0 has changed, here are some questions that can turn into test cases.
| Test | Owner | Status/Notes |
|---|---|---|
| Where are the agent logs in the repo? Db server? Web Server? or Agent machines? | Mary | |
| What happens to the agents on the agent machine when the scheduler is shut down? | Mary | |
| In a cluster with a separate web server (i.e. separate db server), stop the scheduler, does the ui report it stopped? | Mary |
Stress Tests¶
Ensure there is enough disk space for multiple large uploads. Make sure that uploads have agents scheduled, like
| Test | Owner | Status/Notes |
|---|---|---|
| upload a distro iso, e.g. debian, fedora, RH. | Mary | |
| Busy the system up with multiple large uploads. All should be processed with no failures in any agents. | Team | |
| While large uploads are running and being processed, upload a smaller job and make sure it gets run in a resonable time | Mary/Mark | |
| While jobs are running, delete other uploads and ensure they are processed when other jobs end. | Mary | |
| Run a number of uploads at once... pause some, change priorities, resume, cancel some | Mary |