Hello again!
After managing to run a consistent series of tests on one of our boards, I came across a situation where the job log seems to be too big for LAVA to display. When clicking the ”Job details” button, the server eventually sends a ”502 Proxy Error” message.
Is there a setting or a workaround to make LAVA serve the job log & details in ”chunks”?
I did download the plain log (using, for example, http://LAVA_HOST/scheduler/job/JOB_ID/log_file/plain), and it is, indeed, huge (29 MB), but I was just curious if, maybe a ”log rotation”-like mechanism could be used in these situations (somehow).
Thanks in advance! -- /Dragoş
On 3 November 2017 at 11:57, Dragos Iorgulescu Dragos.Iorgulescu@enea.com wrote:
Hello again!
After managing to run a consistent series of tests on one of our boards, I came across a situation where the job log seems to be too big for LAVA to display. When clicking the ”Job details” button, the server eventually sends a ”502 Proxy Error” message.
Is there a setting or a workaround to make LAVA serve the job log & details in ”chunks”?
Not in chunks, no. However, the UI can be made usable again by using the "LOG_SIZE_LIMIT" setting in /etc/lava-server/settings.conf:
This sets the maximum size as 2Mb.
"LOG_SIZE_LIMIT": 2,
The UI then displays "This log file is too large to view, it can only be downloaded" but you do get access to the results and everything else, without any proxy error.
I'll create a ticket to add this to the documentation.
I did download the plain log (using, for example, http://LAVA_HOST/scheduler/job/JOB_ID/log_file/plain), and it is, indeed, huge (29 MB), but I was just curious if, maybe a ”log rotation”-like mechanism could be used in these situations (somehow).
Thanks in advance!
/Dragoş
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
On 3 November 2017 at 14:11, Neil Williams neil.williams@linaro.org wrote:
On 3 November 2017 at 11:57, Dragos Iorgulescu <Dragos.Iorgulescu@enea.com
wrote:
Hello again!
After managing to run a consistent series of tests on one of our boards, I came across a situation where the job log seems to be too big for LAVA to display. When clicking the ”Job details” button, the server eventually sends a ”502 Proxy Error” message.
Is there a setting or a workaround to make LAVA serve the job log & details in ”chunks”?
Not in chunks, no. However, the UI can be made usable again by using the "LOG_SIZE_LIMIT" setting in /etc/lava-server/settings.conf:
This sets the maximum size as 2Mb.
"LOG_SIZE_LIMIT": 2,
The UI then displays "This log file is too large to view, it can only be downloaded" but you do get access to the results and everything else, without any proxy error.
I'll create a ticket to add this to the documentation.
Tracking as https://projects.linaro.org/browse/LAVA-1097
I did download the plain log (using, for example, http://LAVA_HOST/scheduler/job/JOB_ID/log_file/plain), and it is, indeed, huge (29 MB), but I was just curious if, maybe a ”log rotation”-like mechanism could be used in these situations (somehow).
Thanks in advance!
/Dragoş
Lava-users mailing list Lava-users@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lava-users
--
Neil Williams
neil.williams@linaro.org http://www.linux.codehelp.co.uk/
On Fri, Nov 03, 2017 at 02:14:54PM +0000, Neil Williams wrote:
On 3 November 2017 at 14:11, Neil Williams neil.williams@linaro.org wrote:
Not in chunks, no. However, the UI can be made usable again by using the "LOG_SIZE_LIMIT" setting in /etc/lava-server/settings.conf:
This sets the maximum size as 2Mb.
"LOG_SIZE_LIMIT": 2,
The UI then displays "This log file is too large to view, it can only be downloaded" but you do get access to the results and everything else, without any proxy error.
I'll create a ticket to add this to the documentation.
Tracking as https://projects.linaro.org/browse/LAVA-1097
Patch merged to add this, should be in the 2017.11 release.
Cheers,
On Fri, Nov 03, 2017 at 02:11:22PM +0000, Neil Williams wrote:
On 3 November 2017 at 11:57, Dragos Iorgulescu Dragos.Iorgulescu@enea.com wrote:
Hello again!
After managing to run a consistent series of tests on one of our boards, I came across a situation where the job log seems to be too big for LAVA to display. When clicking the ”Job details” button, the server eventually sends a ”502 Proxy Error” message.
Is there a setting or a workaround to make LAVA serve the job log & details in ”chunks”?
Not in chunks, no. However, the UI can be made usable again by using the "LOG_SIZE_LIMIT" setting in /etc/lava-server/settings.conf:
This sets the maximum size as 2Mb.
Presumably you mean 2MB (megabytes, not megabits)?
"LOG_SIZE_LIMIT": 2,
The UI then displays "This log file is too large to view, it can only be downloaded" but you do get access to the results and everything else, without any proxy error.
I'll create a ticket to add this to the documentation.
Nod. I'll pick that one up shortly.
Cheers,
lava-users@lists.lavasoftware.org