Hi,
I ran the unit tests just for kicks and got 37 errors:
Failure Details
1. testaddchildrenfromlocalserver
* added count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
2. testaddchildrenfromlocalserver
* PHP ERROR: Undefined offset: 4in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 272
in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 104
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddchildrenfromlocalserver) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
3. testaddchildrenfromlocalserver
* added #4
Mismatch At: [] apo'strophe.jpg type (string) !== type (NULL)
apo'strophe.jpg type:string
null type:NULL
4. testaddchildrenfromlocalserver
*
5. testaddchildrenfromlocalserver
* child count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
6. testaddchildrenfromlocalserverusingsymlinkwithsymlinksupported
* added count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
7. testaddchildrenfromlocalserverusingsymlinkwithsymlinksupported
* PHP ERROR: Undefined offset: 4in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 272
in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 114
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddchildrenfromlocalserverusingsymlinkwithsymlinksupported) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
8. testaddchildrenfromlocalserverusingsymlinkwithsymlinksupported
* added #4
Mismatch At: [] apo'strophe.jpg type (string) !== type (NULL)
apo'strophe.jpg type:string
null type:NULL
9. testaddchildrenfromlocalserverusingsymlinkwithsymlinksupported
*
10. testaddchildrenfromlocalserverusingsymlinkwithsymlinksupported
* child count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
11. testaddchildrenfromlocalserversettitle
* added count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
12. testaddchildrenfromlocalserversettitle
* PHP ERROR: Undefined offset: 4in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 272
in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 133
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddchildrenfromlocalserversettitle) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
13. testaddchildrenfromlocalserversettitle
* added #4
Mismatch At: [] apo'strophe.jpg type (string) !== type (NULL)
apo'strophe.jpg type:string
null type:NULL
14. testaddchildrenfromlocalserversettitle
*
15. testaddchildrenfromlocalserversettitle
* child count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
16. testaddchildrenfromlocalserversettitledescription
* added count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
17. testaddchildrenfromlocalserversettitledescription
* PHP ERROR: Undefined offset: 4in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 272
in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 141
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddchildrenfromlocalserversettitledescription) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
18. testaddchildrenfromlocalserversettitledescription
* added #4
Mismatch At: [] apo'strophe.jpg type (string) !== type (NULL)
apo'strophe.jpg type:string
null type:NULL
19. testaddchildrenfromlocalserversettitledescription
*
20. testaddchildrenfromlocalserversettitledescription
* child count
Mismatch At: [] 5 !== 4
5 type:integer
4 type:integer
21. testaddchildrenfromlocalserverrecursive
* added count
Mismatch At: [] 5 !== 6
5 type:integer
6 type:integer
22. testaddchildrenfromlocalserverrecursive
* added #2
Mismatch At: [] test2.gif !== test3.gif
test2.gif type:string
test3.gif type:string
23. testaddchildrenfromlocalserverrecursive
* added #3
Mismatch At: [] test1.jpg !== test2.gif
test1.jpg type:string
test2.gif type:string
24. testaddchildrenfromlocalserverrecursive
* added #4
Mismatch At: [] test1.gif !== test1.jpg
test1.gif type:string
test1.jpg type:string
25. testaddchildrenfromlocalserverrecursive
* child count
Mismatch At: [] 5 !== 6
5 type:integer
6 type:integer
26. testaddchildrenfromlocalserverrecursive
* PHP ERROR: Undefined offset: 5in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class at line 304
in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 145
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddchildrenfromlocalserverrecursive) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
27. testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported
* added count
Mismatch At: [] 5 !== 6
5 type:integer
6 type:integer
28. testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported
* added #2
Mismatch At: [] test2.gif !== test3.gif
test2.gif type:string
test3.gif type:string
29. testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported
* added #3
Mismatch At: [] test1.jpg !== test2.gif
test1.jpg type:string
test2.gif type:string
30. testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported
* added #4
Mismatch At: [] test1.gif !== test1.jpg
test1.gif type:string
test1.jpg type:string
31. testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported
* child count
Mismatch At: [] 5 !== 6
5 type:integer
6 type:integer
32. testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported
* PHP ERROR: Undefined offset: 5in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class at line 304
in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::_testaddchildrenfromlocalserver) at line 149
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddchildrenfromlocalserverrecursiveusingsymlinkwithsymlinksupported) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
33. testaddfromserverfilenametofields
*
Mismatch At: [] 1 !== 0
1 type:integer
0 type:integer
34. testaddfromserverfilenametofields
* PHP ERROR: Undefined index: addedFilesin /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (itemaddfromservertest::testaddfromserverfilenametofields) at line 346
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddfromserverfilenametofields) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
35. testaddfromserverfilenametofields
*
Mismatch At: [] 1 !== 0
1 type:integer
0 type:integer
36. testaddfromserverfilenametofields
* PHP ERROR: Undefined index: addedFilesin /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class (gallerycoreapi::testaddfromserverfilenametofields) at line 348
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::testaddfromserverfilenametofields) at line 291
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runtest) at line 379
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::runbare) at line 550
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 257
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (itemaddfromservertest::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 461
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
37. testaddfromserverfilenametofields
* Error (ERROR_BAD_PARAMETER)
o in /home/www/webxxy/html/gallery2/modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 50 (gallerystatus::error)
o in /home/www/webxxy/html/gallery2/modules/core/classes/GalleryCoreApi.class at line 2148 (galleryentityhelper_simple::loadentitiesbyid)
o in /home/www/webxxy/html/gallery2/modules/core/test/phpunit/ItemAddFromServerTest.class at line 348 (gallerycoreapi::loadentitiesbyid)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc at line 291 (itemaddfromservertest::testaddfromserverfilenametofields)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc at line 379 (itemaddfromservertest::runtest)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc at line 550 (itemaddfromservertest::runbare)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc at line 257 (prettytestresult::run)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc at line 461 (itemaddfromservertest::run)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/phpunit.inc at line 461 (testsuite::run)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.tpl at line 194 (testsuite::run)
o in /home/www/webxxy/html/gallery2/lib/tools/phpunit/index.php at line 191
38. testcodeaudit
* index.php contains illegal keyword bind_textdomain_codeset on line 65
39. testcodeaudit
* index.php contains illegal keyword bind_textdomain_codeset on line 97
Is this anything to worry about? Here is my setup:
Gallery version = 2.0-beta-3+ Core 0.9.18
PHP version = 4.3.10 apache
web server = Apache
Database = mysqlt 4.0.18-standard
Toolkits = ArchiveUpload, Gd, Exif, Thumbnail, ImageMagick
Operating System = Linux can19 2.4.29 #10 SMP Sun Jan 23 17:38:14 CET 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Posts: 37
This is what I got on my other system:
Gallery-Version = 2.0-beta-3+ Kern 0.9.18
PHP-Version = 5.0.3 apache2handler
Webserver = Apache/2.0.54 (Gentoo/Linux) mod_ssl/2.0.54 OpenSSL/0.9.7e DAV/2 PHP/5.0.3 mod_jk/1.2.12
Datenbank = mysqlt 4.1.8-log
Werkzeuge = ArchiveUpload, Exif, Gd, Thumbnail
Betriebssystem = Linux intranet 2.6.11-gentoo-r4 #1 Tue Mar 22 20:41:32 CET 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Posts: 8601
are you sure you're reporting the correct gallery version? if you got that info out of site admin/maintenance, but sure to run the task again.. it doesn't auto-update when you upgrade, only when you run the task.
I fixed the last 2 (bind_textdomain_codeset).
Posts: 37
Changed it, sorry. I have the latest CVS code installed.
Posts: 8601
what files do you have in modules/core/test/data and test/data/localUploadDir ?
Posts: 32509
unit tests failing on my gentoo box:
details:
it's a cvs checkout, no update. i have some about 100 modified files, no missing ones.
Posts: 37
On both systems I got:
and
Posts: 7994
These should be fixed. Try the next nightly and let me know if they're not working for you.
Posts: 32509
thanks. works on my system.
(i still get add sub-album in the testgetitemadminviews test, but that's another story)
Posts: 37
While things have improved on my first system, it got worse on my second.
See attachments for zipped report pages.
Posts: 32509
@second: did you access the system once with https and once with http?
perhaps you should inform pelle (rewrite module tests).