Page MenuHomePhabricator

CannotCreateActorException: Cannot create an actor for a usable name that is not an existing user: user_name="U"
Closed, ResolvedPublic

Description

Flow tests seem to be failing on unrelated changes.

1) Flow\Tests\SpamFilter\AbuseFilterTest::testSpam with data set #1 (MediaWiki\Title\Title Object (...), MediaWiki\Title\Title Object (...), array('<div style="background: yello...</div>', 'html'), null, false)
08:48:04 CannotCreateActorException: Cannot create an actor for a usable name that is not an existing user: user_name="UTSysop"
...

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Urbanecm_WMF triaged this task as Unbreak Now! priority.Sep 13 2023, 3:52 PM
Urbanecm_WMF lowered the priority of this task from Unbreak Now! to High.

Change 957332 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/Flow@master] tests: Do not assume UTSysop exists

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

Change 957332 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] tests: Do not assume UTSysop exists

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

matmarex subscribed.

Change 957872 had a related patch set uploaded (by Urbanecm; author: Urbanecm):

[mediawiki/extensions/Flow@wmf/1.41.0-wmf.26] tests: Do not assume UTSysop exists

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

Change 957872 merged by jenkins-bot:

[mediawiki/extensions/Flow@wmf/1.41.0-wmf.26] tests: Do not assume UTSysop exists

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

Mentioned in SAL (#wikimedia-operations) [2023-09-18T09:25:11Z] <hashar@deploy1002> Started scap: Backport for [[gerrit:957872|tests: Do not assume UTSysop exists (T346253)]]

Mentioned in SAL (#wikimedia-operations) [2023-09-18T09:26:43Z] <hashar@deploy1002> hashar and urbanecm: Backport for [[gerrit:957872|tests: Do not assume UTSysop exists (T346253)]] synced to the testservers mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet, mwdebug2001.codfw.wmnet, and mw-debug kubernetes deployment (accessible via k8s-experimental XWD option)

Mentioned in SAL (#wikimedia-operations) [2023-09-18T09:34:17Z] <hashar@deploy1002> Finished scap: Backport for [[gerrit:957872|tests: Do not assume UTSysop exists (T346253)]] (duration: 09m 06s)

Thank you for the fix, that was hitting Quibble integration tests (which I filed as the duplicate task T346604). I have deployed the wmf backport ( https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Flow/+/957872 ).