From Fedora Project Wiki

< QA‎ | TestCases

No edit summary
No edit summary
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Test if USB Ethernet adapter works. You'll need a USB network adapter for this test.
|description=This test case helps you generate and upload boot speed data when booting with a typical set of services for a desktop.
|actions=
|actions=
# Boot the system
# Ensure Bootchart is installed according to [[Bootchart|these instructions]]
# Plug in the USB adapter
# Ensure you have reported your system information to [http://www.smolts.org Smolt] according to [http://smolts.org/smolt-wiki/Main_Page#Usage these instructions]
# Ensure the ''readahead'' package is installed, with yum or the graphical package manager
# Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="yes"'' to ''READAHEAD="no"'' if it is currently set to yes
# Using '''system-config-services''' or '''ntsysv''', ensure that only the following services are activated at boot: NetworkManager, acpid, atd, auditd, avahi-daemon, bluetooth, cpuspeed, crond, cups, gpm, haldaemon, ip6tables, iptables, irda, irqbalance, isdn, kerneloops, lm_sensors, mdmonitor, messagebus, microcode_ctl, netfs, nfslock, pcscd, portreserve, rpcbind, rpcgssd, rpcidmapd, rsyslog, sendmail, smolt, sshd, udev-post
# Reboot the system
# Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): <pre>cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-desktop.tgz</pre>
# Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="no"'' to ''READAHEAD="yes"'' if it is currently set to no
# Type: <pre>touch /.readahead_collect</pre>
# Reboot, then as soon as the system is fully booted, reboot again
# Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy): <pre>cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-desktop-ra.tgz</pre>
# Optionally, you can run the command ''bootchart'' as root to generate a bootchart image, then save that with a similar, unique filename
|results=
|results=
# An appropriate kernel module is loaded (if not already) for your device
# Two different sets of boot speed data should be generated and saved with unique file names.
# Additional Ethernet interface appears (such as eth1)
# You're able to use the new interface with NetworkManager or ifconfig
# You have network connectivity (or Internet access)
}}
}}
[[Category:USB_test_cases]]
[[Category:USB_test_cases]]
[[Category:Networking]]

Revision as of 10:10, 1 March 2012

Description

This test case helps you generate and upload boot speed data when booting with a typical set of services for a desktop.


How to test

  1. Ensure Bootchart is installed according to these instructions
  2. Ensure you have reported your system information to Smolt according to these instructions
  3. Ensure the readahead package is installed, with yum or the graphical package manager
  4. Edit the file /etc/sysconfig/readahead and change READAHEAD="yes" to READAHEAD="no" if it is currently set to yes
  5. Using system-config-services or ntsysv, ensure that only the following services are activated at boot: NetworkManager, acpid, atd, auditd, avahi-daemon, bluetooth, cpuspeed, crond, cups, gpm, haldaemon, ip6tables, iptables, irda, irqbalance, isdn, kerneloops, lm_sensors, mdmonitor, messagebus, microcode_ctl, netfs, nfslock, pcscd, portreserve, rpcbind, rpcgssd, rpcidmapd, rsyslog, sendmail, smolt, sshd, udev-post
  6. Reboot the system
  7. Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy):
    cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-desktop.tgz
  8. Edit the file /etc/sysconfig/readahead and change READAHEAD="no" to READAHEAD="yes" if it is currently set to no
  9. Type:
    touch /.readahead_collect
  10. Reboot, then as soon as the system is fully booted, reboot again
  11. Log in, then run this command (from your home directory, or from a specially created directory if you want to keep things tidy):
    cp /var/log/bootchart.tgz ./Bootchart-`head -n1 /etc/sysconfig/hw-uuid`-desktop-ra.tgz
  12. Optionally, you can run the command bootchart as root to generate a bootchart image, then save that with a similar, unique filename

Expected Results

  1. Two different sets of boot speed data should be generated and saved with unique file names.