[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2023-09-12 Thread ItamarWMDE
ItamarWMDE moved this task from WikibaseLexeme to [DOT] Prioritized on the 
wmde-wikidata-tech board.
ItamarWMDE added a project: Wikidata Dev Team.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

WORKBOARD
  https://phabricator.wikimedia.org/project/board/5864/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, thcipriani, kostajh, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, Nandana, Lahi, Gq86, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, JJMC89, 
_jensen, rosalieper, Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, 
Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, zeljkofilipin, Billinghurst, 
Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2023-09-12 Thread ItamarWMDE
ItamarWMDE added a comment.


  **Task Prio**
  
  - Affects end users / production (it's a production error)
  - Does not affect monitoring
  - Does not affect development
  - Does not affect onboarding
  - Affects additional stakeholders (WMF RelEng)

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE
Cc: ItamarWMDE, thcipriani, kostajh, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, Nandana, Lahi, Gq86, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, JJMC89, 
_jensen, rosalieper, Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, 
Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, zeljkofilipin, Billinghurst, 
Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2023-08-31 Thread Michael
Michael moved this task from Triaged Low (0-50) to Sorted Team A on the 
wdwb-tech board.
Michael added a project: wmde-wikidata-tech.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3532/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: thcipriani, kostajh, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, Nandana, Lahi, 
Gq86, Daimona, GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, 
Litanwei, JJMC89, _jensen, rosalieper, Scott_WUaS, Izno, Wong128hk, Verdy_p, 
Nirmos, Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, zeljkofilipin, 
Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2023-08-31 Thread Michael
Michael updated the task description.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: thcipriani, kostajh, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, Nandana, Lahi, 
Gq86, Daimona, GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, 
Litanwei, JJMC89, _jensen, rosalieper, Scott_WUaS, Izno, Wong128hk, Verdy_p, 
Nirmos, Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, zeljkofilipin, 
Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2023-08-31 Thread Michael
Michael changed the subtype of this task from "Task" to "Production Error".

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: thcipriani, kostajh, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, Nandana, Lahi, 
Gq86, Daimona, GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, 
Litanwei, JJMC89, _jensen, rosalieper, Scott_WUaS, Izno, Wong128hk, Verdy_p, 
Nirmos, Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, zeljkofilipin, 
Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2023-08-31 Thread thcipriani
thcipriani added a comment.


  Still happens in production (once in the last 90 days). Fresh info:
  
  Error
  -
  
  - mwversion: 1.41.0-wmf.22
  - reqId: 8afbcd4f-4265-4970-91b4-92ae2d670a6a
  - Find reqId in Logstash 

  
  name=normalized_message
[{reqId}] {exception_url}   
Serializers\Exceptions\UnsupportedObjectException: Can not serialize incomplete 
Lexeme
  
  name=exception.trace
from 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/WikibaseLexeme/src/Serialization/StorageLexemeSerializer.php(109)
#0 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/WikibaseLexeme/src/Serialization/StorageLexemeSerializer.php(80):
 
Wikibase\Lexeme\Serialization\StorageLexemeSerializer->getSerialized(Wikibase\Lexeme\Domain\Model\Lexeme)
#1 
/srv/mediawiki/php-1.41.0-wmf.22/vendor/serialization/serialization/src/Serializers/DispatchingSerializer.php(42):
 
Wikibase\Lexeme\Serialization\StorageLexemeSerializer->serialize(Wikibase\Lexeme\Domain\Model\Lexeme)
#2 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/lib/includes/Store/EntityContentDataCodec.php(152):
 
Serializers\DispatchingSerializer->serialize(Wikibase\Lexeme\Domain\Model\Lexeme)
#3 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/Content/EntityHandler.php(381):
 
Wikibase\Lib\Store\EntityContentDataCodec->encodeEntity(Wikibase\Lexeme\Domain\Model\Lexeme,
 string)
#4 
/srv/mediawiki/php-1.41.0-wmf.22/includes/content/AbstractContent.php(177): 
Wikibase\Repo\Content\EntityHandler->serializeContent(Wikibase\Lexeme\MediaWiki\Content\LexemeContent,
 string)
#5 
/srv/mediawiki/php-1.41.0-wmf.22/includes/Storage/PageEditStash.php(437): 
AbstractContent->serialize(string)
#6 
/srv/mediawiki/php-1.41.0-wmf.22/includes/Storage/PageEditStash.php(264): 
MediaWiki\Storage\PageEditStash->getContentHash(Wikibase\Lexeme\MediaWiki\Content\LexemeContent)
#7 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/SpamBlacklist/includes/Hooks.php(108):
 MediaWiki\Storage\PageEditStash->checkCache(MediaWiki\Title\Title, 
Wikibase\Lexeme\MediaWiki\Content\LexemeContent, User)
#8 
/srv/mediawiki/php-1.41.0-wmf.22/includes/HookContainer/HookContainer.php(160): 
MediaWiki\Extension\SpamBlacklist\Hooks->onEditFilterMergedContent(DerivativeContext,
 Wikibase\Lexeme\MediaWiki\Content\LexemeContent, Status, string, User, 
boolean, string)
#9 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/EditEntity/MediaWikiEditFilterHookRunner.php(122):
 MediaWiki\HookContainer\HookContainer->run(string, array)
#10 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/EditEntity/StatsdTimeRecordingEditFilterHookRunner.php(48):
 
Wikibase\Repo\EditEntity\MediaWikiEditFilterHookRunner->run(Wikibase\Lexeme\Domain\Model\Lexeme,
 DerivativeContext, string)
#11 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/EditEntity/MediaWikiEditEntity.php(738):
 
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner->run(Wikibase\Lexeme\Domain\Model\Lexeme,
 DerivativeContext, string)
#12 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/EditEntity/StatsdSaveTimeRecordingEditEntity.php(77):
 
Wikibase\Repo\EditEntity\MediaWikiEditEntity->attemptSave(Wikibase\Lexeme\Domain\Model\Lexeme,
 string, integer, string, boolean, array)
#13 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/Api/EntitySavingHelper.php(391):
 
Wikibase\Repo\EditEntity\StatsdSaveTimeRecordingEditEntity->attemptSave(Wikibase\Lexeme\Domain\Model\Lexeme,
 string, integer, string, NULL, array)
#14 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/Wikibase/repo/includes/Api/ModifyEntity.php(340):
 
Wikibase\Repo\Api\EntitySavingHelper->attemptSaveEntity(Wikibase\Lexeme\Domain\Model\Lexeme,
 string, array, DerivativeContext)
#15 /srv/mediawiki/php-1.41.0-wmf.22/includes/api/ApiMain.php(1921): 
Wikibase\Repo\Api\ModifyEntity->execute()
#16 /srv/mediawiki/php-1.41.0-wmf.22/includes/api/ApiMain.php(898): 
ApiMain->executeAction()
#17 /srv/mediawiki/php-1.41.0-wmf.22/includes/api/ApiMain.php(869): 
ApiMain->executeActionWithErrorHandling()
#18 /srv/mediawiki/php-1.41.0-wmf.22/api.php(95): ApiMain->execute()
#19 /srv/mediawiki/php-1.41.0-wmf.22/api.php(48): wfApiMain()
#20 /srv/mediawiki/w/api.php(3): require(string)
#21 {main}
  
  name=exception.previous.trace
from 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/WikibaseLexeme/src/Domain/Model/Lexeme.php(232)
#0 
/srv/mediawiki/php-1.41.0-wmf.22/extensions/WikibaseLexeme/src/Serialization/StorageLexemeSerializer.php(106):
 Wikibase\Lexeme\Domain\Model\Lexeme->getLexicalCategory()
#1 

[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-08-24 Thread Michael
Michael added a project: Browser-Tests.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Michael
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
darthmon_wmde, Rosalie_WMDE, 94rain, DannyS712, Nandana, Lahi, Gq86, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, JJMC89, 
_jensen, rosalieper, Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, 
Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, zeljkofilipin, Billinghurst, 
Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-07-12 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Maintenance_bot
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
darthmon_wmde, Rosalie_WMDE, 94rain, DannyS712, Nandana, Lahi, Gq86, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, JJMC89, 
_jensen, rosalieper, Bodhisattwa, Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, 
Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, Billinghurst, 
Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g, Hellket777, 786, Biggs657, 
Juan90264, Alter-paule, Beast1978, Un1tY, Hook696, Kent7301, joker88john, 
CucyNoiD, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Lewizho99, 
Maathavan, Neuronton
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-07-12 Thread gerritbot
gerritbot added a comment.


  Change 813265 **abandoned** by Kosta Harlan:
  
  [mediawiki/extensions/WikibaseLexeme@master] phpunit: Remove setNullLogger
  
  Reason:
  
  
  
  https://gerrit.wikimedia.org/r/813265

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Hellket777, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, Hook696, darthmon_wmde, 
Rosalie_WMDE, Kent7301, joker88john, 94rain, DannyS712, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, 
Lewizho99, JJMC89, Maathavan, _jensen, rosalieper, Bodhisattwa, Neuronton, 
Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, Wikidata-bugs, aude, Nullzero, 
Huji, Dinoguy1000, Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-07-12 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Hellket777, 
Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, 
Alter-paule, Beast1978, ItamarWMDE, Un1tY, Akuckartz, Hook696, darthmon_wmde, 
Rosalie_WMDE, Kent7301, joker88john, 94rain, DannyS712, CucyNoiD, Nandana, 
Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, 
Lewizho99, JJMC89, Maathavan, _jensen, rosalieper, Bodhisattwa, Neuronton, 
Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, Wikidata-bugs, aude, Nullzero, 
Huji, Dinoguy1000, Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-07-12 Thread gerritbot
gerritbot added a comment.


  Change 813265 had a related patch set uploaded (by Kosta Harlan; author: 
Kosta Harlan):
  
  [mediawiki/extensions/WikibaseLexeme@master] phpunit: Remove setNullLogger
  
  https://gerrit.wikimedia.org/r/813265

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
darthmon_wmde, Rosalie_WMDE, 94rain, DannyS712, Nandana, Lahi, Gq86, Daimona, 
GoranSMilovanovic, ihojose, Mahir256, QZanden, LawExplorer, Litanwei, JJMC89, 
_jensen, rosalieper, Bodhisattwa, Scott_WUaS, Izno, Wong128hk, Verdy_p, Nirmos, 
Wikidata-bugs, aude, Nullzero, Huji, Dinoguy1000, Billinghurst, 
Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-02-07 Thread kostajh
kostajh added a parent task: T299492: Quibble ci-full-run should use Apache 
backend.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: kostajh
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, DannyS712, 
Nandana, Lahi, Gq86, Daimona, GoranSMilovanovic, ihojose, Mahir256, QZanden, 
LawExplorer, Litanwei, JJMC89, _jensen, rosalieper, Bodhisattwa, Scott_WUaS, 
Izno, Wong128hk, Verdy_p, Nirmos, Wikidata-bugs, aude, Nullzero, Huji, 
Dinoguy1000, Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-02-07 Thread kostajh
kostajh added projects: AbuseFilter, SpamBlacklist.
kostajh added a comment.


  It looks like the errors discussed in the comments are a little different 
from what is in the description; looking in Logstash I found 

 that the exception is `Can not access uninitialized field`, and the backtrace 
includes SpamBlacklist extensions. I also only see two instances of it in the 
last 9 months.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: kostajh
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, Rosalie_WMDE, 94rain, DannyS712, 
Nandana, Lahi, Gq86, Daimona, GoranSMilovanovic, ihojose, Mahir256, QZanden, 
LawExplorer, Litanwei, JJMC89, _jensen, rosalieper, Bodhisattwa, Scott_WUaS, 
Izno, Wong128hk, Verdy_p, Nirmos, Wikidata-bugs, aude, Nullzero, Huji, 
Dinoguy1000, Billinghurst, Jdforrester-WMF, Jackmcbarn, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-02-07 Thread kostajh
kostajh added a parent task: T285649: Switch all Quibble Selenium and 
api-testing jobs to use apache.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: kostajh
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, Rosalie_WMDE, DannyS712, Nandana, Lahi, 
Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Izno, Verdy_p, Wikidata-bugs, aude, Dinoguy1000, 
Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-02-07 Thread kostajh
kostajh added a project: ci-test-error.
kostajh added a comment.


  I'm not 100% sure, but it seems like this occurs more frequently in CI after 
T285649: Switch all Quibble Selenium and api-testing jobs to use apache 
 was done.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: kostajh
Cc: kostajh, Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, Rosalie_WMDE, DannyS712, Nandana, Lahi, 
Gq86, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Izno, Verdy_p, Wikidata-bugs, aude, Dinoguy1000, 
Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2022-01-18 Thread kostajh
kostajh added a comment.


  I just saw this in a Selenium test context (logs 
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-selenium-docker/97086/console#console-section-12):
  
21:55:30 [0-11] RUNNING in chrome - /tests/selenium/specs/statement.add.js
21:55:31 [0-11] 2022-01-18T20:55:38.000Z ERROR @wdio/sync: Evaluation 
failed: TypeError: mw.loader.using is not a function
21:55:38 [0-11] at eval (eval at  (:20:16), :5:14)
21:55:51 [0-11] at eval (eval at  (:20:16), :11:6)
21:55:51 [0-11] at __puppeteer_evaluation_script__:20:16
21:55:51 [0-11] at __puppeteer_evaluation_script__:2:12
21:55:51 [0-11] Error: Evaluation failed: TypeError: mw.loader.using is not 
a function
21:55:51 [0-11] at ExecutionContext._evaluateInternal 
(/workspace/src/extensions/WikibaseLexeme/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
21:55:51 [0-11] at processTicksAndRejections 
(internal/process/task_queues.js:95:5)
21:55:51 [0-11] at async ExecutionContext.evaluate 
(/workspace/src/extensions/WikibaseLexeme/node_modules/puppeteer-core/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)
21:55:51 [0-11] at async ElementHandle.evaluate 
(/workspace/src/extensions/WikibaseLexeme/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js:103:16)
21:55:51 [0-11] at async ElementHandle.$eval 
(/workspace/src/extensions/WikibaseLexeme/node_modules/puppeteer-core/lib/cjs/puppeteer/common/JSHandle.js:806:24)
21:55:51 [0-11] at async DevToolsDriver.executeAsyncScript 
(/workspace/src/extensions/WikibaseLexeme/node_modules/devtools/build/commands/executeAsyncScript.js:31:20)
21:55:51 [0-11] at async Browser.wrappedCommand 
(/workspace/src/extensions/WikibaseLexeme/node_modules/devtools/build/devtoolsdriver.js:102:26)
21:55:51 [0-11] at Browser. 
(/workspace/src/extensions/WikibaseLexeme/node_modules/@wdio/utils/build/shim.js:270:24)
21:55:51 [0-11] at Object.beforeSuite 
(/workspace/src/extensions/WikibaseLexeme/tests/selenium/wdio.conf.js:41:11)
21:55:51 [0-11] 2: starting lexeme creation
21:55:51 [0-11] 3: have categoryValue
21:55:51 [0-11] 3: have languageValue
21:55:51 [0-11] Trace: WARNING: LexemeApi not initialized
21:55:51 [0-11] at LexemeApi.getBot 
(/workspace/src/extensions/WikibaseLexeme/tests/selenium/lexeme.api.js:44:12)
21:55:51 [0-11] at 
/workspace/src/extensions/WikibaseLexeme/tests/selenium/lexeme.api.js:81:16
21:55:51 [0-11] at processTicksAndRejections 
(internal/process/task_queues.js:95:5)
21:55:51 [0-11] at async Browser.runCommandWithHooks 
(/workspace/src/extensions/WikibaseLexeme/node_modules/@wdio/sync/build/wrapCommand.js:105:25)
21:55:51 [0-11] 585: have bot
21:55:51 [0-11] Error in "Lexeme:Statements.can be added"
21:55:51 Error: failed-save: The save has failed.
21:55:51 at 
/workspace/src/extensions/WikibaseLexeme/node_modules/mwbot/src/index.js:262:31
21:55:51 at tryCatcher 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/util.js:16:23)
21:55:51 at Promise._settlePromiseFromHandler 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/promise.js:547:31)
21:55:51 at Promise._settlePromise 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/promise.js:604:18)
21:55:51 at Promise._settlePromise0 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/promise.js:649:10)
21:55:51 at Promise._settlePromises 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/promise.js:729:18)
21:55:51 at _drainQueueStep 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/async.js:93:12)
21:55:51 at _drainQueue 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/async.js:86:9)
21:55:51 at Async._drainQueues 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/async.js:102:5)
21:55:51 at Immediate.Async.drainQueues [as _onImmediate] 
(/workspace/src/extensions/WikibaseLexeme/node_modules/bluebird/js/release/async.js:15:14)
21:55:51 at processImmediate (internal/timers.js:464:21)
21:55:51 at Browser. 
(/workspace/src/extensions/WikibaseLexeme/node_modules/@wdio/utils/build/shim.js:270:24)
21:55:51 at Context. 
(/workspace/src/extensions/WikibaseLexeme/tests/selenium/specs/statement.add.js:11:28)
21:55:51 [0-11] RETRYING in chrome - /tests/selenium/specs/statement.add.js
21:55:51 [0-11] RUNNING in chrome - /tests/selenium/specs/statement.add.js
21:55:51 [0-11] 1642539344266: Waiting 0 ms for replication lag of 0 s
21:55:51 [0-11] 1: starting lexeme creation
21:55:51 [0-11] 48: have categoryValue
21:55:51 [0-11] 75: have languageValue
21:55:51 [0-11] 76: have bot
21:55:51 

[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2021-07-14 Thread Addshore
Addshore triaged this task as "Low" priority.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Izno, Verdy_p, Wikidata-bugs, aude, Dinoguy1000, 
Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2021-06-15 Thread Addshore
Addshore added projects: Wikimedia-production-error, Wikidata Lexicographical 
data.

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, LawExplorer, _jensen, rosalieper, 
Bodhisattwa, Scott_WUaS, Izno, Verdy_p, Wikidata-bugs, aude, Dinoguy1000, 
Jdforrester-WMF, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2021-06-15 Thread Lucas_Werkmeister_WMDE
Lucas_Werkmeister_WMDE added a comment.


  This can also happen in production logstash, by the way:
  
  ---
  
  Error
  -
  
  - mwversion: `1.37.0-wmf.9`
  - reqId: `29c2eca6-5f3a-41ff-b456-d32f0a749584`
  - Find reqId in Logstash 

  - Find normalized_message in Logstash 

  
  
  
  name=normalized_message
[{reqId}] {exception_url}   
Serializers\Exceptions\UnsupportedObjectException: Can not serialize incomplete 
Lexeme
  
  
  
  name=exception.trace
from 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/WikibaseLexeme/src/Serialization/StorageLexemeSerializer.php(109)
#0 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/WikibaseLexeme/src/Serialization/StorageLexemeSerializer.php(80):
 
Wikibase\Lexeme\Serialization\StorageLexemeSerializer->getSerialized(Wikibase\Lexeme\Domain\Model\Lexeme)
#1 
/srv/mediawiki/php-1.37.0-wmf.9/vendor/serialization/serialization/src/Serializers/DispatchingSerializer.php(42):
 
Wikibase\Lexeme\Serialization\StorageLexemeSerializer->serialize(Wikibase\Lexeme\Domain\Model\Lexeme)
#2 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/lib/includes/Store/EntityContentDataCodec.php(152):
 
Serializers\DispatchingSerializer->serialize(Wikibase\Lexeme\Domain\Model\Lexeme)
#3 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/repo/includes/Content/EntityContent.php(327):
 
Wikibase\Lib\Store\EntityContentDataCodec->encodeEntity(Wikibase\Lexeme\Domain\Model\Lexeme,
 string)
#4 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/repo/includes/RepoHooks.php(648):
 Wikibase\Repo\Content\EntityContent->getTextForFilters()
#5 
/srv/mediawiki/php-1.37.0-wmf.9/includes/HookContainer/HookContainer.php(338): 
Wikibase\Repo\RepoHooks::onAbuseFilterContentToString(Wikibase\Lexeme\MediaWiki\Content\LexemeContent,
 NULL)
#6 
/srv/mediawiki/php-1.37.0-wmf.9/includes/HookContainer/HookContainer.php(137): 
MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, 
array)
#7 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/AbuseFilter/includes/Hooks/AbuseFilterHookRunner.php(89):
 MediaWiki\HookContainer\HookContainer->run(string, array)
#8 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/AbuseFilter/includes/TextExtractor.php(85):
 
MediaWiki\Extension\AbuseFilter\Hooks\AbuseFilterHookRunner->onAbuseFilter_contentToString(Wikibase\Lexeme\MediaWiki\Content\LexemeContent,
 NULL)
#9 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/AbuseFilter/includes/AbuseFilterHooks.php(76):
 
MediaWiki\Extension\AbuseFilter\TextExtractor->contentToString(Wikibase\Lexeme\MediaWiki\Content\LexemeContent)
#10 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/AbuseFilter/includes/AbuseFilterHooks.php(45):
 
MediaWiki\Extension\AbuseFilter\AbuseFilterHooks::filterEdit(DerivativeContext, 
User, Wikibase\Lexeme\MediaWiki\Content\LexemeContent, string, string)
#11 
/srv/mediawiki/php-1.37.0-wmf.9/includes/HookContainer/HookContainer.php(338): 
MediaWiki\Extension\AbuseFilter\AbuseFilterHooks::onEditFilterMergedContent(DerivativeContext,
 Wikibase\Lexeme\MediaWiki\Content\LexemeContent, Status, string, User, 
boolean, string)
#12 
/srv/mediawiki/php-1.37.0-wmf.9/includes/HookContainer/HookContainer.php(137): 
MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, 
array)
#13 /srv/mediawiki/php-1.37.0-wmf.9/includes/Hooks.php(137): 
MediaWiki\HookContainer\HookContainer->run(string, array, array)
#14 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditFilterHookRunner.php(105):
 Hooks::run(string, array)
#15 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/repo/includes/EditEntity/StatsdTimeRecordingEditFilterHookRunner.php(47):
 
Wikibase\Repo\EditEntity\MediawikiEditFilterHookRunner->run(Wikibase\Lexeme\Domain\Model\Lexeme,
 DerivativeContext, string)
#16 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/repo/includes/EditEntity/MediawikiEditEntity.php(723):
 
Wikibase\Repo\EditEntity\StatsdTimeRecordingEditFilterHookRunner->run(Wikibase\Lexeme\Domain\Model\Lexeme,
 DerivativeContext, string)
#17 
/srv/mediawiki/php-1.37.0-wmf.9/extensions/Wikibase/repo/includes/EditEntity/StatsdSaveTimeRecordingEditEntity.php(77):
 
Wikibase\Repo\EditEntity\MediawikiEditEntity->attemptSave(Wikibase\Lexeme\Domain\Model\Lexeme,
 string, integer, string, boolean, array)
#18 

[Wikidata-bugs] [Maniphest] T255566: Figure out why LexemeEditEntityTest::testGivenInvalidDataInClearRequest_errorIsReported is throwing an Exception/logging an error with AbuseFilter enabled

2021-04-20 Thread Addshore
Addshore moved this task from Legacy Inbox to Backlog on the wdwb-tech board.
Addshore added a comment.


  This was reported a year ago but still open, so moving to the backlog to be 
prioritized

TASK DETAIL
  https://phabricator.wikimedia.org/T255566

WORKBOARD
  https://phabricator.wikimedia.org/project/board/3532/

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Lucas_Werkmeister_WMDE, Aklapper, Michael, Invadibot, 
maantietaja, Akuckartz, darthmon_wmde, DannyS712, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, 
Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs