Continuing from T315383, where we fixed a much more common error similar to this one.
https://logstash.wikimedia.org/goto/060f147c37afdacfb93f7e709df06fbe
matmarex | |
Aug 19 2022, 5:11 PM |
F35631015: image.png | |
Oct 26 2022, 2:09 PM |
F35479754: image.png | |
Aug 19 2022, 5:11 PM |
Continuing from T315383, where we fixed a much more common error similar to this one.
https://logstash.wikimedia.org/goto/060f147c37afdacfb93f7e709df06fbe
Many of the errors mention Special:Undelete (on enwiki), where a RevisionArchiveRecord is passed to our code, perhaps something in that code path is wrong.
Others are just page saves and jobs for various pages on various wikis, with no pattern that I can see.
Raising priority as it is a recent appearance and in relatively high volume compared to other prod errors. If it was found earlier, it would have likely been proposed as train blocker. Please feel free to reach out to different teams for help as-needed.
In rEVEDf2df5dc7b98a: Improve error messages for RESTBase errors I added more details to these errors, we have three different kinds so far:
Error contacting the Parsoid/RESTBase server (HTTP 404): Page was deleted Error contacting the Parsoid/RESTBase server (HTTP 404): Requested resource is not found. Error contacting the Parsoid/RESTBase server (HTTP 404): Requested page does not exist.
I'll read some code to figure out what they really mean, and then either reach out to Content-Transform-Team with a more specific problem, or (if it looks beyond repair) add ParsoidOutputAccess as a fallback to RESTBase and see if that helps. I was going to use ParsoidOutputAccess for this code in the first place, before learning that it has some unspecified caching deficiencies and is not suitable for production use, but this only occurs ~50 times per day, so caching anything shouldn't be needed.
Error contacting the Parsoid/RESTBase server (HTTP 404): Page was deleted
I think this error is wrong, and the page was not in fact deleted. RESTBase will return this when the REST API [1] reports that the page exists, and the action API [2] reports that it doesn't. This can also occur when the action API reads from a stale replica, and that's probably what is happening. I stopped short of trying to figure out why it's calling two APIs.
[1] https://en.wikipedia.org/api/rest_v1/page/title/The_Fighting_Temeraire
[2] https://en.wikipedia.org/w/api.php?format=json&action=query&prop=info%7Crevisions&continue=&rvprop=ids%7Ctimestamp%7Cuser%7Cuserid%7Csize%7Csha1%7Ccomment%7Ctags&titles=The%20Fighting%20Temeraire
Error contacting the Parsoid/RESTBase server (HTTP 404): Requested resource is not found.
RESTBase will return this when the action API reports that the page doesn't exist. Probably reading from a stale replica.
Error contacting the Parsoid/RESTBase server (HTTP 404): Requested page does not exist.
RESTBase will return this when… its normalized title is not exactly the same as MediaWiki normalized title? I'm as surprised as you are. The error message makes no sense, but I guess we should add logging to find out what those titles are, this could be a problem for other tools…
Change 829255 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] Log page/revision IDs when the page/revision seems to be missing
Change 829255 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Log page/revision IDs when the page/revision seems to be missing
Change 843550 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@wmf/1.40.0-wmf.5] Log page/revision IDs when the page/revision seems to be missing
Change 843550 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@wmf/1.40.0-wmf.5] Log page/revision IDs when the page/revision seems to be missing
A few errors have been recorded by now with more detailed logging, here are the results:
Error | Site | Link | Page title | Revision status |
---|---|---|---|---|
Page was deleted - page 69448378, rev 1058978757 | en.wikipedia.org | link | Draft talk:Gavin P. Winston | exists |
Page was deleted - page 68756907, rev 1086763317 | en.wikipedia.org | link | Draft talk:List of tropical cyclones with auxiliary names | exists |
Page was deleted - page 70576634, rev 1083627975 | en.wikipedia.org | link | Draft talk:Hasnat Azam | exists |
Page was deleted - page 61477668, rev 924911274 | en.wikipedia.org | link | Draft talk:Mikey Tanha | exists |
Page was deleted - page 66680312, rev 1010450811 | en.wikipedia.org | link | Draft talk:Éditions Syllepse | exists |
Page was deleted - page 66632383, rev 1009624166 | en.wikipedia.org | link | Draft talk:Jean-Pierre Galland | exists |
Requested page does not exist. - page 37014257, rev 1117035655 | en.wikipedia.org | link | Talk:Marley Rose (Glee) | exists |
Page was deleted - page 36084406, rev 798771841 | en.wikipedia.org | link | Template talk:Major League Baseball Umpires navbox | exists |
Requested page does not exist. - page 72049485, rev 1117016508 | en.wikipedia.org | link | Bad title | MISSING |
Requested resource is not found. - page 71732317, rev 1117006934 | en.wikipedia.org | link | Talk:2022 Men's South American Cricket Championship | exists |
Page was deleted - page 72015943, rev 1116304199 | en.wikipedia.org | link | Talk:You Energy Volley | exists |
Page was deleted - page 71230848, rev 1097258004 | en.wikipedia.org | link | Talk:Abdallah Abu Sheikh | exists |
(no message) - page 949, rev 8663 | bn.wikiquote.org | link | উইকিউক্তি:নারীবাণী | exists |
Requested page does not exist. - page 59958918, rev 1116976305 | en.wikipedia.org | link | Talk:Prespa agreement | exists |
Page was deleted - page 66931834, rev 1017449165 | en.wikipedia.org | link | Draft talk:Gujarati Asmita | exists |
Page was deleted - page 60593940, rev 979055373 | en.wikipedia.org | link | Draft talk:Maloney Properties | exists |
Page was deleted - page 67937724, rev 1028366970 | en.wikipedia.org | link | Draft talk:CN Logistics | exists |
Page was deleted - page 5234380, rev 55763445 | ar.wikipedia.org | link | نقاش:باب اللوق | exists |
Page was deleted - page 51772242, rev 741477183 | en.wikipedia.org | link | Bad title | MISSING |
Page was deleted - page 51772401, rev 741478152 | en.wikipedia.org | link | Bad title | MISSING |
Page was deleted - page 54855886, rev 795062007 | en.wikipedia.org | link | Bad title | MISSING |
Page was deleted - page 70145684, rev 1073657433 | en.wikipedia.org | link | Draft talk:The Whips | exists |
Page was deleted - page 1598661, rev 102853541 | de.wikipedia.org | link | Benutzer Diskussion:OCAD Team/OCAD (Software) | exists |
Requested resource is not found. - page 4460519, rev 1116878719 | en.wikipedia.org | link | Wikipedia:Articles for deletion/Log/2006 March 21 | exists |
Page was deleted - page 69624053, rev 1068334904 | en.wikipedia.org | link | Draft talk:List of south Asian converts to Islam | exists |
Requested resource is not found. - page 72025082, rev 1116865602 | en.wikipedia.org | link | Wikipedia:Articles for deletion/Loyola Hall (Seattle University) | exists |
Page was deleted - page 69409699, rev 1065080097 | en.wikipedia.org | link | Draft talk:Involve.me | exists |
Page was deleted - page 70561864, rev 1083242804 | en.wikipedia.org | link | Draft talk:David T. Warner | exists |
Page was deleted - page 27591247, rev 687875274 | en.wikipedia.org | link | Category talk:Apple Inc. articles needing attention only to referencing and citation | exists |
Page was deleted - page 1215271, rev 1116757195 | en.wikipedia.org | link | For What It's Worth | exists |
Requested page does not exist. - page 48004281, rev 1116774516 | en.wikipedia.org | link | Talk:On Down the Line (album) | exists |
Page was deleted - page 70529570, rev 1082448442 | en.wikipedia.org | link | Draft talk:Kanazawa Marathon | exists |
Requested resource is not found. - page 19758235, rev 69204434 | vi.wikipedia.org | link | Thảo luận Wikipedia:Bạn có biết/2022/Tuần 42 | exists |
Requested resource is not found. - page 72025096, rev 1116755844 | en.wikipedia.org | link | Talk:List of notable English palindromic phrases | exists |
Page was deleted - page 69474350, rev 1116734999 | en.wikipedia.org | link | User talk:Anamul Haque Nayeem | exists |
Requested resource is not found. - page 60797419, rev 1116747284 | en.wikipedia.org | link | User talk:Khonda8 | exists |
Page was deleted - page 70548443, rev 1082919659 | en.wikipedia.org | link | Draft talk:Future tennessee titans stadium | exists |
Requested resource is not found. - page 17930914, rev 1116715570 | en.wikipedia.org | link | Wikipedia:Articles for deletion/Log/2008 June 14 | exists |
Requested resource is not found. - page 11022716, rev 1116713326 | en.wikipedia.org | link | Wikipedia:Usernames for administrator attention | exists |
Requested resource is not found. - page 13147785, rev 1116712628 | en.wikipedia.org | link | Wikipedia:Articles for deletion/Log/2007 September 8 | exists |
Page was deleted - page 71801047, rev 1111613061 | en.wikipedia.org | link | Talk:Namrita Malla | exists |
Page was deleted - page 70624289, rev 1084576037 | en.wikipedia.org | link | Talk:2022-23 NCAA Division I men's basketball rankings | exists |
Requested resource is not found. - page 68538791, rev 1116700321 | en.wikipedia.org | link | Wikipedia:Contributor copyright investigations/HinduKshatrana | exists |
Requested page does not exist. - page 69879720, rev 1116693567 | en.wikipedia.org | link | Talk:Batman and Superman: Battle of the Super Sons | exists |
Reviewing this list:
I think the solution is to just retry when the errors occurs, without RESTBase, like in T315689. The issue only occurs a couple dozen times per day, so this should be okay to do.
Change 844574 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@master] Retry without RESTBase when the page/revision seems to be missing
Change 844574 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Retry without RESTBase when the page/revision seems to be missing
Change 848391 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):
[mediawiki/extensions/DiscussionTools@wmf/1.40.0-wmf.6] Retry without RESTBase when the page/revision seems to be missing
Change 848391 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@wmf/1.40.0-wmf.6] Retry without RESTBase when the page/revision seems to be missing
Mentioned in SAL (#wikimedia-operations) [2022-10-24T20:21:05Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:848390|Allow 'nofollow' on external links in Parsoid output (T321437)]], [[gerrit:848391|Retry without RESTBase when the page/revision seems to be missing (T315688)]]
Mentioned in SAL (#wikimedia-operations) [2022-10-24T20:21:24Z] <urbanecm@deploy1002> urbanecm and matmarex: Backport for [[gerrit:848390|Allow 'nofollow' on external links in Parsoid output (T321437)]], [[gerrit:848391|Retry without RESTBase when the page/revision seems to be missing (T315688)]] synced to the testservers: mwdebug1002.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet, mwdebug1001.eqiad.wmnet
Mentioned in SAL (#wikimedia-operations) [2022-10-24T20:27:44Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:848390|Allow 'nofollow' on external links in Parsoid output (T321437)]], [[gerrit:848391|Retry without RESTBase when the page/revision seems to be missing (T315688)]] (duration: 06m 38s)