Open
Bug 1899774
Opened 1 month ago
Updated 1 month ago
Improve logging of Puppeteer tests to reduce file size of error summary log
Categories
(Remote Protocol :: Agent, enhancement, P2)
Remote Protocol
Agent
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
Details
(Whiteboard: [webdriver:backlog])
Follow-up from bug 1899140.
There is one test called AriaQueryHandler queryAllArray $$eval should handle many elements (ariaqueryhandler.spec.js)
which interacts with 10.000 elements in the page. It produces quite a lot of log output when trace mode is enabled and as such not allowing Treeherder to parse the log file. Given that the test will stay as is, we need another solution to keep our log file as small as possible.
To not have to disable the test or to reduce the number of elements to interact with in this test, we might be able to do the following:
- Keep
dumpio=1
enabled to get the logging output from Firefox - Create a log filter for stdout/stderr and only write Puppeteer related logs to stdout which is captured in error summary log for parsing the results
- The complete log we can write to a file called
gecko.log
- Making this opt-in via an argument so that this is only done in CI for Puppeteer jobs but not locally (by default)
Reporter | ||
Updated•1 month ago
|
Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:backlog]
You need to log in
before you can comment on or make changes to this bug.
Description
•