Last modified: 2014-06-05 16:31:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58601, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56601 - Add round-trip test mode using selser and web interfaces
Add round-trip test mode using selser and web interfaces
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
tests (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Marc Ordinas i Llopis
:
: 56730 (view as bug list)
Depends on:
Blocks: 65536
  Show dependency treegraph
 
Reported: 2013-11-05 04:41 UTC by Gabriel Wicke
Modified: 2014-06-05 16:31 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gabriel Wicke 2013-11-05 04:41:58 UTC
Selective serialization is currently only covered by parser tests, which are insufficient in particular for selective serialization. Even without any simulated changes, simple selser round-tripping will provide a valuable sanity check for diffing and top-level selser.
Comment 1 Gabriel Wicke 2013-11-05 04:42:50 UTC
Ideally this testing would also be done through the web API end points so that we are testing the entire stack.
Comment 2 Gabriel Wicke 2013-12-03 22:21:30 UTC
*** Bug 56730 has been marked as a duplicate of this bug. ***
Comment 3 Antoine "hashar" Musso (WMF) 2013-12-03 22:30:17 UTC
/me spies the bug
Comment 4 Marc Ordinas i Llopis 2014-02-13 16:47:56 UTC
Now that bug #56590 is fixed, and we're using the web API for round-trip testing, enabling selser should be just a matter of changing tests/test.localsettings.js. Of course, that would switch all the rt tests to use selser.

To get results with selser active and without, we'll need to add support for getting two results for the same page+commit (or just send a different hash for selser results?). Is this what we want?
Comment 5 Gabriel Wicke 2014-02-13 20:24:37 UTC
Omitting the oldid in html2wt testing will disable selser even if that's enabled in localsettings.
Comment 6 Gabriel Wicke 2014-02-13 20:27:39 UTC
Could the tag field be included in default searches too? Right now this requires an advanced search, which makes tags less useful than the old add-them-to-the-title work-around.
Comment 7 Gabriel Wicke 2014-02-13 20:29:27 UTC
(In reply to Gabriel Wicke from comment #6)
> Could the tag field be included in default searches too? Right now this
> requires an advanced search, which makes tags less useful than the old
> add-them-to-the-title work-around.

Eh, sorry. Was meant for bug 61292.
Comment 8 Marc Ordinas i Llopis 2014-02-14 11:30:27 UTC
(In reply to Gabriel Wicke from comment #5)
> Omitting the oldid in html2wt testing will disable selser even if that's
> enabled in localsettings.

That does make it easier, but I'm still not sure about what we should do in round-trip testing:

(In reply to Marc Ordinas i Llopis from comment #4)
> To get results with selser active and without, we'll need to add support for
> getting two results for the same page+commit (or just send a different hash
> for selser results?). Is this what we want?
Comment 9 Gabriel Wicke 2014-02-19 19:06:28 UTC
(In reply to Marc Ordinas i Llopis from comment #8)
> > To get results with selser active and without, we'll need to add support for
> > getting two results for the same page+commit (or just send a different hash
> > for selser results?). Is this what we want?

According to http://windyroad.com.au/dl/Open%20Source/JUnit.xsd there can be any number of testsuite elements. We can use this to represent normal rt test results and selser rt test results.
Comment 10 Gerrit Notification Bot 2014-02-25 22:46:42 UTC
Change 115419 had a related patch set uploaded by GWicke:
Simulate minor edit in _rtselser end point

https://gerrit.wikimedia.org/r/115419
Comment 11 Gerrit Notification Bot 2014-02-25 22:52:21 UTC
Change 115419 merged by jenkins-bot:
Simulate minor edit in _rtselser end point

https://gerrit.wikimedia.org/r/115419
Comment 12 Gabriel Wicke 2014-05-15 15:51:22 UTC
Reopening as our rt test setup is not yet doing any selser testing. We should be able to use the same code as in the _rtselser end point there.
Comment 13 Gerrit Notification Bot 2014-05-28 17:17:51 UTC
Change 135575 had a related patch set uploaded by Marcoil:
Bug 56601: Add round-trip test mode using selser and web interfaces

https://gerrit.wikimedia.org/r/135575
Comment 14 Gerrit Notification Bot 2014-06-05 15:37:08 UTC
Change 135575 merged by jenkins-bot:
Bug 56601: Add round-trip test mode using selser and web interfaces

https://gerrit.wikimedia.org/r/135575
Comment 15 Gerrit Notification Bot 2014-06-05 15:42:16 UTC
Change 137680 had a related patch set uploaded by Marcoil:
Bug 56601: Keep number of rt selser errors in new column in stat table

https://gerrit.wikimedia.org/r/137680
Comment 16 Gerrit Notification Bot 2014-06-05 15:57:23 UTC
Change 137680 merged by jenkins-bot:
Bug 56601: Keep number of rt selser errors in new column in stat table

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links