Closed
Bug 1039172
Opened 11 years ago
Closed 11 years ago
Warnings are printed twice and "TEST-SKIPPED" are no longer printed in logs
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vaibhav1994, Assigned: vaibhav1994)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
1.02 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
"Warnings:" are printed twice in the logs as which can be seen here: https://tbpl.mozilla.org/php/getParsedLog.php?id=43902177&tree=Try&full=1
Also "TEST-SKIPPED" are no longer printed in the logs.
Assignee | ||
Comment 1•11 years ago
|
||
I think that printing "Warnings:" are not used anywher
Assignee | ||
Comment 2•11 years ago
|
||
I think that "Warnings:" are being printed but are not used anywhere. Similarly the "TEST-SKIPPED" are not used anywhere else people would have raised problems. Joel, do you think we should stop printing "Warnings:" and "TEST-SKIPPED" and make the logs shorter?
Flags: needinfo?(jmaher)
Comment 3•11 years ago
|
||
so test-skipped is useful while figuring out what ran and didn't run. Until we have a tool which allows us to see what tests are active/disabled per platform per branch, we should leave the skipped in place.
As for the warnings, we really should figure that out, for example here is a warning:
http://dxr.mozilla.org/mozilla-central/source/content/base/test/mochitest.ini#322
that is a resource for a test, not a test, so our manifest files could use some cleanup. Lets make a pass through and see if we can get rid of these warnings.
could the warnings be printed twice because we are parsing the manifests twice?
Flags: needinfo?(jmaher)
Assignee | ||
Updated•11 years ago
|
Mentor: vaibhavmagarwal
Whiteboard: [good first bug]
Assignee | ||
Comment 4•11 years ago
|
||
Sorry, wrong bug!
Mentor: vaibhavmagarwal
Whiteboard: [good first bug]
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Joel Maher (:jmaher) from comment #3)
> so test-skipped is useful while figuring out what ran and didn't run. Until
> we have a tool which allows us to see what tests are active/disabled per
> platform per branch, we should leave the skipped in place.
The test-skipped are not being printed because we filter out the disabled tests for bisection here: http://dxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#1387 . So, one way is to log the test-skipped information there, but then it will be printed before ""runtests.py | Running tests: start.\n". Will this be fine or is there some other way?
> As for the warnings, we really should figure that out, for example here is a
> warning:
> http://dxr.mozilla.org/mozilla-central/source/content/base/test/mochitest.
> ini#322
>
> that is a resource for a test, not a test, so our manifest files could use
> some cleanup. Lets make a pass through and see if we can get rid of these
> warnings.
Should I remove the warning log here: http://dxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#1363 ? since we already have all the warning failures in https://bugzilla.mozilla.org/show_bug.cgi?id=1039539#c1
> could the warnings be printed twice because we are parsing the manifests
> twice?
Yes, that is the reason.
Comment 6•11 years ago
|
||
I am fine with printing the skipped information elsewhere, as long as it is only once!
My vote is to keep the warning log message, this will get cleaned up and we will be ignoring incorrect manifests if we remove this.
Assignee | ||
Comment 7•11 years ago
|
||
This patch puts the "TEST-SKIPPED" in place.
Attachment #8458687 -
Flags: review?(jmaher)
Comment 8•11 years ago
|
||
Comment on attachment 8458687 [details] [diff] [review]
testskipped.patch
Review of attachment 8458687 [details] [diff] [review]:
-----------------------------------------------------------------
you are awesome!
Attachment #8458687 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 9•11 years ago
|
||
Thanks Joel for the quick review :)
Keywords: checkin-needed,
leave-open
Comment 10•11 years ago
|
||
Keywords: checkin-needed
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
I would like to close this bug out or be explicit about what is left to do. quite possible remove the test-skipped messages now that we have test-informant?
Assignee | ||
Comment 13•11 years ago
|
||
Yes, we can close this as the remaining part will be dealt in Bug 983867
Assignee: nobody → vaibhavmagarwal
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 14•8 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•