Closed Bug 1174645 Opened 9 years ago Closed 9 years ago

Jobs with missing logs incorrectly say " Log parsing complete. Generating bug suggestions The content of this panel will refresh in 5 seconds."

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: tapesh.mandal)

References

Details

Attachments

(1 file)

 Log parsing status: failed 

...since the log is 404:
https://queue.taskcluster.net/v1/task/IT1ZYAulREO4IqODafW2Cg/runs/0/artifacts/public/logs/live_backing.log
Summary: Jobs with no error summary incorrectly say " Log parsing complete. Generating bug suggestions The content of this panel will refresh in 5 seconds." → Jobs with missing logs incorrectly say " Log parsing complete. Generating bug suggestions The content of this panel will refresh in 5 seconds."
See also this log:
https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=6411f2fcd3ec&filter-searchStr=Windows%208%20x64%20debug%20Mochitest%20Mochitest%20M%282%29

...which isn't 404, but yet has a parsing status of "failed". 

Either way, we shouldn't display the "Log parsing complete. Generating bug suggestions..." message if we're not going to retry the parse.
Tapesh expressed interest in fixing this bug, so assigning. Thanks Tapesh!
Assignee: nobody → tapesh.mandal
Mentor: emorley
Status: NEW → ASSIGNED
OS: Unspecified → All
Hardware: Unspecified → All
I'm probably not the best to mentor this; clearing mentor.
Mentor: emorley
Hi Ed,

No problem ..still thanks :)

Regards,
Tapesh Mandal
Hi all ,

i hope the changes made in the pull request are satisfactory \:)

Regards,
Tapesh Mandal
Attachment #8666905 - Flags: review?(cdawson)
Attachment #8666905 - Flags: feedback?(tojonmz)
Comment on attachment 8666905 [details] [review]
Bug 1174645 - Jobs with missing logs incorrectly say " Log parsing complete. Generating bug suggestions The content of this panel will refresh in 5 seconds."

I left some comments in the PR.
Attachment #8666905 - Flags: feedback?(tojonmz)
Comment on attachment 8666905 [details] [review]
Bug 1174645 - Jobs with missing logs incorrectly say " Log parsing complete. Generating bug suggestions The content of this panel will refresh in 5 seconds."

Hi Tapesh--  I made some comments in the PR.  I think we should take a different approach.  I apologize for confirming this approach, initially.  After playing with your solution I realized we needed to do this a little differently.  

Thanks for all your work!  I'm clearing the review for now.  Please re-add me when you have made your adjustments.
Attachment #8666905 - Flags: review?(cdawson)
Hi camd,jfrench ,

Made changes as suggested by both of you. Please test it and let me know. works fine on my system according to Ed's testcases.

Regards,
Tapesh Mandal
(In reply to Tapesh Mandal from comment #9)
> Hi camd,jfrench ,
> 
> Made changes as suggested by both of you. Please test it and let me know.
> works fine on my system according to Ed's testcases.
> 
> Regards,
> Tapesh Mandal

Test as required :)
Flags: needinfo?(tojonmz)
Flags: needinfo?(cdawson)
I've provided some feedback in the PR, some of the linting changes are appreciated but are a bit outside the scope of the code involved, we can reduce those and do them in another P5 bug.

I'll let Tapesh re-test the test cases I've outlined earlier (running, pending, coalesced) in addition to Ed's above, and sanity testing of the change in related functionality vs. production which should match in all other respects except for the fix. Thanks Tapesh! :)
Flags: needinfo?(tojonmz)
This looks great!  Good to merge.
Flags: needinfo?(cdawson)
Commits pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/608f0f6beaa87e438ea58ea4518e531958a40789
Bug 1174645 - Improve job details message for missing logs

https://github.com/mozilla/treeherder/commit/58ae256b28e0ad6dba32c91efce8096ed6a88a2a
Merge pull request #1012 from mandaltapesh/logparse

Bug 1174645 - Improve job details message for missing logs
Thanks for tackling this, Tapesh!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
My pleasure :)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: