lava-test-shell results are not accumulated for more than one test definition run

Bug #1095237 reported by Senthil Kumaran S
32
This bug affects 2 people
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
High
Michael Hudson-Doyle

Bug Description

If there are multiple test definitions given as part of a job file to be run by lava-test-shell, the results of first test definition run is alone taken and pushed to the dashboard. Whereas the remaining test definition results are not accumulated.

An example job file which refers to more than one test definition is here and it is clear that the results are not accumulated for all the test definitions - http://validation.linaro.org/lava-server/dashboard/streams/anonymous/stylesen/bundles/7211b2ca769d60e3b3c64bda8e228b3fcc729b53/

On the other hand when the same test definitions are run individually in lava-test-shell the results are uploaded to the dashboard properly - http://validation.linaro.org/lava-server/dashboard/streams/anonymous/stylesen/bundles/3ba2eb2960d3880810675e75ed619546f4339d2f/

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Something pretty odd has happened in that first job: it seems that the dispatcher timed out when waiting for lava test shell to complete:

<LAVA_DISPATCHER>2013-01-02 07:51:40 AM WARNING: lava_test_shell has timed out

but this is just a couple of minutes after the previous log message:

<LAVA_DISPATCHER>2013-01-02 07:49:42 AM INFO: Perform soft reboot the system

... oh, i see the problem. The code around decreasing the timeout when a signal is noticed doesn't account for the timeout being unspecified / -1. I'll fix that.

Changed in lava-dispatcher:
assignee: nobody → Michael Hudson-Doyle (mwhudson)
status: New → Fix Committed
Revision history for this message
Senthil Kumaran S (stylesen) wrote :

mwhudson, thanks for looking into it. I ve also included a timeout for lava-test-shell in the daily prebuilt image script which generates the job, from where we got to this issue.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 1095237] Re: lava-test-shell results are not accumulated for more than one test definition run

Senthil Kumaran S <email address hidden> writes:

> mwhudson, thanks for looking into it. I ve also included a timeout for
> lava-test-shell in the daily prebuilt image script which generates the
> job, from where we got to this issue.

Oh. Can you post a link to a such a job? I can find one I guess, but
I'm about to get on a bus...

Cheers,
mwh

Revision history for this message
Senthil Kumaran S (stylesen) wrote :

Hi Michael,

On Friday 04 January 2013 12:27 AM, Michael Hudson-Doyle wrote:
>> mwhudson, thanks for looking into it. I ve also included a timeout for
>> lava-test-shell in the daily prebuilt image script which generates the
>> job, from where we got to this issue.
>
> Oh. Can you post a link to a such a job? I can find one I guess, but
> I'm about to get on a bus...

Here is the link to the script -
http://git.linaro.org/gitweb?p=ci/daily-prebuilt-images.git;a=blob;f=lava-submit.py;h=e2f22cd9d3ab7ac2764dba38ac24e678f1e7c2d5;hb=b22e65fc66cf8ebc5be4ff5cece89b061e97086c

And here is a job generated by the above script -
https://validation.linaro.org/lava-server/scheduler/job/43879

Thank You.
--
Senthil Kumaran S
http://www.stylesen.org/
http://www.sasenthilkumaran.com/

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

Ah, I think I misunderstood. I thought that you were saying that you saw the same bug even when you added a timeout, but that job looks it completed successfully. So I think this bug can be considered fixed when lp:lava-dispatcher gets deployed.

Changed in lava-dispatcher:
status: Fix Committed → Fix Released
Revision history for this message
Dilip Joshi (dilipjoshiait) wrote :

Please help me to move lava-android-test result to dashboard. I want to see the report in dashboard how can i move the report ??

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.