LAVA Dashboard 500 Error when trying to view large log file

Bug #1266642 reported by alan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Confirmed
Medium
Antonio Terceiro

Bug Description

LAVA Dashboard fails to show complete log (likely due to size restrictions), luckily, the plain view (not obvious) allows you to download the file and see that the SDMux is spinning.

Refer to https://bugs.launchpad.net/lava-dispatcher/+bug/1266640

Temporary server where the issue was encountered...

Slow, but functional
  http://ci.akb.net/scheduler/job/3447

500 Error
  http://ci.akb.net/scheduler/job/3447/log_file

Downloading the logfile works
  http://ci.akb.net/scheduler/job/3447/log_file/plain

Full Log: https://pastebin.linaro.org/view/951c4bdf

Changed in lava-dispatcher:
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Antonio Terceiro (terceiro)
Revision history for this message
Dave Pigott (dpigott) wrote :

I think we should limit log files. If they are over some configured limit, say 100MB, you only get the first 100MB with the option to download as a text file.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1266642] Re: LAVA Dashboard 500 Error when trying to view large log file

Dave Pigott <email address hidden> writes:

> I think we should limit log files. If they are over some configured
> limit, say 100MB, you only get the first 100MB with the option to
> download as a text file.

There is a limit, but I think it's rather high, maybe 500MB, and if a
job logs more than this it is killed, which is a bit different to what
you are proposing.

Alan Bennett (akbennett)
Changed in lava-dispatcher:
importance: High → Medium
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.