File "/srv/staging-qa-reports.linaro.org/lib/python3.5/site-packages/squad/api/urls.py" in <module>
5. from . import views
File "/srv/staging-qa-reports.linaro.org/lib/python3.5/site-packages/squad/api/views.py" in <module>
18. from squad.core.models import PatchSource
Exception Type: ImportError at /lkft/linux-mainline-oe/build/<version>/testrun/<id>/
Exception Value: cannot import name 'PatchSource'
for some reason that I could not identify yet the deploy of the latest changes to staging failed and the service was left in a weird state. I amended things in the db, and rerun a deploy. everything seems ok now.