From Fedora Project Wiki

(explain how to apply firefox patch)
m (QA/Testcase bootchart full desktop start moved to QA:Testcase bootchart full desktop start: Move to QA namespace per jlaska's advice)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
# Edit the file ''/etc/sysconfig/readahead'' and change ''READAHEAD="yes"'' to ''READAHEAD="no"'' if it is currently set to yes
# 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  
# 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  
# Apply [http://harald.fedorapeople.org/downloads/bootchartd-firefox.patch this patch]: it will make bootchart finish when Firefox starts, not when the login manager starts. To apply the patch, run as root ''patch -p1 < bootchartd-firefox.patch''
# Apply [http://harald.fedorapeople.org/downloads/bootchartd-firefox.patch this patch]: it will make bootchart finish when Firefox starts, not when the login manager starts. To apply the patch, run as root ''patch -p0 < bootchartd-firefox.patch''
# Enable auto-login: see [http://rubbad.wordpress.com/2008/10/27/fedora-10-autologin/ this guide]
# Enable auto-login: see [http://rubbad.wordpress.com/2008/10/27/fedora-10-autologin/ this guide]
# Set Firefox to be started automatically on log in: use System / Preferences / Sessions to do this (click Add, set Name to Firefox, command to 'firefox', and click Add again)
# Set Firefox to be started automatically on log in: use System / Preferences / Sessions to do this (click Add, set Name to Firefox, command to 'firefox', and click Add again)

Latest revision as of 22:55, 24 February 2009

Description

This test case helps you generate and upload boot speed data when booting fully into a working desktop, with Firefox launched.


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. Apply this patch: it will make bootchart finish when Firefox starts, not when the login manager starts. To apply the patch, run as root patch -p0 < bootchartd-firefox.patch
  7. Enable auto-login: see this guide
  8. Set Firefox to be started automatically on log in: use System / Preferences / Sessions to do this (click Add, set Name to Firefox, command to 'firefox', and click Add again)
  9. Reboot the system
  10. 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-full.tgz
  11. Edit the file /etc/sysconfig/readahead and change READAHEAD="no" to READAHEAD="yes" if it is currently set to no
  12. touch /.readahead_collect
  13. Reboot, then as soon as the system is fully booted, reboot again
  14. 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-full-ra.tgz
  15. 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.