Monkey always fails (eventually) these failures should not be marked as such

Bug #877859 reported by Zach Pfeffer
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Android Test
Fix Released
Medium
Yongqin Liu
Linaro Android
Fix Released
Medium
Frans Gifford

Bug Description

Monkey will always "fail" in practice after a little bit (new builds 1-5 secs, more seasoned builds 1-4 hours, hardened builds 24-48 hours). The monkey result should be how long it ran. This should be listed on the android-build page.

Related branches

Yongqin Liu (liuyq0307)
Changed in lava-android-test:
assignee: nobody → Yongqin Liu (liuyq0307)
status: New → Confirmed
Paul Larson (pwlars)
Changed in lava-android-test:
importance: Undecided → Medium
milestone: none → 2011.11
Revision history for this message
Yongqin Liu (liuyq0307) wrote : Re: [Bug 877859] Re: Monkey always fails (eventually) these failures should not be marked as such

Hi, plars, pfalcon, pfefferz

For this problem, I want to make the measurement displayed as the
attachment,
How do you think about that?

Thanks,
Yongqin Liu
On 20 October 2011 16:44, Launchpad Bug Tracker
<email address hidden>wrote:

> ** Branch linked: lp:~liuyq0307/lava-dashboard/add-measurement-for-json
>
> ** Branch linked: lp:~liuyq0307/linaro-android-frontend/add-measurement-
> for-testresult-table
>
> --
> You received this bug notification because you are a member of Linaro
> Validation Team, which is subscribed to LAVA Android Test.
> https://bugs.launchpad.net/bugs/877859
>
> Title:
> Monkey always fails (eventually) these failures should not be marked
> as such
>
> Status in Lava Android Test Runner:
> Confirmed
>
> Bug description:
> Monkey will always "fail" in practice after a little bit (new builds
> 1-5 secs, more seasoned builds 1-4 hours, hardened builds 24-48
> hours). The monkey result should be how long it ran. This should be
> listed on the android-build page.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/lava-android-test/+bug/877859/+subscriptions
>

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

Hello Yongqin,

On Thu, 20 Oct 2011 17:16:51 +0800
yong qin <email address hidden> wrote:

> Hi, plars, pfalcon, pfefferz
>
> For this problem, I want to make the measurement displayed as the
> attachment,
> How do you think about that?

Well, my concern (as it was before) is how much information we
want to present on build pages. For example, if we run 100 tests in
LAVA, how detailed results for them will look on a build page, would it
make rest of information on the page less accessible?

But otherwise, that's Zach's call.

>
> Thanks,
> Yongqin Liu
> On 20 October 2011 16:44, Launchpad Bug Tracker
> <email address hidden>wrote:
>
> > ** Branch linked:
> > lp:~liuyq0307/lava-dashboard/add-measurement-for-json
> >
> > ** Branch linked:
> > lp:~liuyq0307/linaro-android-frontend/add-measurement-
> > for-testresult-table
> >
> > --
> > You received this bug notification because you are a member of
> > Linaro Validation Team, which is subscribed to LAVA Android Test.
> > https://bugs.launchpad.net/bugs/877859
> >
> > Title:
> > Monkey always fails (eventually) these failures should not be
> > marked as such
> >
> > Status in Lava Android Test Runner:
> > Confirmed
> >
> > Bug description:
> > Monkey will always "fail" in practice after a little bit (new
> > builds 1-5 secs, more seasoned builds 1-4 hours, hardened builds
> > 24-48 hours). The monkey result should be how long it ran. This
> > should be listed on the android-build page.
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/lava-android-test/+bug/877859/+subscriptions
> >

--
Best Regards,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

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

On Thu, 20 Oct 2011 13:50:48 +0300
Paul Sokolovsky <email address hidden> wrote:

> Hello Yongqin,
>
> On Thu, 20 Oct 2011 17:16:51 +0800
> yong qin <email address hidden> wrote:
>
> > Hi, plars, pfalcon, pfefferz
> >
> > For this problem, I want to make the measurement displayed as the
> > attachment,
> > How do you think about that?

Also, my attention caught your note that monkey will always crash -
sooner or later. I barely know anything about monkey (except for what
I heard from Zach before), so wondered what is so magic in it which
causes everything crash ;-). I tried to at least look at what it
crashes now, for example:

http://validation.linaro.org/lava-server/dashboard/streams/anonymous/android-daily/bundles/6b8cc3cd479a018083e6de6bf9205dcc24b833df/9419bb64-e306-4b05-b91c-1fdae38a3d84/attachments/16330/

# // java.lang.NullPointerException
# // at com.android.speechrecorder.SpeechRecorderActivity$4.run(SpeechRecorderActivity.java:192)
# //
# ** Monkey aborted due to error.
# Events injected: 14
# ## Network stats: elapsed time=5246ms (0ms mobile, 0ms wifi, 5246ms not connected)
# ** System appears to have crashed at event 14 of 100000 using seed 1
# MONKEY_RET_CODE=14

And I wonder if number of events processed before crash is actually a
bit more scientific criterion than just run time, and if it should be
captured and visibly reported in addition to run time.

Thanks,
Paul

Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

This looks good.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

I'm actually okay with displaying all the test results on the build page. We may have to clean up the formatting eventually, but being able to see at a glance how things did, is extremely useful.

Yongqin Liu (liuyq0307)
Changed in lava-android-test:
status: Confirmed → Fix Committed
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Frans to validate with CI loop.

Changed in linaro-android:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Frans Gifford (fgiff)
milestone: none → 11.11
Revision history for this message
Zach Pfeffer (pfefferz) wrote :

lc4.11 hacking sessions work.

Revision history for this message
Frans Gifford (fgiff) wrote :

We're seeing the time Monkey ran for, but it still reports itself as a test failure, when we'd like this to always be a pass.

Example:
a-b.l.o:
https://android-build.linaro.org/builds/~linaro-android/panda/#build=364
lava:
http://validation.linaro.org/lava-server/dashboard/streams/anonymous/android-daily/bundles/38b54d9bd3f42b7ffdaf0811a6bfdac7c3a1ee07/9087ed6f-da10-4947-b210-43b3e4a2742e/

Can we change the way Monkey runs so that it always reports pass?

Revision history for this message
Yongqin Liu (liuyq0307) wrote :

Hi, Frans,

The things you mentioned above is done in
https://code.launchpad.net/~liuyq0307/lava-android-test/monkey-always-scucess/+merge/81137,
but still not been merged and deployed.

Frans Gifford (fgiff)
Changed in linaro-android:
status: In Progress → Fix Committed
Revision history for this message
Frans Gifford (fgiff) wrote :
Changed in linaro-android:
status: Fix Committed → Fix Released
Fathi Boudra (fboudra)
Changed in lava-android-test:
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.