Page MenuHomePhabricator

ContentTranslation\Test\AbuseFilterCheck\AbuseFilterCheckTest test failures
Closed, ResolvedPublicPRODUCTION ERROR

Description

14:21:39 Time: 4.32 minutes, Memory: 745.19MB
14:21:39 
14:21:39 There were 8 failures:
14:21:39 
14:21:39 1) ContentTranslation\Test\AbuseFilterCheck\AbuseFilterCheckTest::testCheckTitle with data set "Disallow" ('page_title === "ContentTransl... test"', array(array('abusefilter-disallow')), array(array(array('disallow', array('abusefilter-disallow')))))
14:21:39 Failed asserting that two arrays are equal.
14:21:39 --- Expected
14:21:39 +++ Actual
14:21:39 @@ @@
14:21:39  Array (
14:21:39 -    0 => Array (...)
14:21:39  )
14:21:39 
14:21:39 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2097
14:21:39 /workspace/src/extensions/ContentTranslation/tests/phpunit/AbuseFilterCheckTest.php:96
14:21:39 /workspace/src/tests/phpunit/MediaWikiTestCase.php:427
14:21:39 /workspace/src/maintenance/doMaintenance.php:96
14:21:39 
14:21:39 2) ContentTranslation\Test\AbuseFilterCheck\AbuseFilterCheckTest::testCheckTitle with data set "Warning" ('user_name === "ContentTranslator"', array(array('abusefilter-warning-cx')), array(array(array('warn', array('abusefilter-warning-cx'), '⧼abusefilter-warning-cx⧽'))))
14:21:39 Failed asserting that two arrays are equal.
14:21:39 --- Expected
14:21:39 +++ Actual
14:21:39 @@ @@
14:21:39  Array (
14:21:39 -    0 => Array (...)
14:21:39  )
14:21:39 
14:21:39 /workspace/src/tests/phpunit/MediaWikiTestCase.php:2097
14:21:39 /workspace/src/extensions/ContentTranslation/tests/phpunit/AbuseFilterCheckTest.php:96
14:21:39 /workspace/src/tests/phpunit/MediaWikiTestCase.php:427
14:21:39 /workspace/src/maintenance/doMaintenance.php:96

See https://integration.wikimedia.org/ci/job/wmf-quibble-core-vendor-mysql-hhvm-docker/13405/console for more, and it's consistently failing on patches.

Patches affected

Event Timeline

Change 504548 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[mediawiki/extensions/ContentTranslation@master] Revert "Change parameters order for AbuseFilter"

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

Change 504548 merged by Krinkle:
[mediawiki/extensions/ContentTranslation@master] Revert "Change parameters order for AbuseFilter"

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

Daimona assigned this task to Krinkle.
Daimona removed a project: Patch-For-Review.

Yes, the CX patch was merged to soon, since as stated in commit message it was waiting for the parent. Thanks Krinkle for acting fast, I'm sorry but I'm a bit absent these days.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM