QA using VCLtesttool for Solaris10 i386

From Apache OpenOffice Wiki
Jump to: navigation, search

1. Platform

  • Solaris 10 (6/10) /i386
  • OOo 2.1RC2 Japanese version without JRE

2. How to obtain OS You can download at: http://www.sun.com/software/solaris/get.jsp

3. Installation of OS inside the vmware player

  • creation of HDD image
  From command prompt, at C:\Program Files\qemu-0.8.2-windows:
  > qemu-img create -f vmdk Solaris10.vmdk 10G
  • creation of Solaris10.vmx . I assigned 480M of memory.
config.version = "8"
virtualHW.version = "3"

displayName = "Solaris 10"
guestOS = "solaris10"
memsize = "480"
usb.present = "FALSE"
floppy0.present = "FALSE"
sound.present = "TRUE"
sound.virtualdev = "es1371"

ethernet0.present = "TRUE"
ethernet0.addressType = "generated"
ethernet0.generatedAddressOffset = "0"
ethernet0.connectionType = "bridged"

ide0:0.present = "TRUE"
ide0:0.fileName = "Solaris10.vmdk"
ide0:0.deviceType = "disk"
ide0:0.startConnected = "TRUE"
ide0:0.redo = ""

ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"

ide1:1.present = "TRUE"
ide1:1.fileName = "auto detect"
ide1:1.deviceType = "cdrom-raw"

p.225 http://www.vmware.com/pdf/GuestOS_guide.pdf http://www.vmware.com/support/pubs/player_pubs.html

  • Other settings

login screen -> option -> command line login ->login as root

# kdmlogin

Xorg -> Xsun, keyboard setting, 256->1677216 colors

User registration

# useradd -m -d /export/home/maho maho
# passwd maho
...
# vi /etc/auto_home
...

setting of /etc/auto_home add following line:

* localhost:/export/home/&
..
# usermod -d /home/maho maho
# exit
  • Select Java Desktop Environment

4. Update the OS. Unfortunately, I did following but I cannot update the OS... http://sunsolve.sun.com/private-cgi/show.pl?=target=patchpage Utility->Update Manager Error occured while executing the command or while downloading the detectors detectors or database current or while analyzeing the system to determin the updates... ... The detailed error message is: Failure: Connection reset

5. OS specific settins; disabling screen saver etc.

  • disable screen saver

setting->desktop->display->screensaver ->display mode tab -> disable screen saver

setting->desktop->display->screensaver ->advance tab ->Power management of monitor ->uncheck Enable Power management

6. Download OOo and installation

  • Download OOo 2.1RC2 using mozilla

http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.1.0rc2/OOo_2.1.0rc2_20061201_Solarisx86_install_ja.tar.gz

  • QA tool

ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz

  • Verification of MD5SUMs

$ digest -a md5 OOo_2.1.0rc2_20061201_Solarisx86_install_ja.tar.gz c0391b344033ddf44ec967208840d81e $ digest -a md5 qatesttool_ooo201_20062311.tgz d43d1ed59ea7bd10330be1276d79c6b1

MD5 sum of OOo packages: http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10261 MD5 sum of qatesttool script: http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328

  • Installation of OOo

done as usual. You may want to follow instruction from official installation guide. (If wrong, raise an issue!) http://documentation.openoffice.org/setup_guide2/2.x/en/SETUP_GUIDE_A4.pdf http://documentation.openoffice.org/setup_guide2/2.x/ja/SETUP_GUIDE_A4J.pdf

$ cat OOo_2.1.0rc2_20061201_Solarisx86_install_ja.tar.gz | gzip -d | tar xf - $ su Password:

  1. cd OOE680_m6_native_packed-1_ja.9095/packages/
  2. echo action=nocheck > admin
  3. echo conflict=nocheck >> admin
  4. echo idepend=nocheck >> admin
  5. pkgadd -a admin -d . openofficeorg*
  • Preparation
  1. su
  2. mkdir /work
  3. chown maho /work

$ cd /work $ mkdir qa ; cd qa $ cat ~/qatesttool_ooo201_20062311.tgz | gzip -d | tar xf - $ cd qa/qatesttool/script/unix Apply following patch for ooo_releasetests.sh $ diff -u ooo_releasetests.sh_ ooo_releasetests.sh --- ooo_releasetests.sh_ Sun Dec 10 10:31:25 2006 +++ ooo_releasetests.sh Sun Dec 10 10:31:50 2006 @@ -44,7 +44,7 @@

# set location of testscripts
# (the directory, where directory 'qatesttool' exists)

-sLocation=/share/_OOo/cvs/qa +sLocation=/work/qa


# set location of TestTool

edit ~/.testtoolrc

[Misc] CurrentProfile=_profile_Default ServerTimeout=4500

[Crashreporter] UseProxy=false ProxyServer=none ProxyPort=8080 AllowContact=false ReturnAddress=

[_profile_Default] BaseDir=/work/qa/qatesttool LogBaseDir=/work/qa/qatesttool/errorlog/ StopOnSyntaxError=0 HIDDir=/work/qa/qatesttool/global/hid

  • .bas=/work/qa/qatesttool/errorlog

[GUI Platform] Current=05

[WinGeom] WinParams=56,96,920,630;1;0,0,0,0;

[OooProgramDir] Current=/opt/openoffice.org2.1/ All=/opt/openoffice.org2.1/

[Communication] Host=localhost TTPort=12479 UNOPort=13480


[LRU] LRU1=/work/qa/qatesttool/errorlog/first.res

5. Perform QAtest $ cd /work/qa/qatesttool/script/unix $ rm -rf ~/.openoffice.org2 /work/qa/qatesttool/errorlog/*res; bash ooo_releasetests.sh

6. Summary All result files have been attached as: http://www.openoffice.org/nonav/issues/showattachment.cgi/41312/errorlog-Solaris10-OOo21woJRE.tar.gz

Duration: 907 min 50 sec Summary:

Personal tools