Opened 7 years ago

Last modified 6 years ago

#2489 new defect

Events getting repeatedly pushed via httpstatus

Reported by: jachen Owned by:
Priority: major Milestone: 0.9.+
Version: 0.8.7p1 Keywords:
Cc:

Description (last modified by dustin)

I've recently upgraded from 0.8.5 to 0.8.7p1.

I have a campfire status push which basically inherits from http status underneath, with some minor changes.

I noticed 'Unhanded error' in twistd.log. Referring to http://trac.buildbot.net/ticket/2450

I manually added the patch. Now the error is gone.

However, I am still seeing events get pushed repeatedly, which didn't happen before the upgrade.

Below is a snippet of twistd.log, showing a build is finished. A build event is supposed to get pushed to a couple of campfire rooms. Instead, it gets pushed multiple times.

2013-04-16 12:35:21-0700 [-]  <Build coi_buildout>: build finished
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:21-0700 [-] Starting factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:21-0700 [-] pruning '/home/buildbot-runner/bbot/master/coi_buildout/584-log-git-stdio.bz2'
2013-04-16 12:35:21-0700 [-] pruning '/home/buildbot-runner/bbot/master/coi_buildout/584-log-tar-stdio.bz2'
2013-04-16 12:35:21-0700 [-] pruning '/home/buildbot-runner/bbot/master/coi_buildout/584'
2013-04-16 12:35:21-0700 [-] pruning '/home/buildbot-runner/bbot/master/coi_buildout/584-log-tar-interrupt'
2013-04-16 12:35:21-0700 [-]  setting expectations for next time
2013-04-16 12:35:21-0700 [-] new expectations: 1303.23785007 seconds
2013-04-16 12:35:21-0700 [-] releaseLocks(<ooislaves.MySlave object at 0x2c54a50>): []
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://nimbusproject.campfirenow.com/room/387760/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://ooici.campfirenow.com/room/449376/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://ooici.campfirenow.com/room/449376/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://nimbusproject.campfirenow.com/room/387760/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://ooici.campfirenow.com/room/449376/speak.json2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://nimbusproject.campfirenow.com/room/387760/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://nimbusproject.campfirenow.com/room/387760/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://nimbusproject.campfirenow.com/room/387760/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://ooici.campfirenow.com/room/449376/speak.json2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://ooici.campfirenow.com/room/449376/speak.json
2013-04-16 12:35:22-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>2013-04-16 12:35:22-0700 [-] Starting factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:22-0700 [-] Starting factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>
2013-04-16 12:35:23-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://ooici.campfirenow.com/room/449376/speak.json
2013-04-16 12:35:23-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://ooici.campfirenow.com/room/449376/speak.json>
2013-04-16 12:35:23-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Sent 1 events to https://nimbusproject.campfirenow.com/room/387760/speak.json
2013-04-16 12:35:23-0700 [HTTPPageGetter (TLSMemoryBIOProtocol),client] Stopping factory <HTTPClientFactory: https://nimbusproject.campfirenow.com/room/387760/speak.json>

Change History (4)

comment:1 Changed 7 years ago by dustin

  • Description modified (diff)
  • Milestone changed from undecided to 0.8.+
  • Type changed from undecided to defect

comment:2 Changed 7 years ago by jachen

It seems the longer the buildbot master stays up, the more duplicated events there are. I am not sure if running 'buildbot reconfig .' a bunch while the builders are running is also a contributing factor of these duplicates.

comment:3 Changed 7 years ago by dustin

Ah, yes, I bet it is re-susbcribing to events on reconfig, but not unsubscribing.

If there's a fix for this in 0.8.x, I'm happy to merge it, but this code is going away in 0.9.x, which is where my efforts are focused.

comment:4 Changed 6 years ago by dustin

  • Milestone changed from 0.8.+ to 0.9.+

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.