https://bugzilla.wikimedia.org/show_bug.cgi?id=40491

       Web browser: ---
             Bug #: 40491
           Summary: All file backend tests failing
           Product: MediaWiki
           Version: 1.19.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Example:

3) FileBackendTest::testStore with data set #2 (array('store',
'/tmp/unittests_57b55ccf5688-1.txt',
'mwstore://localtesting/unittest-cont1/e/fun/obj1.txt', true),
'/tmp/unittests_57b55ccf5688-1.txt',
'mwstore://localtesting/unittest-cont1/e/fun/obj1.txt')
fopen(/www/w/images/lockdir/khsf3ntb7why6dhpaq76lvaw45uil3u.lock): failed to
open stream: Permission denied

/www/dev.translatewiki.net/w/includes/filebackend/lockmanager/FSLockManager.php:123
/www/dev.translatewiki.net/w/includes/filebackend/lockmanager/FSLockManager.php:74
/www/dev.translatewiki.net/w/includes/filebackend/lockmanager/LockManager.php:77
/www/dev.translatewiki.net/w/includes/filebackend/lockmanager/LockManager.php:173
/www/dev.translatewiki.net/w/includes/filebackend/FileBackend.php:966
/www/dev.translatewiki.net/w/includes/filebackend/FileBackendStore.php:516
/www/dev.translatewiki.net/w/includes/filebackend/FileBackend.php:682
/www/dev.translatewiki.net/w/tests/phpunit/includes/filerepo/FileBackendTest.php:1851
/www/dev.translatewiki.net/w/tests/phpunit/includes/filerepo/FileBackendTest.php:1837
/www/dev.translatewiki.net/w/tests/phpunit/includes/filerepo/FileBackendTest.php:202
/www/dev.translatewiki.net/w/tests/phpunit/MediaWikiTestCase.php:84
/www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45
/www/dev.translatewiki.net/w/tests/phpunit/phpunit.php:107


I think it should use temporary folder for these tests.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to