(Install host) |
(Verify client) |
||
Line 3: | Line 3: | ||
The procedure for adding a test system as a autotest client is described below. This example requires a working autotest server [[Install_and_configure_autotest|installed and configured]]. | The procedure for adding a test system as a autotest client is described below. This example requires a working autotest server [[Install_and_configure_autotest|installed and configured]]. | ||
= Install | = Install client = | ||
It doesn't matter what operating system you install on the host as long as our packages are built for it. | It doesn't matter what operating system you install on the host as long as our packages are built for it. | ||
# Add the same repositories as mentioned in the [[Install_and_configure_autotest#Use_the_right_repos|autotest-server installation guide]]. | # Add the same repositories as mentioned in the [[Install_and_configure_autotest#Use_the_right_repos|autotest-server installation guide]]. | ||
Line 9: | Line 9: | ||
# Comment out all lines in {{filename|/etc/cron.d/autoqa}}. | # Comment out all lines in {{filename|/etc/cron.d/autoqa}}. | ||
= | = Register client = | ||
The test system must be added to the autotest database: | The test system must be added to the autotest database: | ||
# Direct your web browser to your autotest server | # Direct your web browser to your autotest server | ||
Line 28: | Line 28: | ||
For additional documentation, consult the [http://autotest.kernel.org/wiki/SysAdmin autotest system administrator documentation]. | For additional documentation, consult the [http://autotest.kernel.org/wiki/SysAdmin autotest system administrator documentation]. | ||
= | = Verify client = | ||
This procedure should help you to ensure everything is setup properly: | |||
# Direct your web browser to your autotest server | |||
# Click ''Host List'' | |||
# Select your newly-added client with a checkbox | |||
# Click ''Actions → Reverify hosts'' | |||
# Your new client's status should change to ''Verifying''. If everything is correct, it should change back to ''Ready'' in a minute (refresh the page). | |||
[[Category:AutoQA]] | [[Category:AutoQA]] |
Revision as of 12:12, 19 July 2010
The procedure for adding a test system as a autotest client is described below. This example requires a working autotest server installed and configured.
Install client
It doesn't matter what operating system you install on the host as long as our packages are built for it.
- Add the same repositories as mentioned in the autotest-server installation guide.
- Install packages
autotest
andautoqa
. - Comment out all lines in
/etc/cron.d/autoqa
.
Register client
The test system must be added to the autotest database:
- Direct your web browser to your autotest server
- Click Admin interface
- Select Hosts
- Select Add host
- Enter a valid hostname and select appropriate labels for the system. For information on the labels AutoQA uses, see Managing autotest labels.
- When finished, click Save
Enable Login Access
The autotest server relies on passwordless ssh logins to communicate with test clients. The procedure below outlines a method for establishing passwordless ssh login.
- First, login to the autotest server using
ssh
- Next, start a shell as the autotest user
# su - autotest
- Now, install your public key in a remote machine’s
authorized_keys
file# ssh-copy-id -i $HOME/.ssh/id_rsa.pub root@client.example.com
- Finally, confirm that passwordless logins function as expected. When substituting your client hostname, the following command should not prompt for a password:
# ssh root@client.example.com
For additional documentation, consult the autotest system administrator documentation.
Verify client
This procedure should help you to ensure everything is setup properly:
- Direct your web browser to your autotest server
- Click Host List
- Select your newly-added client with a checkbox
- Click Actions → Reverify hosts
- Your new client's status should change to Verifying. If everything is correct, it should change back to Ready in a minute (refresh the page).