Web Frontend HOWTO

The Autotest web frontend can be used for

When you first bring up the frontend, you'll see something like this:

Job List

The interface initially shows the Job List tab, which allows you to browse existing jobs. The three links at the top filter jobs by status - you can view queued, running, or finished (which includes completed and aborted) jobs. You can also filter by job owner. The initial view shows queued jobs owned by you. Most recently submitted jobs are displayed first.

The Hosts column shows how many hosts in each job are currently in each state. You can use the Refresh button at the top to refresh the list (it won't refresh itself). Clicking on a job in the list brings up the View Job tab for the selected job.

View Job

The View Job tab shows details about a single job along with results and a link to log files.

The box at the top allows you to manually fetch a job by ID (or to refresh the page). The page displays basic info about the job, an abort button if the job has not completed, and the full contents of the job's control file. Below this, job results are displayed. These results come from the results backend <link?>, which is a separate application. There are also links to open the results backend in a new windows and to open the directory containing the job's raw logs, which can be useful for monitoring a job in detail while it's running or when a problem occurs and the job is not producing results. Finally, the table at the bottom shows all hosts the job was scheduled on and the current status of the job on each host.

Create Job

This tab allows you to create and submit a new job.

Hosts

This tab allows you to browse all hosts in the system.

The table can be searched and filtered by platform and status using the boxes at the top. The status filter defaults to "Repair failed", which is useful for finding dead hosts that need manual intervention. The columns can be sorted by clicking on the column headers. More functionality is planned for this tab in the future, such as locking hosts and repairing hosts.

Admin interface

Clicking the "Go to admin" link in the upper right corner takes you to the admin interface for managing hosts, labels, tests, and ACL groups.

This is the built-in Django admin system. Here you can browse, create, modify, and delete objects. The link in the upper right corner takes you back to the frontend. The different objects types appear on the Admin index page. Clicking on any object type takes you to a list of that object type.

The list can be sorted, searched, and filtered. The link at the top right allows you to create a new object, and clicking on any object takes you to the edit page for that object.

From this page you can fill in the information in the fields and click "Save" at the lower right corner to add or edit the object. You can also delete the object using the link at the lower left corner.

For help on the meanings of different fields, see the database documentation <link?>.

WebFrontendHowTo (last edited 2008-02-28 18:38:39 by JeremyOrlow)