-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues after upgrading to buildbot 4.0 #498
Comments
I tried to downgrade to buildbot 3.x. The database "migration" went badly :-(
|
I replaced buildbot-wsgi-dashboards dependency with buildbot-react-wsgi-dashboards: it was worse, buildbot failed to even start:
|
Currently, the dependencies are:
I also asked for help on #buildbot IRC channel. |
@pablogsal @ambv @encukou: Do you have any idea on how to debug such buildbot issue? Sorry for breaking the buildbot "Release Status" page by mistake :-( |
I reported the issue to buildbot bug tracker: buildbot/buildbot#7775 |
The "Log in with GitHub" URL is broken: |
|
cc @zware |
I got this partially working with a hack to the Nginx config; I'll try to get it fully working and submit a PR to the Salt config. |
Maybe we should simply drop |
wsgi_dashboards in https://buildbot.python.org/all/?#/about says: [{"name":"release_status","caption":"Release Status","app":"'flask.app.Flask' not yet IConfigured","order":2,"icon":"rocket"}] Oh, there is a Flask error. |
I reported a separated issue: buildbot/buildbot#7776 |
With python/psf-salt#372 merged and deployed, the web UI is at least mostly back (without the |
It seems like buildbot 4.0 is most fully functional. The Release Status page is available, but it's not fully rendered. "Releasable" versions only contain the following HTML in their "panel-body":
"Not Releaseable" versions only contain the following HTML in their "panel-body":
AngularJS is supposed to handle |
I'm back from EuroPython now. For me it's not only the custom page that's misbehaving:
All show 504 (Gateway Timeout) HTTP responses to various API requests. I guess the pages will load if the server was lass busy. According the the 4.0 upgrade instructions, all plugins do need to be rewritten to use React. (They recommend doing it before the big update, but I guess that's not an option any more.) Does anyone here already know React, or should I learn it? |
All the pages you mention are supposed to be in the included buildbot package so there is nothing we need to rewrite in our side. Can you confirm this with the buildbot team perhaps? |
Be careful of old URLs including /all/. |
Right, the pages I mentioned are part of Buildbot; I opened buildbot/buildbot#7820. We do need a React rewrite for the release dashboard, which is a custom plugin. |
I also get 404 on JS and CSS files: buildbot/buildbot#7439 |
I created buildbot/buildbot#7826 "buildbot 4.0: Builders page doesn't limit to 25 builders per page". |
The problem may be related to buildbot/buildbot#7826 : lack of pagination. Loading all data for 100 or 200 builders take too long, and a timeout somewhere kill the request, so the UI is stuck at "Loading...". If you limit the Builders view by clicking on a tag, the Builds column can be properly loaded. |
I changed the Release Status page to an ugly but working page: e5d6b06 |
Thank you! |
I found another issue: #509 |
I think it's time to rollback the upgrade, the buildbot page it's certainly less usable and the release dashboard it's broken and everything feels either slower or slightly broken. |
Each release of Buildbot has been more bloated and slower. That apparently is progress. It's more features! It's not going to get better. Buildbot developers behave as if they are funded by cpu and memory manufactures to encourage system upgrades. |
Also, I think we should bring this up with the buildbot project. We are probably among their heavier users and I am not sure if they are informed of all the problems we are having |
What's broken other than our custom release dashboard? I'm not seeing the same "everything is slower"; on the contrary, everything actually seems rather snappier since a selective pruning of the database. We did rush into 4.0, but I'm not convinced that a downgrade is worth the hassle. |
After I upgraded buildbot to 4.0, I tried to downgrade it again. Problem: database migration failed to come back to 3.x schema, it failed badly with an internal error. When I upgraded buildbot to 4.0, the database schema was automatically updated as part of our Salt script. I didn't notice that the upgrade was from buildbot 3.x to 4.0. |
For me loading any page requires more than half a minute, including the builder list, the workers and the waterfall view. Specially slower is the page listing the builds for a given builder. Additionally the web API takes much more to respond. The only view that remains unaffected is the single build view where the logs can be inspected. |
That's the bug buildbot/buildbot#7826 : if you filter by "3.x" tag, it's quite fast to load the page. |
I can certainly try, if that's the consensus, but I don't think it's a good idea, now that the upgrade is done. While we didn't follow the 3→4 upgrade guide, a 4→3 downgrade doesn't even have a guide AFAIK. I don't have measurements, but Buildbot felt this slow even before the update. |
It seems like listing builds of a builder is also affected by buildbot/buildbot#7826 : there is no pagination, it just loads ALL builds. That's where @zware work to remove old build would be interesting. |
I didn't gather times from before the update but I can tell you that at least on my side this is a noticeable regression after the upgrade. |
Good news: they reimplemented pagination, released buildbot 4.1 with the change, I deployed the new version, and listing Builders now takes 1 second instead of failing with timeout :-) The page now lists 25 builders (with pagination) instead of 735 builders :-) |
I tested mentioned pages and they now take under 10 seconds to render. I suggest to close this issue. If you still have issues with buildbot 4.x, I suggest to report the issue upstream. They are reactive, they fixed the pagination issue that I reported. |
Oh, it's only on Firefox. It works on Chromium. I reported the issue upstream: buildbot/buildbot#8139 |
Hi,
While trying to update requirements to fix a security issue, I upgrade buildbot from 3.x to 4.0: #497
The
./venv/bin/buildbot upgrade-master /data/buildbot/master
command was run by Salt and the buildbot server is running fine.... but, the "Release status" page is gone! I think that we have to follow https://docs.buildbot.net/4.0.0/manual/upgrading/4.0-upgrade.html#custom-plugins guide to upgrade our plugins.
The text was updated successfully, but these errors were encountered: