Android Build Frontend should not be running with Django's debug=True setting

Bug #1015651 reported by Paul Sokolovsky
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android Infrastructure
Fix Released
High
Milo Casagrande

Bug Description

<zyga> pfalcon, OMG you run with debug=True?
<zyga> pfalcon, that leaks memory!
<zyga> https://android-build.linaro.org/builds/~asac/
<zyga> pfalcon, ^^
<zyga> pfalcon, IIRC it could also be used to leak session IDs, I'd recommend turning it off if you can

Related branches

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Well, that's kinda how we had it all the time, because android build frontend never actually left "beta" state (there're too many issues known, even though we removed "BETA" moniker from logo some time ago). Having debug printout was also useful at times, but I guess Zygmunt is right and we should disable it by default.

Changed in linaro-android-infrastructure:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

For maint. team: changes to the build frontend need to be explicitly deployed, see https://wiki.linaro.org/Platform/Android/LinaroAndroidBuildService#Production_Deployment_Details . Ping me if any q's.

Revision history for this message
Milo Casagrande (milo) wrote :

I was taking a look at it, just on question: where is the code of the frontend? Do we have a branch somewhere? From the wiki page it is not that clear where the actual code is (there is /home/build-system-frontend that I guess has everything in there).

Shouldn't we have a branch somewhere?

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Definitely, and all our branches are (should be/would be) available from https://code.launchpad.net/~linaro-infrastructure/ .

(Just as an extra hint, that shows branches owned by our group directly, so some branches may be missing. But there're helpful links at the bottom to the branches owned by groups we're members of.)

Revision history for this message
Milo Casagrande (milo) wrote :

I must have been tired yesterday to totally missing it out, and I looked even twice.
Anyway, proposed branch with the trivia fix.

Changed in linaro-android-infrastructure:
assignee: nobody → Milo Casagrande (milo)
Milo Casagrande (milo)
Changed in linaro-android-infrastructure:
status: Confirmed → Fix Committed
Revision history for this message
Milo Casagrande (milo) wrote :

New frontend has been deployed, we might have to work a little bit on the error pages though.

Changed in linaro-android-infrastructure:
status: Fix Committed → Fix Released
milestone: none → 2012.06
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Yup, now trying the test URL above (https://android-build.linaro.org/builds/~asac/) gives 500. I doubt that much better than providing a nice verbose error page, even if it potentially can leak something (to folks who already entrusted with access I guess).

So, I'd reopen this bug for further investigation and filing another as needed.

Changed in linaro-android-infrastructure:
status: Fix Released → Fix Committed
Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

Opened lp:1020010 for unsolicited 500 errors everywhere. Closing this.

Changed in linaro-android-infrastructure:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.