Page MenuHomePhabricator

Translate PHP 7.4 issues
Closed, ResolvedPublic

Description

Seen on https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Translate/+/578997/ and https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php74-docker/362/console, passing on < 7.4

13:07:17 There were 30 errors:
13:07:17 
13:07:17 1) StringMatcherTest::testKeyPrefixing with data set #11 ('[k.ssa]', 'p-=5Bk.ssa=5D', 'p-', array('[k.s*'), 'Message key with special chars')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:18
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 2) StringMatcherTest::testKeyPrefixing with data set #12 ('[kissa]', '=5Bkissa=5D', 'p-', array('[k.s*'), 'Message key with special chars')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:18
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 3) StringMatcherTest::testKeyMangling with data set #1 ('key[]', 'string with brackets')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 4) StringMatcherTest::testKeyMangling with data set #2 ('key%AB', 'string with invalid url encoding')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 5) StringMatcherTest::testKeyMangling with data set #3 ('key&amp;', 'string with html entity')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 6) StringMatcherTest::testKeyMangling with data set #4 ('key=2A', 'string with fake escaping')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 7) StringMatcherTest::testKeyMangling with data set #6 (' la la land_', 'string starting or ending wit...scores')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 8) StringMatcherTest::testKeyMangling with data set #7 ('one  two__three _four', 'multiple spaces consisting of...scores')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 9) StringMatcherTest::testKeyMangling with data set #8 ('Signed by ~~~', 'Magic tilde expansion')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 10) StringMatcherTest::testKeyMangling with data set #9 (':iam', 'string starting with a colon')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 11) StringMatcherTest::testKeyMangling with data set #10 (Binary String: 0x0001020304050...c0d0e0f, 'ASCII range 0..16')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 12) StringMatcherTest::testKeyMangling with data set #11 (Binary String: 0x1011121314151...c1d1e1f, 'ASCII range 16..32')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 13) StringMatcherTest::testKeyMangling with data set #12 (' !"#$%&'()*+,-./', 'ASCII range 32..48')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 14) StringMatcherTest::testKeyMangling with data set #13 ('0123456789:;<=>?', 'ASCII range 48..64')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 15) StringMatcherTest::testKeyMangling with data set #15 ('PQRSTUVWXYZ[\]^_', 'ASCII range 80..96')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 16) StringMatcherTest::testKeyMangling with data set #17 ('pqrstuvwxyz{|}~', 'ASCII range 112..128')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:60
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 17) StringMatcherTest::testKeyManglingWithPrefixing with data set #1 ('key[]', 'string with brackets')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 18) StringMatcherTest::testKeyManglingWithPrefixing with data set #2 ('key%AB', 'string with invalid url encoding')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 19) StringMatcherTest::testKeyManglingWithPrefixing with data set #3 ('key&amp;', 'string with html entity')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 20) StringMatcherTest::testKeyManglingWithPrefixing with data set #4 ('key=2A', 'string with fake escaping')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 21) StringMatcherTest::testKeyManglingWithPrefixing with data set #6 (' la la land_', 'string starting or ending wit...scores')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 22) StringMatcherTest::testKeyManglingWithPrefixing with data set #7 ('one  two__three _four', 'multiple spaces consisting of...scores')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 23) StringMatcherTest::testKeyManglingWithPrefixing with data set #8 ('Signed by ~~~', 'Magic tilde expansion')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 24) StringMatcherTest::testKeyManglingWithPrefixing with data set #10 (Binary String: 0x0001020304050...c0d0e0f, 'ASCII range 0..16')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 25) StringMatcherTest::testKeyManglingWithPrefixing with data set #11 (Binary String: 0x1011121314151...c1d1e1f, 'ASCII range 16..32')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 26) StringMatcherTest::testKeyManglingWithPrefixing with data set #12 (' !"#$%&'()*+,-./', 'ASCII range 32..48')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 27) StringMatcherTest::testKeyManglingWithPrefixing with data set #13 ('0123456789:;<=>?', 'ASCII range 48..64')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 28) StringMatcherTest::testKeyManglingWithPrefixing with data set #15 ('PQRSTUVWXYZ[\]^_', 'ASCII range 80..96')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 29) StringMatcherTest::testKeyManglingWithPrefixing with data set #17 ('pqrstuvwxyz{|}~', 'ASCII range 112..128')
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/StringMatcherTest.php:73
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99
13:07:17 
13:07:17 30) AndroidXmlFFSTest::testWrite
13:07:17 === Logs generated by test case
13:07:17 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
13:07:17 ===
13:07:17 Invalid characters passed for attempted conversion, these have been ignored
13:07:17 
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:185
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:187
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:149
13:07:17 /workspace/src/extensions/Translate/stringmangler/StringMatcher.php:133
13:07:17 /workspace/src/extensions/Translate/ffs/AndroidXmlFFS.php:148
13:07:17 /workspace/src/extensions/Translate/ffs/SimpleFFS.php:239
13:07:17 /workspace/src/extensions/Translate/tests/phpunit/ffs/AndroidXmlFFSTest.php:92
13:07:17 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:416
13:07:17 /workspace/src/maintenance/doMaintenance.php:99

Event Timeline

Reedy created this task.Mar 14 2020, 11:30 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 14 2020, 11:30 AM
Reedy updated the task description. (Show Details)Mar 14 2020, 11:30 AM

Change 579819 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/extensions/Translate@master] StringMatcher: Avoid warnings from hexdec

https://gerrit.wikimedia.org/r/579819

Change 579819 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] StringMatcher: Avoid warnings from hexdec

https://gerrit.wikimedia.org/r/579819

Nikerabbit closed this task as Resolved.Mar 15 2020, 3:19 PM
Nikerabbit claimed this task.
Nikerabbit triaged this task as High priority.