Closed Bug 1035811 Opened 10 years ago Closed 10 years ago

Mochitest manifest warnings dumped at start of each robocop test

Categories

(Testing :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla33

People

(Reporter: gbrown, Assigned: vaibhav1994)

References

Details

Attachments

(1 file, 1 obsolete file)

Mochitest manifest warnings now appear at the start of each Robocop test: https://tbpl.mozilla.org/php/getParsedLog.php?id=43246078&tree=Mozilla-Inbound&full=1 06:20:28 INFO - Warning: test_XHR_timeout.js from manifest /builds/slave/test/build/tests/mochitest/tests/content/base/test/mochitest.ini is not a valid test 06:20:28 INFO - Warning: test_bug357450.js from manifest /builds/slave/test/build/tests/mochitest/tests/content/base/test/mochitest.ini is not a valid test 06:20:28 INFO - Warning: test_bug380418.html^headers^ from manifest /builds/slave/test/build/tests/mochitest/tests/content/base/test/mochitest.ini is not a valid test 06:20:28 INFO - Warning: test_bug402150.html^headers^ from manifest /builds/slave/test/build/tests/mochitest/tests/content/base/test/mochitest.ini is not a valid test 06:20:28 INFO - Warning: test_bug493881.js from manifest /builds/slave/test/build/tests/mochitest/tests/content/base/test/mochitest.ini is not a valid test ... These warnings seem irrelevant to Robocop tests. They did not appear prior to landing the patch for bug 1014125: https://tbpl.mozilla.org/php/getParsedLog.php?id=43245296&tree=Mozilla-Inbound&full=1
Also, Robocop logs seem to no longer dump logcat following a failure / crash: https://tbpl.mozilla.org/php/getParsedLog.php?id=43357167&full=1&branch=mozilla-inbound#error0
Assignee: nobody → vaibhavmagarwal
Attached patch warning.patch (obsolete) — Splinter Review
Try push: https://tbpl.mozilla.org/?tree=Try&rev=c36895734f65 Now the "warning:" comments are not being dumped.
Attachment #8456125 - Flags: review?(jmaher)
Comment on attachment 8456125 [details] [diff] [review] warning.patch Review of attachment 8456125 [details] [diff] [review]: ----------------------------------------------------------------- great stuff here! Have you sanity checked that this doesn't mess up b2g or desktop? The try run for android looks great.
Attachment #8456125 - Flags: review?(jmaher) → review+
Attached patch warning.patchSplinter Review
Attachment #8456125 - Attachment is obsolete: true
:gbrown, I would like your review for this patch. In this patch, I have added a method "getTestsToRun" which is also in runtests.py: http://dxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#1380 . Now the reason we require this is because we don't want to filter the manifest in case of robocopIni tests (something similar to buildTestPath method in runtestsremote.py). After discussing with :jmaher, I had another thought, we are working to remove the "Warning:" log here: http://dxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#1363 , and in that case we won't need this extra method. I would like to know which way do you prefer?
Flags: needinfo?(gbrown)
Attachment #8456676 - Flags: review?(gbrown)
Comment on attachment 8456676 [details] [diff] [review] warning.patch Review of attachment 8456676 [details] [diff] [review]: ----------------------------------------------------------------- I like it this way -- better to skip all of that for Robocop since it is not needed.
Attachment #8456676 - Flags: review?(gbrown) → review+
Flags: needinfo?(gbrown)
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: