Closed Bug 1193216 Opened 9 years ago Closed 9 years ago

The "log not found" error message should explain that it's due to the raw log having expired from eg ftp

Categories

(Tree Management :: Treeherder, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: emorley, Assigned: jfrench)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
camd
: review+
Details | Review
Visit:
https://treeherder.mozilla.org/logviewer.html#?repo=b2g-inbound&job_id=2209625

Click an error line.

The following message is shown:
"Log could not be found"

Now since we have a text_log_summary for the log, we know that at some point the log file did exist (in fact, I think the whole log viewer breaks if the text_log_summary doesn't exist, so we don't need to worry about this case for the moment).

As such, "Log could not be found" is really "Log no longer exists". The former implies an issue with Treeherder, whereas it's really that the log source (eg ftp or the taskcluster hosts) has expired the log. We should also probably link to the log more obviously.

How about:

"The raw log no longer exists on <domain> - it may have expired."

...where the link text "<domain>" is the hostname from the log url, and the href is the full log URL.
Yeah we should fix that case too. (Which is not that the log has expired, but the job data has been deleted from Treeherder by the cycle data task - the job basically doesn't exist any more).
Summary: The "log not found" error message should be clearer that it's likely due to the log having expired → The "log not found" error message should explain that it's due to the raw log having expired from eg ftp
See Also: → 1193222
Blocks: 1182178
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
OS: Unspecified → All
Priority: -- → P3
Hardware: Unspecified → All
Attached file PR 867
Please see PR for status and review.
Attachment #8647117 - Flags: review?(cdawson)
Attachment #8647117 - Flags: review?(cdawson) → review+
Marking fixed per above merge. Will verify on the next push to stage/prod. Note to self to re-check the console w/failure case on prod, ensuring the debug thNotify message doesn't appear there (setting debug false in my local env suppressed it as expected).
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified fixed on stage with the failure case in comment 0, and should also be fixed on production for applicable jobs. I wasn't able to find any on production on some cursory searching.

We'll deal with completely expired jobs in bug 1193222, per above.
Status: RESOLVED → VERIFIED
Component: Treeherder: Log Viewer → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: