Modify

Opened 5 years ago

Closed 4 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 follow-up: Changed 5 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 ; follow-up: Changed 5 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 5 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 4 years ago by roadrunner

  • Resolution set to wontfix
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from roadrunner. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.