Gallery2:Test Matrix - Gallery Codex
Personal tools

Gallery2:Test Matrix

From Gallery Codex

Revision as of 02:17, 9 November 2006 by H0bbel (Talk | contribs) (Current)

G2 is currently supported in the following environments:

  • Operating systems: Unix, Windows
  • VM: PHP 4.1+ (4.3+ in current svn)
  • Database: Postgres 7.x/8.x, MySQL 3.x/4.x/5.x, Oracle 9i/10g, DB2 V8.2 & 9, MS SQL Server 2005 Express Edition


Unit Tests

In order to fill this test matrix, please create an empty G2 installation and activate every module. We have ffmpeg, imagemagick, netpbm binaries for almost every platform and can help you achieve this goal. Then run all the unit tests and record your findings here along with the date. We will use this to keep track of quality issues as we approach our release milestones. If there's already a line for your configuration with a different owner you can update the line with your data and add yourself to the owner column.


Current

Web Server PHP Version Database Platform Locking Language Owner # Tests # Failed Date Notes Apache 2.2.3 PHP 5.1.6 MySQL 5.0.24a (mysqli) Debian Etch Database en h0bbel 2484 9 11/09/2006 [2], [14]
IIS 5.1 PHP 5.2.0 (ISAPI) MySQL 4.1.12a-nt (trans) Windows XP Database fr valiant 2452 7 11/07/2006 [2], [13]
Apache 1.3.33 PHP 4.3.10 MySQL 3.23.58-log (trans) FreeBSD File en bharat 2487 0 11/05/2006
Apache 2.0.55 PHP 4.4.4/4.4.2 MySQL 5.0.18 (trans) Windows XP Database de valiant 2451 0 11/05/2006 [2],no mbstring
Apache 2.0.55 PHP 5.2.0 MySQL 5.0.18 (trans) Windows XP Database de valiant 2450 0 11/05/2006 [2]
Apache 2.2.3 PHP 5.2.0 RC6 MS SQL Server 2005 Windows XP Database en birdman 2442 9 11/03/2006 [2][3][5][6][11][12]
Apache 2.2.3 PHP 5.2.0 RC6 IBM DB2 9 Express C Windows XP Database en birdman 2442 9 11/03/2006 [2][3][6][7][11][12]
Apache 2.0.55 PHP 5.2.0 PostgreSQL 8.0.1 Windows XP Database de valiant ~2439 0 11/03/2006 [2]
Apache 2.0.55 PHP 5.1.6 PostgreSQL 8.0.1 Windows XP Database de valiant 2439 0 10/28/2006 [2]
Apache 2.0.54 PHP 5.0.5 MySQL 4.1.14-nt Windows XP Database en bharat 2366 1 10/5/2006 [1]
Apache 2.0.54 PHP 5.1.6 MySQL 5.0.14a (trans) Debian sarge File en valiant 2398 1 9/29/2006 [1]
Apache 2.0.55 PHP 5.1.4 MS SQL Server 2005 Express Edition Windows XP Database en birdman 2299 11 8/5/2006 [2][3][4][5][6]
Apache 2.0.55 PHP 5.1.4 Oracle 10g Windows XP Database en birdman 2299 27 08/04/2006 [10]
Apache 2.2.0 PHP 5.1.2 DB2 V8 FP10 SuSE SLES9 Database en birdman 1190 10 08/03/2006 [6], [9]
Apache 2.0.55 PHP 5.1.4 IBM DB2 9 Express C Windows XP Database en birdman 2279 11 7/29/2006 [2][3][4][5][6][7]
Apache 2.0.55 PHP-CGI 5.1.5 MySQL 5.0.22 (mysqli) Debian sarge Database zh mindless 2521 0 11/1/2006 r15020 +notification+cmmigrate
Apache 2.0.55 PHP-CGI 4.3.0 MySQL 5.0.22 (non-trans) Debian sarge Database he mindless 2521 0 11/2/2006 r15042
Apache 2.0.55 PHP 4.4.2-1.1 MySQL 5.0.22 (trans) Debian sarge File tr mindless 2483 1 10/22/2006
r14947
[1]
Apache 2.0.55 PHP-CGI 5.1.5 PostgreSQL 7.4.13 Debian sarge File fr mindless 2482 0 9/20/2006 r15027
Apache 1.3.33 PHP 4.3.10 MySQL 3.23.58 FreeBSD 4.8 File en mindless 2392 0 9/20/2006
Apache 2.2.2 PHP 5.1.4 (with patches) MySQL 5.0.22 OpenSuse 10.2 factory (x86_64) Flock de Jens Tkotz 1908 2 8/08/2006
Apache 2.2.2 PHP 5.1.4 (with patches) IBM DB2/LINUXX8664 9.1.0 OpenSuse 10.2 factory (x86_64) Flock de Jens Tkotz 2218 5 8/08/2006

[1]: # testimportkoi_8 (this failure just shows that UTF 8 databases can store more characters than non-utf8 databases. don't adjust the unit test, rather keep it as a reminder that bug 1382037 should be fixed)

         * custom field values 
           Mismatch At: [ 464747 Description] Если звезды зажигают ночью - значит это кому-нибудь надо. Если кто-то выстасвляет фотографии - это ведь неспроста! Может, в этом великая и сер !== Если звезды зажигают ночью - значит это кому-нибудь надо. Если кто-то выстасвляет фотографии - это ведь неспроста! Может, в этом великая и сермяжная правда жизни.
array (
 464747 => 
 array (
   'Description' => 'Если звезды зажигают ночью - значит это кому-нибудь надо. Если кто-то выстасвляет фотографии - это ведь неспроста! Может, в этом великая и сер',
 ),
)
              type:array
array (
 464747 => 
 array (
   'Description' => 'Если звезды зажигают ночью - значит это кому-нибудь надо. Если кто-то выстасвляет фотографии - это ведь неспроста! Может, в этом великая и сермяжная правда жизни.',
 ),
)
              type:array

[2]: no getid3 on windows

[3]: In addition to KOI_8, I have the same multi-byte problem with no_NO and fr_FR. testConvertHtmlToBbcode also fails if run with KOI_8, but runs clean in isolation. (Accounts for 4 failures.)

[4]: *.testCodeAudit fail (skipped, actually), these should only be run in SVN builds. (Accounts for 5 failures that are not really failures.)

[5]: StorageTest.testSqlInjectionWithNullCharacter, MSSQL complains: SQL Syntax Error.

[6]: IndexDotPhpTest.testHttpRedirect (known problem)

[7]: StorageTest.testEncodeDecodeBlob, "blob data was altered in encode -> insert -> select -> decode"

[8]: Available... was duplicate of [6]

[9]: On my Linux env I have not installed anything but the core and search modules. I suspect that the majority of these failures are a result of some modules not being installed:

       * testHttpRedirect (see note [8])
       * testRecreateResizesForSmallPhoto
       * testAddSmallPhotoToAlbum
       * testSessionCookieHeaderAndPersistence
       * testIsPersistentSessionAllowedForRequest

[10]: First time I've ever run unit tests on Oracle. Results:

http://cpe0013102da23b-cm0f0079804905.cpe.net.cable.rogers.com/misc/gallery2/Dynamic%20Albums%20Verification/Windows%20-%20Oracle/Tests%200001%20-%200508.html

http://cpe0013102da23b-cm0f0079804905.cpe.net.cable.rogers.com/misc/gallery2/Dynamic%20Albums%20Verification/Windows%20-%20Oracle/Tests%200509%20-%202299.html

[11]: ecard.EcardControllerTest.testSendEcard and ecard.EcardControllerTest.testMaliciousContent fail because of change in PHP 5.2.0 RC6 (limitation in regexp)

[12]: StorageTest.testTruncateString fails with SQL0433N Value "???????????????" is too long.

[13]: No code audit tests (accounts for 7 failed test) since Tortoise SVN changed the .svn/entries file format in v1.4

[14]: Missing german locale accounted for 4 failed tests

Old

Web Server PHP Version Database Platform Locking Language Owner # Tests # Failed Date Notes
Apache 2.2.2 PHP 5.1.4 MySQL 5.0.21 (trans) FreeBSD 6.1-STABLE File en Edgeman 2250 1 5/11/2006 [1]


2.2 Browser Compatibility Testing

Browser rendering tests. In each box put name+svnrev+comments.

Feature Firefox IE6 IE7 Opera Safari
AdminPlugins mindless r14884
dmolavi FF2 r14907
dmolavi r14907 silk
iconpack has grey backgrounds (transparancy not working)
bharat r15090 everything looks fine. silk icons have transparency. mindless r14887
works, but status msgs show at top of document, not top of visible area
ItemEditPhotoThumbnail mindless r14887
Autocomplete

(installer,siteadmin)

dmolavi FF2 core r14897

mindless r14971
colorpack w/ non-white bg, see white bar below+right from textbox

dmolavi core r14897
Popup thumbnails

(itemmove,itemdelete,showallcomments)

Markup bar/color chooser
Watermark

(siteadmin,useradmin,itemadd,itemedit)

Ratings
FlashVideo
MP3Audio
MovVideo (quicktime) floridave FF2 Nov3 activeX issue quicktime fix
Matrix theme dmolavi FF2 r14627 dmolavi r14627
Classic theme
Floatrix theme mindless 9.02 r14981
Siriux theme
Carbon theme mindless FF2 r14981 mindless 9.02 r14981
Hybrid theme mindless 9.02 r14973
Item links popup intermittently too wide; conflict of keyboard commands with opera actions (both are done)
Slider theme
Ajaxian theme mindless FF2 r14981 mindless 9.02 r14981
Click photo(shrink+show link) is ok, but click again to restore size and it disappears

Upgrades

The upgrade path is usually tested from the last public release to the new release. Keep old tested upgrade paths in the list and add upgrades to newer versions at the top of the list. From time to time, upgrade paths from older versions (alpha 4 = core version 0.8.4 or newer) to the current release should also be performed.


Current

New Core Version New Release Name Old Core Version Old Release Name Web Server PHP Version Database Platform Owner Date Notes
1.1.0.1 2.1.1 1.0.0.4 2.0.4 Apache 1.3.33 PHP 4.3.10 Postgres 7.x FreeBSD 4.8 bharat 4/6/2006 Had to upgrade the imagemagick module by hand (probably because I have a vulnerable binary). Otherwise, smooth sailing.
1.1.0.1 2.1.1 1.0.0.4 2.0.4 Apache 2.0.55 PHP 5.1.2 Postgres 8.1.3 Windows XP Larry Menard 13/04/2006 Couldn't configure URL Rewrite in 2.0.4. (Apache conf. prob at my end?), works fine in 2.1.1
1.1.0.1 2.1.1 1.0.0.4 2.0.4 Apache 2.0.54 PHP 5.0.4 MySQL 4.1.13-nt Windows XP bharat 4/14/2006 Worked fine.
1.1.0.1 2.1.1 1.0.0.3 2.0.3 Apache 2.0.5 PHP 4.4.2-1 MySQL 5.0.18 Debian mindless 13-Apr-2006 Upgrade modules request stopped; tried again and finished OK
1.1.0.1 2.1.1 1.0.0.4 2.0.4 Apache 2.0.55 PHP 5.1.2 Oracle 10g XE Windows XP Larry Menard 04/06/2006 1) Frequent NLS probs (req. server restart), 2) Couldn't configure URL Rewrite in 2.0.4. (Apache conf. prob at my end?), works fine in 2.1.1
1.0.34 2.1-rc-2a+ 1.0.0.1 2.0.1 Apache/1.3.33 (Unix) PHP/4.3.10 mysql 3.23.58-log Debian Linux bharat 03/20/2006 [OK]
1.0.34 2.1-rc-2a+ 0.9.35 2.0-rc-1+ Apache/1.3.31 (Unix) PHP/4.3.7 mysql 4.1.9-standard Slackware Linux volksport 03/20/2006 [OK]
1.0.34 2.1-RC-2a+ 0.8.4 2.0 Alpha-4 Apache 1.3.34 PHP 4.4.2 MySQL 4.1.16 FreeBSD 4.11 mindless 3/20/2006 [Good enough] had to go to upgrade url directly (session errors from main.php), and hit known CRC mismatch in toolkit upgrades from alpha-4 to beta-1 days
1.0.34 2.1-RC-2a+ 1.0.0 2.0.0 Apache 2.0.54 PHP 5.1.2 Postgres 8 Windows XP valiant 03/17/2006 [OK] (required generate-sql changes)

Old

New Core Version New Release Name Old Core Version Old Release Name Web Server PHP Version Database Platform Owner Date Notes
1.0.28 2.1 RC1a+ 1.0.0.2 2.0.2 Apache 2.0.55 PHP 4.4.0 MySQL 4.1.14 Gentoo fryfrog 02/15/2006 [OK]
1.0.27 2.1 RC1 0.9.10 G 2 Beta-2 Apache 2.0.52 PHP-CGI 4.4.1 MySQL 4.1.10 Gentoo valiant 02/10/2006 [OK]
1.0.25 2.1-soon 0.9.10 G 2 Beta-2 Apache 2.0.52 PHP 4.4.0 PostgreSQL 8.0.1 Gentoo valiant 02/09/2006 rewrite upgrade failed
1.0.16 2.1.0- 1.0.0 G 2.0 Apache 2.0.52 PHP 4.4.0 PostgreSQL 8.0.1 Gentoo valiant 01/10/2006 [OK]
1.0.18 2.1.0- 1.0.3 2.0.1+ Apache 2.0.54 PHP-CGI 4.4.0 MySQL 4.1.12a Windows XP valiant 01/13/2006 [OK]
advertisements