aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
kveremitz has quit [Ping timeout: 240 seconds]
NeddySeagoon has quit [Ping timeout: 272 seconds]
NeddySeagoon has joined #buildbot
kveremitz has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 245 seconds]
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 276 seconds]
InitHell1_ has joined #buildbot
kamyl has quit [*.net *.split]
InitHello has quit [*.net *.split]
InitHell1_ is now known as InitHello
RP has joined #buildbot
<cmouse>
meh
<cmouse>
tried to upgrade from 2.8.4 => 2.10.1
<cmouse>
and got `builders must be a list or None` with no further explanation on checkConfig
<cmouse>
lucky I have a test setup
aakashjain has joined #buildbot
aakashjain has quit [Ping timeout: 246 seconds]
jvcelak has joined #buildbot
kamyl has joined #buildbot
aakashjain has joined #buildbot
aakashjain has quit [Remote host closed the connection]
aakashjain has joined #buildbot
jcarl43 has joined #buildbot
kraiskil has joined #buildbot
kraiskil has quit [Ping timeout: 264 seconds]
Lekensteyn has quit [Ping timeout: 240 seconds]
Lekensteyn has joined #buildbot
<aakashjain>
I tried to run 'buildbot upgrade-master' to upgrade from buildbot 1.8.2 to 2.10.1 (on a testing instance), with a sqllite database of ~33gb, it took ~7 hours. Is that normal?
<aakashjain>
Would postgres database be more performant than this?
<aakashjain>
I need to do similar thing for production instance which is ~500gb. I am wondering what I can do to reduce the down-time and make it faster.
<aakashjain>
p12tic, tardyp ^
<p12tic>
one option would be to upgrade incrementally
<p12tic>
but first, question about the data: is it all needed? is it possible to delete build logs older than e.g. X months?
<aakashjain>
p12tic: i might be able to delete some build logs, would that help in time taken for 'buildbot upgrade-master'?
<aakashjain>
p12tic: what do you mean by incrementally?
<p12tic>
e.g. upgrade to 2.x to do part of the upgrade, then to 2.x+1, etc.
<p12tic>
i'm looking, in this case this won't help
<p12tic>
the most likely reason for long upgrade is an addition of a index to steps table in v2.4
<p12tic>
myself I didn't compare how much time postgres would take to add an index vs. sqlite. so my suggestion would be to take a backup and try
<aakashjain>
p12tic: thanks. can you please point me to the v2.4 change which added indexes?
<p12tic>
if that works for you, you could just do this manually by started_at column in steps. you'd still see builds and their results, but no information about steps
<shurdeek_>
if I use a docker latent worker, can image and / or dockerfile be a renderable? So that the type of build can influence which environment is used.
<cmouse>
yes
<shurdeek_>
ok that makes things simpler
<shurdeek_>
how about libvirt worker's xml argument, can that also be a renderable?
<cmouse>
possibly not
<shurdeek_>
and how about the locks arguments?
<cmouse>
i can check
<shurdeek_>
that would be great
<cmouse>
i think libvirt has no renderable xml
<cmouse>
which is bit sad
<cmouse>
this is the same thing as was with openstack worker, i had to add bunch of renderable stuffs to it to make it actually usable.
<shurdeek_>
yes the docker worker also has render props
<shurdeek_>
I think I'll add that on my todo list once my other libvirt work is merged
<shurdeek_>
thank you it would have taken me longer to find the answers on my own
<p12tic>
shurdeek_: I think that PR depends only on you testing on your setup with multiple libvirt connections.
kraiskil has quit [Ping timeout: 246 seconds]
<aakashjain>
p12tic: I got this error on buildbot upgrade-master command. is it safe to ignore?
<aakashjain>
/usr/local/lib/python3.6/site-packages/buildbot/db/migrate/versions/052_cascading_set_null.py:81: UserWarning: Inconsistent data found in DB: table 'logs', deleting invalid rows
<aakashjain>
'Inconsistent data found in DB: table %r, deleting invalid rows' % t)
<aakashjain>
upgrade complete
<cmouse>
aakashjain: i would not worry too much.
<cmouse>
aakashjain: it's logs table
<p12tic>
the message says that there were rows in logs table with NULL stepid columns. These are harmless, as one can't see such rows from within the web UI anyway
<p12tic>
the error message should have been beter
<p12tic>
s/beter/better/
kraiskil has joined #buildbot
jvcelak has quit [Quit: Connection closed for inactivity]
<aakashjain>
p12tic: ok, thanks. postgres was much more performant (~15 minutes for ~500 gb data). Also maybe sqllite was slow because because when I run 'buildbot upgrad-master', my ssh session got disconnected, and when i re-run the command it gave various errors about database being locked.