Modify

Opened 15 years ago

Closed 14 years ago

#5635 closed defect (wontfix)

Failure to connect disables whole timeline

Reported by: anonymous Owned by: roadrunner
Priority: normal Component: HudsonTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

If the plugin cannot connect to Hudson, it blocks the rest of the timeline because only the error message is displayed:

Hudson Builds event provider (HudsonTracPlugin) failed:
URLError: <urlopen error (10054, 'Connection reset by peer')>

It should automatically "follow" the You may want to see the other kind of events from the Timeline link, i.e. display the timeline without Hudson entries.

Attachments (0)

Change History (4)

comment:1 Changed 15 years ago by roadrunner

I'm not quite sure I agree: if you want to ignore the hudson entries, then just uncheck the "Hudson Builds" in the timeline filter. Silently ignoring errors makes it A) harder to diagnose problems, and B) gives you a false sense of a valid timeline.

comment:2 in reply to:  1 ; Changed 15 years ago by anonymous

Replying to roadrunner:

I'm not quite sure I agree: if you want to ignore the hudson entries, then just uncheck the "Hudson Builds" in the timeline filter. Silently ignoring errors makes it A) harder to diagnose problems, and B) gives you a false sense of a valid timeline.

It should display the Hudson connection error, and then show the timeline without Hudson entres, not just the link.

comment:3 in reply to:  2 Changed 15 years ago by roadrunner

Replying to anonymous:

Replying to roadrunner:

I'm not quite sure I agree: if you want to ignore the hudson entries, then just uncheck the "Hudson Builds" in the timeline filter. Silently ignoring errors makes it A) harder to diagnose problems, and B) gives you a false sense of a valid timeline.

It should display the Hudson connection error, and then show the timeline without Hudson entres, not just the link.

I'm not sure how to do that. It currently raises an exception, if an error occurs, and I can't control what trac does after that. The only other option I see is to possibly create a dummy timeline entry indicating the error. If you know of any other approaches, please let me know.

comment:4 Changed 14 years ago by roadrunner

Resolution: wontfix
Status: newclosed

Since the link to display the timeline without the builds is provided right there, and since I see no good solutions here, I'm closing this. If anybody has any really good ideas, the feel free to re-open.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain roadrunner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.