tardyp changed the topic of #buildbot to: A Software Freedom Conservancy Project | Buildbot-3.2.0 | docs: http://docs.buildbot.net/current/ | tutorial: http://docs.buildbot.net/current/tutorial | irclogs: https://libera.irclog.whitequark.org/buildbot
_whitelogger has joined #buildbot
aakashja_ has quit [Remote host closed the connection]
dol-sen has joined #buildbot
dol-sen has joined #buildbot
dol-sen has quit [Changing host]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 268 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 252 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
flx has quit [Quit: Leaving]
flx has joined #buildbot
aakashjain has joined #buildbot
koobs has quit [Ping timeout: 250 seconds]
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
ccw has joined #buildbot
Cheyenne has quit [Ping timeout: 268 seconds]
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
koobs has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 268 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 252 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 268 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 268 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 256 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 256 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
jmd has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
alicef_ has joined #buildbot
alicef has quit [Ping timeout: 256 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
alicef_ has quit [Quit: install gentoo]
alicef has joined #buildbot
alicef has quit [Quit: install gentoo]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 256 seconds]
alicef has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
alicef has quit [Read error: Connection reset by peer]
aakashjain has quit [Ping timeout: 268 seconds]
alicef has joined #buildbot
alicef has quit [Client Quit]
alicef has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
<jmd> I'm new to buildbot. I have installed the buildmaster. From what I read in the documentation I expected that to have started a webserver. But I don't see that there is anything listening on any TCP ports, except for 99899 which I think is the connection to the database.
<jmd> Is there a step I missed?
<cmouse> did you configure a web server?
<jmd> There is already a webserver running on that machine. But my understanding is that buildbot starts its own one.
<jmd> That's why it uses port 8010
<cmouse> jmd: .. did you configure webserver in *buildbot config file*? =)
<jmd> no.
<cmouse> ok, read that page and see if it helps
<jmd> I will do
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
<jmd> Hmm it seems that I have to install a thing called buildbot-www
<jmd> https://docs.buildbot.net/2.10.1/manual/installation/installation.html merely mentions that it has to be installed. But doesn't explain how to do that.
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
<dol-sen> jmd, you'll also want some other www pkgs like console-view, waterfall-view, the www pkg is just the basic common pkg
<cmouse> jmd: pip install buildbot-www
<cmouse> and so on
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
<jmd> cmouse: Thanks.
<jmd> Now to install some workers
<jmd> ...
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
<jmd> When trying to start a worker, I see in twistd.log "2021-12-16 13:33:13+0100 [Broker,client] unauthorized login; check worker name and password"
<jmd> But where do I enter that name and password?
aakashjain has joined #buildbot
<cmouse> check manual? =)
aakashjain has quit [Ping timeout: 240 seconds]
<jmd> The manual is clearly written by the developer. It is very hard to follow from the point of view of someone who is a prospective user.
<rjarry> jmd: buildbot is not jenkins, it is not plug&play
<rjarry> you need to be involved to configure it
<jmd> No. I wasn't expecting it to be. And I'd be disappointed if it was like Jenkins.
<rjarry> what you are looking for is probably in buildbot-worker --help
<jmd> I will have a look at that.
<rjarry> of course, this needs to match the configuration on the master
<jmd> rjarry: configuration on the master is what I was missing.
<jmd> (your "of course" particle, epitomises what I said earlier about something being obvious to a developer but obscure to a user)
<rjarry> I assumed that you had read the docs :)
<jmd> I would not be so bold as to claim that I had read them cover to cover. But yes I did read the documentation several times, and I don't recall any mention of a password/username needing to be set in the master. I've no doubt you could point me to such a place, but the docs are not friendly to a newcomer.
<rjarry> the password thing is one of the first items in the worker part of the manual https://docs.buildbot.net/current/manual/configuration/workers.html#defining-workers
<rjarry> "A Worker instance is created with a workername and a workerpassword. These are the same two values that need to be provided to the worker administrator when they create the worker."
<jmd> Like
<jmd> I said, I had no doubt you could quote such a place. But doing so after the fact is not helpful.
<rjarry> buildbot is a complex project, writing accessible documentation is very hard
<rjarry> also, how the documentation is perceived will depend on people
<rjarry> when I started using buildbot, the manual was enough for most things
<rjarry> after a while I started reading the code since it was the only way to do more complex things
<rjarry> you cannot document every little detail
<rjarry> the tutorial also gives a step by step guide for newcomers https://docs.buildbot.net/current/tutorial/firstrun.html
<jmd> Yes. As I also said, I have read that several times.
<jmd> So having set the password and username, and connected a worker. When I click on the blue "force" button and fill out the form and click "Start Build" all that happens is a pink field appears saying "invalid origin". I'll start searching the manual for the meaning of this error. In the meantime if anyone cares to enlighten me about this that will be appreciated.
<rjarry> jmd: starting builds from the html interface is not the standard way of using buildbot
<rjarry> generally, you start them via hooks
<jmd> I'm sure it's not but its what that tutorial (which you pointed out) recommends.
<rjarry> the invalid origin error should mean that the host header of your http request does not match the buildbotUrl configuration field
<rjarry> i.e. if you are accessing the master through http://foobar:8010 then you should have c['buildbotURL'] = 'http://foobar:8010'
<rjarry> literally
<jmd> Oh that.
<jmd> What am I supposed to do a host, like this one, is multi-homed?\
<rjarry> I don't think this is supported
<rjarry> maybe this is only used by the JS client
<rjarry> I am not an expert in that field, though :)
<jmd> I'll stick to using just localhost for now. But that is going to be a problem once this system goes live.
<cmouse> jmd: we run nginx in front of the bb web interface
<rjarry> do you actually need to make your buildbot master accessible from multiple URLs ?
<jmd> I can probably work around that problem.
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 240 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 256 seconds]
aakashjain has joined #buildbot
felixfontein has quit [Ping timeout: 250 seconds]
felixfontein has joined #buildbot
ccw has quit [Quit: ZNC - https://znc.in]
Cheyenne has joined #buildbot
<acidtonic_> Just reporting back my problems were very strange and it turned out to be related to windows time sync happening way later sometimes hours into a build. Buildbot does not handle that well and all my strangeness was that. Put an ntp sync right before launching buildbot workers and I am much happier :)
<jmd> The docs say that if treeStableTimer=None then a build starts "immediately". How can that be so, unless there is a tight loop polling for changes? and if that is the case surely it will use a lot of CPU.
<acidtonic_> jmd, my understanding was that it meant that *when* the polling happens, if it sees a change it starts the build immediately. Otherwise it waits until later polling sees no further changes and then decides it's "settled" and fires the build
<jmd> Right. So presumably somewhere I can set the polling period?
<acidtonic_> When you setup the GitPoller (or whatever subclass)
<jmd> Oh Right. Thanks.
<acidtonic_> pollInterval=
<acidtonic_> jmd, no problem. I am learning this myself at the moment
<jmd> Great. We'll learn together!
<jmd> How is a change_source related to a scheduler ?
<acidtonic_> jmd, not sure the question exactly...
<acidtonic_> I do have my own, is there a way to control how long buildbot waits until shutting down the LibVirtWorker Vm?
<acidtonic_> I have some failed builds I'm investigating but after roughly 10-15 minutes buildbot will shut down the VM even though nothing is scheduled to use that machine.
jmd has quit [Remote host closed the connection]
<thm> I upgrade my bb instance from 2.X to 3.4, now the waterfall view doesn't finish loading. any hints om where to look?
<thm> oh, wait, clearing the browser cache helped.
jmd has joined #buildbot
bjb has quit [Ping timeout: 252 seconds]
<jmd> Can buildbot-www be made viewable wihout javascript?
bjb has joined #buildbot
aakashjain has quit [Read error: Connection reset by peer]
aakashjain has joined #buildbot
jmd has quit [Remote host closed the connection]
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot