Skip to end of metadata
Go to start of metadata

Unix Scenario 1

  1. Installation (tick)
  2. Functional Test

Installation

Setup

  1. Use Ubuntu 9.04 server (tick)
  2. Use apt-get install mysql-server java6 (tick)
  3. Download jboss-4.0.2 (tick)
  4. Install wildfire (tick)
  5. Install LAMS (tick)
    • LAMS 2.3 installer (tick)
    • Starting Up LAMS 2.3 (tick)

Ubuntu 9.04 Server VM

Using a VM created with Ubuntu 9.04 Server AMD 64. Installed with OpenSSH-Server.

Java and MySQL

root@ubuntu904:~# apt-get install sun-java6-jdk mysql-server-5.0
...
  • Leave MySQL Root password blank
  • Accept the Java license

Download JBoss 4.0.2

root@ubuntu904:/tmp# wget http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz
--2009-04-29 20:26:55--  http://transact.dl.sourceforge.net/sourceforge/jboss/jboss-4.0.2.tar.gz
Resolving transact.dl.sourceforge.net... 
202.55.147.10
Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61652409 (59M) [application/x-gzip]
Saving to: `jboss-4.0.2.tar.gz'

100%[=========================================================================================================>] 61,652,409  24.6M/s   in 2.4s    

2009-04-29 20:26:58 (24.6 MB/s) - `jboss-4.0.2.tar.gz' saved [61652409/61652409]

root@ubuntu904:/tmp# cd /usr/local/
root@ubuntu904:/usr/local# tar xzf /tmp/jboss-4.0.2.tar.gz 
root@ubuntu904:/usr/local# 

Install wildfire

Getting Wildfire 2.6.2

root@ubuntu904:/tmp# wget wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz
--2009-04-29 20:29:30--  http://wget/
Resolving wget... ^C
root@ubuntu904:/tmp# 
root@ubuntu904:/tmp# wget http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz
--2009-04-29 20:29:34--  http://www.igniterealtime.org/builds/wildfire/wildfire_2_6_2.tar.gz
Resolving www.igniterealtime.org... 70.98.39.60
Connecting to www.igniterealtime.org|70.98.39.60|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5558234 (5.3M) [application/x-gzip]
Saving to: `wildfire_2_6_2.tar.gz'

100%[=========================================================================================================>] 5,558,234    184K/s   in 30s     

2009-04-29 20:30:04 (182 KB/s) - `wildfire_2_6_2.tar.gz' saved [5558234/5558234]

root@ubuntu904:/tmp# cd /usr/local/
root@ubuntu904:/usr/local# tar xzf /tmp/wildfire_2_6_2.tar.gz 
root@ubuntu904:/usr/local# cd wildfire/bin/
root@ubuntu904:/usr/local/wildfire/bin# ./wildfire start
testing JVM in /usr ...
Starting wildfire
nohup: appending output to `nohup.out'
root@ubuntu904:/usr/local/wildfire/bin#

Install LAMS

LAMS 2.3 installer

Get the installers from: Downloads

root@ubuntu904:/tmp# tar xfz lams-unix-installer-2.3-20090429.1705.tar.gz 
root@ubuntu904:/tmp# cd lams-unix-installer-2.3
root@ubuntu904:/tmp/lams-unix-installer-2.3# 

Editing lams.properties

Only one change to point to the Java JDK6 dir:

...
# The directory that contains your JDK. (Must be 1.5 or higher)                                                                                    
JDK_DIR=/usr/lib/jvm/java-6-sun/
...

Running the installer

root@ubuntu904:/tmp/lams-unix-installer-2.3# ./install-lams.sh
JDK_DIR is valid

--------------------------------------------------------------------------------

WELCOME to the LAMS 2.3 unix Installer! 

Please ensure you have read and accepted the license agreement before continuing

Make sure you have correctly configured the lams.properties file to your 
preferred settings.

You should read the installation guide before continuing.

JAVA_HOME = /usr/lib/jvm/java-6-sun/

--------------------------------------------------------------------------------

LAMS requires about 117MB of space, continue with installation? (y)es, (n)o: y

Do you wish to install LAMS as a Java Service Wrapper? (y)es, (n)o, (q)uit: n

Using LAMS database with the following parameters...
Database name: lams2
Database user: lamsuser
Database password: lamsdemo

Creating LAMS database.
Buildfile: ant-scripts/configure-database.xml
Database Created.
 
Filling database with LAMS tables

Buildfile: ant-scripts/filter-config.xml
Buildfile: ant-scripts/configure-database.xml
Database Created.
 
Filling database with LAMS tables

Buildfile: ant-scripts/filter-config.xml
Buildfile: ant-scripts/configure-database.xml
Done.


Database Created.

Copying lams.ear directory to /usr/local/jboss-4.0.2/server/default/deploy.

Done.

Configuring JBoss with your settings.
Buildfile: ant-scripts/configure-deploy.xml
cp: cannot stat `repository/*': No such file or directory
cp: cannot stat `secure/*': No such file or directory

Configuring the java Wrapper
Copying lams.properties to /etc.


LAMS 2.3 Configuration completed!
Please view the README for instructions on how to run LAMS.

root@ubuntu904:/tmp/lams-unix-installer-2.3# 

Starting Up LAMS 2.3

root@ubuntu904:/tmp# cd /usr/local/jboss-4.0.2/bin/
root@ubuntu904:/usr/local/jboss-4.0.2/bin# ./run.sh 
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur.  Make sure JAVA_HOME points to a JDK and not a JRE.
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss-4.0.2

  JAVA: java

  JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dprogram.name=run.sh

  CLASSPATH: /usr/local/jboss-4.0.2/bin/run.jar:/lib/tools.jar

=========================================================================

20:51:42,262 INFO  [Server] Starting JBoss (MX MicroKernel)...
20:51:42,264 INFO  [Server] Release ID: JBoss [Zion] 4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)
20:51:42,264 INFO  [Server] Home Dir: /usr/local/jboss-4.0.2
20:51:42,265 INFO  [Server] Home URL: file:/usr/local/jboss-4.0.2/
20:51:42,266 INFO  [Server] Library URL: file:/usr/local/jboss-4.0.2/lib/
20:51:42,267 INFO  [Server] Patch URL: null
20:51:42,268 INFO  [Server] Server Name: default
20:51:42,268 INFO  [Server] Server Home Dir: /usr/local/jboss-4.0.2/server/default
20:51:42,269 INFO  [Server] Server Home URL: file:/usr/local/jboss-4.0.2/server/default/
20:51:42,269 INFO  [Server] Server Data Dir: /usr/local/jboss-4.0.2/server/default/data
20:51:42,270 INFO  [Server] Server Temp Dir: /usr/local/jboss-4.0.2/server/default/tmp
20:51:42,270 INFO  [Server] Server Config URL: file:/usr/local/jboss-4.0.2/server/default/conf/
20:51:42,271 INFO  [Server] Server Library URL: file:/usr/local/jboss-4.0.2/server/default/lib/
20:51:42,271 INFO  [Server] Root Deployment Filename: jboss-service.xml
20:51:42,275 INFO  [Server] Starting General Purpose Architecture (GPA)...
20:51:42,725 INFO  [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
20:51:42,726 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 11.3-b02,Sun Microsystems Inc.
20:51:42,726 INFO  [ServerInfo] OS-System: Linux 2.6.28-11-server,amd64
20:51:43,365 INFO  [Server] Core system initialized
20:51:45,544 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
2009-04-29 20:51:50,999 INFO  [WebService] Using RMI server codebase: http://ubuntu904:8083/
2009-04-29 20:51:51,452 INFO  [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, 
Client SocketFactory=null, Server SocketFactory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
...

...
2009-04-29 20:52:59,728 INFO  [LocaleFilter] Initializing filter 'LocaleFilter'
2009-04-29 20:52:59,729 INFO  [LocaleFilter] Filter 'LocaleFilter' configured successfully
2009-04-29 20:52:59,753 INFO  [EARDeployer] Started J2EE application: file:/usr/local/jboss-4.0.2/server/default/deploy/lams.ear/
2009-04-29 20:52:59,870 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
2009-04-29 20:53:00,162 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
2009-04-29 20:53:00,185 INFO  [JkMain] Jk running ID=0 time=0/42  config=null
2009-04-29 20:53:00,204 INFO  [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4_0_2 date=200505022023)] Started in 1m:17s:930ms

LAMS starts fine (thumbs up) (smile)

Functional Test


Unix Scenario 1

Ubuntu 9.04 server

Details

Description

Other Notes

Server URL

http://ubuntu.lamsinternational.com/lams

More info

Browsers use

Mozilla Firefox 3.0.10, Google Chrome 1.0.154.65

-

OS

Microsoft Windows XP SP3

-

Tested By

Ruslan Kazakov

-

Date/Time

01.05.2009/10.00AM

-

Instructions

Go thru the lists of features below and test each of them accordingly. Make sure you add any comments or notes as required. If a feature test results in a Jira, add the Jira task [LDEV-XYZ|http://bugs.lams...] in the Notes. If feature test works add a (tick) [like (tick) ] to the Works column. Otherwise (error) [like (error) ].

Admin

Feature

Works

Issues/Notes

Import Users and Roles

(tick)

4 users and 9 roles were imported successfully.

Edit configuration settings for Chat (use shaun)

(tick)

Chat configuration settings were successfully saved.

Edit configuration settings for Video Recorder (use videos.lamsinternational.com)

(tick)

Media Server configuration settings were successfully saved.

Edit login picture and text (Maintain login page)

(tick)

Text on LAMS login page was changed and new logo was added.

Enable/Disable a tool (see Learning Library Management)

(tick)

Tools can be successfully enabled and disabled. All tools were checked.

Change default tool content for Share Resources (Tool Management)

(tick)

Share Resources Tool default content was successfully changed.

Register server with the LAMS Community

(tick)

Retested for 2.3 release. Server was registred successfully.

Group Management: Create a group:
Group Administrators can add new users (grey lightbulb)
Group Administrators can browse all users in the system (grey lightbulb)
Group Administrators can change status of course (grey lightbulb)
Enable Gradebook for Monitors (lightbulb)
Enable Gradebook for Learners (lightbulb)

(tick)

New group was created and group rights were set successfully.

Manage user for the course and add all testing users

(tick)

Users were added to the course.

Create a user with either Turkish, Russian, Greek as language and give it Monitor, Learner and Author rights on the course

(tick)

User with Russian locale was created and roles were set successfully.

Edit the Mathematics 1 course and enable gradebook

(tick)

Mathematics 1 was updated successfully. Gradebook was added.

Delete user (within Mathematics 1). Delete the mmm from the course

(tick)

User was deleted successfully.

Change the roles for user lamskh01 to just learner

(tick)

Roles for user 'lamskh01' were changed.

Create a new subgroup under Mathematics 1

(tick)

New subgroup under Mathematics 1 was successfully created.

Author

Feature

Works

Issues/Notes

Import the following sequences:
LAMS101, Lesson 3 - LAMS Activities
LAMS 101, Lesson 2 - LAMS Environments
LAMS101 part 1 - What Is LAMS?

To do:
* Preview them all the way to the end.
* Export them as LAMS export and/or IMS LD.

(tick)

All three sequences were imported to Author, previewed and exported in LAMS Export and IMS LD successfully.

Import/Export old sequences - .las files:
Choosing a Mobile IV

Todo:
* Preview it
* Exported as LAMS format.

(tick)

  • The sequence was imported with warning: The sequence contains one or more Share Resources activities. Please check these activities as any file or uploaded websites in the activity will be invalid and will cause an error for the learners. Links to external websites should not cause any errors.
  • Chat worked but required about 20-30 sec to load. Submitting chat took 3-4 minutes, but was submitted.
  • Export in both formats was completed successfully.

Create a sequence with:

NB -> Shared Res. -> Group (3 groups random) -> Chat (group it) -> Vote -> Branching (based on the output of Vote -2 branches) --> Branch 1 (Pixlr -> Wiki -> Forum&Scribe --> Branch 2 (Task List -> Survey -> Multiple Choice -> (After branching) -> Image Gallery -> Data Collection.

Save sequence and preview to the end

(tick)

  • Sequence was created successfully.
  • Sequence was tested lots of times and the above error happened in 25-30% of the case. The other cases were Chat worked fine.

Save As in the Public Folder

(tick)

Sequence was saved successfully.

Copy LAMS101, Lesson 3 - LAMS Activities from your personal folder to Public Folder

(tick)

Sequences were copied successfully.

Create a sequence with NB -> Optional Sequence (3 branches) -> Chuck any activity into each branch -> Mindmap -> Gate (to be release on condition from Mindmap -> Gmap -> Notebook. Save and Preview (check conditions are inforced

(tick)

Sequence was created and saved successfully.

In any activity test the paint fckeditor feature. Once you created the drawing, edit it again

(tick)

Paint plugin worked fine.

In any activity test the equation plugin for fckeditor. Once created it, edit it again

(tick)

FCK Equation plugin worked fine.

Record a video (windows and mac browser clients) using the Video Recorder plugin fckeditor

(tick)

FCK Video Recorder plugin worked fine.

Insert/Merge activity

(tick)

Insert/Merge activity worked fine.

Import from lams community

(tick)

Import from lams community worked.

Check all tool authoring pages - I18n

(tick)

Authoring pages worked fine.

Check flash author i18n

(tick)

Flash Author worked fine.

Optional activities/sequences

(tick)

Optional activities and sequences worked fine.

Grouping (all types), check functionality on all new tools

(tick)

Grouping worked fine.

Branching (output-based, group based, nested, etc)

(tick)

Branching worked fine.

Gates (outputs based, etc)

(tick)

Gates worked fine.

Floating activities

(tick)

Floating activities worked fine.

Arrange activities

(tick)

Worked fine except optional activities/sequences are mixed up with other activities. LDEV-2278

Unable to locate Jira server for this macro. It may be due to Application Link configuration.
|

Recover sequence

(tick)

Recover feature worked fine.

Copy/Paste, Undo/Redo. Check for all new activities with different properties

(tick)

Tested Copy/Paste and Undo/Redo on Assessment, Mindmap, ViderRecorder and Pixlr. All tools worked fine.

Preview - check for all activities and check progress bar

(tick)

Preview feature worked fine.

Ouputs to gradebook - export/import

(tick)

Gradebook worked fine.

Monitor

Feature

Works

Issues/Notes

View Learners / Edit class

(tick)

Worked fine.

Change status

(tick)

Activity status was changed successfully.

Export portfolio

(tick)

Portfolio was exported fine.

Competences

(tick)

Worked fine.

Live edit - all new tools

(tick)

Live edit worked fine.

Author page - all new tools - i18n

(tick)

Author pages worked fine.

Time charts - existing and new lessons

(tick)

Time charts worked fine.

Load testing - lots of users in sequence view etc

(tick)

Worked fine.

Assigning branching/gates/group in monitor

(tick)

Worked fine.

Learner

Feature

Works

Issues/Notes

Learner pages - all new tools + grouping

(tick)

Learner pages work fine.

Workflow stuff (grouping, branching, gates, optional activities/sequences)

(tick)

Worked fine.

Floating activities

(tick)

Floating activities worked fine.

Learner notepad

(tick)

Worked fine.

Export - include all new tools

(tick)

Export worked fine.

Presence/chat - different browsers

(lightbulb)

Monitor is not updated. There is no checkbox to enable Chat!

Gradebook

Feature

Works

Issues/Notes

Marking lesson/activities

(tick)

Marking was done successfully.

Giving lesson/activity feedback

(tick)

Worked fine.

Release marks to student

(tick)

Markes were released/hidden successfully.

Course gradebook

(tick)

Worked fine.

My Grades page

(tick)

Worked fine.

Add remove columns

(tick)

Worked fine.

Search/navigate rows

(tick)

Worked fine.

Auto filling marks for multiple choice and assessment tools

(tick)

Worked fine.

Marking from forum and submit files monitor pages fills gradebook row

(tick)

Worked fine.

Grouped activities

(tick)

Group activities worked fine.

Miscelaneous

Feature

Works

Issues/Notes

Marcin's jboss slimming changes

-

Ignored.

Performance and memory load testing - lots of users

-

Ignored.

Tool adapters

-

Ignored.

Integrations

-

Ignored.

  • No labels