Closed
Bug 1055087
Opened 11 years ago
Closed 6 years ago
Mozlog should log a smaller set of statuses for compatibility with tbpl
Categories
(Testing :: Mozbase, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: chmanchester, Assigned: chmanchester)
References
Details
Attachments
(1 file)
See https://bugzilla.mozilla.org/show_bug.cgi?id=1050177#c7
I have something that implements this in a patch for bug 1055070. The requirement as I understand it is to log a smaller set of statuses (tbpl knows about "PASS" and "FAIL", pretty much), and to propagate a failing status from subtests to the test_end message.
Comment 1•11 years ago
|
||
Isn't the part about propagating a failing status from subtests to test_end already done by the test harnesses currently?
Assignee | ||
Comment 2•11 years ago
|
||
I think this can be simpler, but here it is on try with a timeout and failure:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=38f9e397b11f
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → cmanchester
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•11 years ago
|
||
The failures are in a different chunk. Here:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=7bd73cdd89c5
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Ahmed Kachkach [:akachkach] from comment #1)
> Isn't the part about propagating a failing status from subtests to test_end
> already done by the test harnesses currently?
I mean only logging "TEST-PASS" and "TEST-UNEXPECTED-FAIL" in test_end.
Comment 5•11 years ago
|
||
Hmm, why do we want to propagate the status from subtests to the test_end? I'm not thrilled about that.
Comment 6•11 years ago
|
||
(but I can probably be convinced that it's OK to do this for mochitest for legacy reasons, if it's something we can remove once mozharness uses the raw logs to set the job status, which should be a high priority).
Assignee | ||
Comment 7•11 years ago
|
||
I guess this isn't about mozharness. It's a requirement of the logs as they are today that they preserve the meaning of mozharness' parsers for all the relevant cases. Anywhere they aren't should be fixed in an urgent manner. This is more about keeping the logs looking similar to the way they did before, and possibly a precautionary measure with respect to the log parsers we haven't yet discovered.
Making things look like they did before in a way that reduces the amount of information they contain is pretty lame, but it's just a formatter.
Comment 8•11 years ago
|
||
We didn't have any TEST-UNEXPECTED-FAIL on the subtest level before? If it's the case then this change makes sense since it would give the "right" number of errors in mozharness (before we finally get to refactor it)
Comment 9•6 years ago
|
||
I'm guessing this bug isn't relevant any more.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•