[go: nahoru, domu]

Page MenuHomePhabricator

Fix broken WikibaseQualityConstraints tests
Closed, ResolvedPublic

Description

Some tests for WikibaseQualityConstraints fail on quibble-vendor-mysql-hhvm-docker with the error message:

PHPUnit_Framework_MockObject_RuntimeException: The provided class "Mock_WANObjectCache_157858e2" does not exist

This is blocking merges.

Example failure: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/525234

Event Timeline

Michael raised the priority of this task from High to Needs Triage.
Michael triaged this task as High priority.
Michael updated the task description. (Show Details)
alaa_wmde raised the priority of this task from High to Unbreak Now!.Jul 24 2019, 12:30 PM
alaa_wmde subscribed.

As it blocks others' work from being delivered

quick update: so far quibble isn't failing for me locally

Change 525299 had a related patch set uploaded (by Alaa Sarhan; owner: Alaa Sarhan):
[mediawiki/extensions/Wikibase@master] DNM yet - jut triggering quibble to test CI failures for now

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

Change 525304 had a related patch set uploaded (by Alaa Sarhan; owner: Alaa Sarhan):
[mediawiki/extensions/WikibaseQualityConstraints@master] [DNM] - just testing quibble build

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

This comment seems to be related: https://phabricator.wikimedia.org/T192166#4475526

yeap it is same problem in here .. we need to speed up upgrading phpunit 😁

Change 525304 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Do not mock WANObjectCache and BagOfStuff in tests

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

Change 525299 abandoned by Alaa Sarhan:
DNM yet - jut triggering quibble to test CI failures for now

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

Michael lowered the priority of this task from Unbreak Now! to High.Jul 25 2019, 9:50 AM

The lines that were changed have been created about a year ago. Do we have an idea what changed to cause them to break now?

Also, lowering priority as this seems to not break builds anymore.

The lines that were changed have been created about a year ago. Do we have an idea what changed to cause them to break now?

Also, lowering priority as this seems to not break builds anymore.

This happened https://gerrit.wikimedia.org/r/c/mediawiki/core/+/524646 then PHPUnit started complaining

Whatever this was, it seems to be fixed by now.