XS Community Edition/0.3/Testing: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 152: Line 152:


Prerequisites.
Prerequisites.
#XO should be connected to XSCE.
#???


Steps.
Steps.
#Check the initial size of the squid cache directory: du -sh /library/cache.
#On XSCE Check the initial size of the squid cache directory: du -sh /library/cache.
#From the client XO's Browse Activity, surf the internet.
#On XO open Browse Activity and surf the internet.
#Check the cache directory size again and it should be larger.
#On XSCE Check the squid cache directory size again


Results.
Results.
#Cache size should increase
#???


==OLPC-update (rsync)==
==OLPC-update (rsync)==

Revision as of 08:33, 11 May 2013

XSCE Smoke Test

This set of test cases represents a quick smoke test that a build should pass. Please file bugs at https://sugardextrose.org/projects/xsce/issues .

Ideally tests will run against our reference hardware , XO-1.75. Over time, the test will run against more variations in hardware.

For more complete tests, please see https://sugardextrose.org/testlink/index.php .

Installation

Purpose.

  1. Verify the installation process works correctly.

Prerequisites.

  1. None

Steps.

  1. Install using the the instructions and a fresh OLPC-OS 13.1.0 or Fedora 18 install.

Results.

  1. The install should complete without errors.

Hardware

The XSCE can detect and utilize several types of hardware.

External SD Card

Purpose.

  1. Verify the External SD card used for additional storage is functional.

Prerequisites.

  1. SD card inserted into XO.

Steps.

  1. Mount /dev/mmcblk0p1

Results.

  1. Should report on /library

External USB Drive

Purpose.

  1. Verify the External USB hard drive used for additional storage is functional.

Prerequisites.

  1. External drive should be attached to XO via USB cable.

Steps.

  1. ???

Results.

  1. ???

Core Service

Core service should be tested using a School Server and a 'client' XO running 13.1.0.

Dynamic Host Configuration (dhcpd)

Purpose

  1. Verify the dynamic host configuration is functional.

Prerequisites.

  1. None

Steps

  1. Go to my neighborhood.
  2. Click on the name of your Access Point.

Result

  1. After a few seconds the connections status will change to "Connected."

Network Address Translation/NAT (iptables)

Purpose.

  1. Verify network address translation is functional.

Prerequisites

  1. XO should be connected to XSCE

Steps.

  1. In a browser, go to https://mail.google.com # any site with HTTPS

Results

  1. Site should open correctly

Internet Domain Name Server (named)

Purpose

  1. Verify the domain name server is functional.

Prerequisites.

  1. ???

Steps

  1. ???

Results

  1. ???

Registration (idmgr)

Purpose.

  1. Verify XO registration is functional.

Prerequisites

  1. XO should be connected to XSCE.

Steps

  1. Register the XSCE.

Results.

  1. Receive a message that registration was successful.
  2. Registration creates a directory named the XO's serial number in /library/users.

XMPP Server (ejabberd)

Purpose.

  1. Verify that the XMPP server is functional.

Prerequisites.

  1. XO should be registered.

Steps.

  1. If you get a message that registration failed, go to the Sugar Control Panel and in Network, clear out the collaboration server field. Upon successful registration, both XOs will appear in Network Neighborhood.
  2. To verify that ejabberd is managing collaboration and not the LAN, issue this in a root terminal:
  3. ejabberdctl connected-users

Results.

  1. ???

Ejabberd Web Interface

This isn't necessary for testing, but is fun to poke around in:

Register the admin user: ejabberdctl register admin schoolserver.local <password>

In a browser, go to http://schoolserver.local:5280/admin

The username is admin@schoolserver.local and the password is whatever you set above.

Extended Service

Apache Web Server (httpd)

Purpose.

  1. Verify the web server is functional.

Prerequisites.

  1. XO should be connected to XSCE.

Steps.

  1. Go to http://schoolserver and http://schoolserver.local.

Results.

  1. Both should resolve to the XSCE homepage.

Proxy Caching(squid)

Purpose.

  1. Verify Proxy caching is functional.

Prerequisites.

  1. XO should be connected to XSCE.

Steps.

  1. On XSCE Check the initial size of the squid cache directory: du -sh /library/cache.
  2. On XO open Browse Activity and surf the internet.
  3. On XSCE Check the squid cache directory size again

Results.

  1. Cache size should increase

OLPC-update (rsync)

Purpose.

  1. Verify OLPC-update is functional.

Prerequisites.

  1. ???

Steps.

  1. ???

Results.

  1. ???

http://dev.laptop.org/git/users/martin/xs-rsync/tree/README

OLPC-backup

Purpose.

  1. Verify OLPC-back is functional.

Prerequisites.

  1. XO should be connected to XSCE.
  2. XO should be registered.

Steps.

  1. rm /home/olpc/.sugar/default/ds-backup-done #delete the ds-backup-done if it exists.
  2. /usr/bin/ds-backup.sh nosleep# run backup with the nosleep argument.

Results.

  1. On XO /home/olpc/.sugar/default/ds-backup-done should exist
  2. On XSCE each successful backup run creates a new directory under `/library/users/<Serial Number>/datastore`.

Please see http://wiki.laptop.org/go/XS_Blueprints:Datastore_Simple_Backup_and_Restore for more information

Activity Server (uses httpd)

Purpose.

  1. Verify http://schoolserver/activities resolves.

Prerequisites.

  1. ???

Steps.

  1. Upload an Activity to the school server by using a browser to navigate to http://schoolserver.local/upload_activity.php.
  2. Click on "Choose File"
  3. Use the file chooser to indicate which Activity you would like to upload.

Results.

  1. ???

Virtual Private Network (openvpn)

Purpose.

  1. Verify VPN is functional.

Prerequisites.

  1. ????

Steps.

  1. ???

Results.

  1. ???

Statistics Collection - Pending Santi/Anish

Purpose.

  1. Verify Statistics collection is functional.

Prerequisites.

  1. ???

Steps.

  1. ???

Results.

  1. ???

Book server(pathagar)-Pending Sameer/Seth

Purpose.

  1. Verify book server is functional.

Prerequisites.

  1. ???

Steps.

  1. ???

Results.

  1. ???

Internet in Box - Pending Braddock

Purpose.

Prerequisites.

  1. ???

Steps. Verify Internet in Box is functional.

  1. ???

Results.

  1. ???