Page MenuHomePhabricator

Autocreate authevents log entries look odd
Closed, ResolvedPublic

Description

Seen in authevents.log in production

2021-02-17 22:34:35 [YC2Z9cQ2YOhijN5wRI08IgAAAFM] mw1269 loginwiki 1.36.0-wmf.31 authevents INFO: Autocreation attempt {"event":"autocreate","status":{"Status":"<OK, collected 1 error(s) on the way, no value set>
+------+---------------------------+------------------------------------------+
|    1 | userexists                |                                          |
+------+---------------------------+------------------------------------------+
"}}

Not sure if related to T269680: MediaWiki logging indexing conflict on 'session' for 'session-ip' channel

Event Timeline

Looks to be some result of calling StatusValue::__toString(), so guessing it might be T269680: MediaWiki logging indexing conflict on 'session' for 'session-ip' channel

I guess it's technically expected... Just feels a bit odd embedding a human readable version in the middle of a machine readable blob (ie the json)

Change 965540 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/CentralAuth@master] Fix logging Status objects to 'authevents' channel

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

Change 965517 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/core@master] Fix logging Status objects to 'authevents' channel

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

Change 965541 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/WikimediaEvents@master] AuthManagerStatsdHandler: Remove support for Status objects

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

Change 965540 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Fix logging Status objects to 'authevents' channel

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

Change 965517 merged by jenkins-bot:

[mediawiki/core@master] Fix logging Status objects to 'authevents' channel

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

Change 965541 merged by jenkins-bot:

[mediawiki/extensions/WikimediaEvents@master] AuthManagerStatsdHandler: Remove support for Status objects

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

The grafana chart is also fixed:

Screenshot Capture - 2023-11-02 - 14-02-53.png (528×1 px, 101 KB)

Change 971300 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/core@REL1_41] Fix logging Status objects to 'authevents' channel

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

Change 971301 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/core@REL1_40] Fix logging Status objects to 'authevents' channel

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

Change 971302 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/core@REL1_39] Fix logging Status objects to 'authevents' channel

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

Change 971302 merged by jenkins-bot:

[mediawiki/core@REL1_39] Fix logging Status objects to 'authevents' channel

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

Change 971300 merged by jenkins-bot:

[mediawiki/core@REL1_41] Fix logging Status objects to 'authevents' channel

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

Change 971301 merged by jenkins-bot:

[mediawiki/core@REL1_40] Fix logging Status objects to 'authevents' channel

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