jadonk / rowboat

Automatically exported from code.google.com/p/rowboat
0 stars 0 forks source link

ADB fails after sometime while running CTS #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start adb server (i.e. adb start-server)
2. start cts 
3. run cts (i.e. start --plan CTS)

What is the expected output? What do you see instead?
After some tests have been run successfully, CTS lost connectivity
to the target. (see below)
android.view.cts.WindowTest#testSetWindowAnimations....(pass)
android.view.cts.WindowTest#testFinalMethod....(pass)

CTS_INFO >>> Max ADB operations reached. Restarting ADB...

CTS_INFO >>> Restarting device ...

CTS_INFO >>> Restart complete.

CTS_ERROR >>> Installing met timeout due to Unknown reason.

CTS_INFO >>> Max ADB operations reached. Restarting ADB...

CTS_INFO >>> Restarting device ...

CTS_INFO >>> Restart complete.

CTS_ERROR >>> Installing met timeout due to Unknown reason.

CTS_INFO >>> Max ADB operations reached. Restarting ADB...

CTS_INFO >>> Restarting device ...

CTS_INFO >>> Restart complete.

CTS_ERROR >>> Installing met timeout due to Unknown reason.

CTS_INFO >>> Max ADB operations reached. Restarting ADB...

CTS_INFO >>> Restarting device ...

CTS_INFO >>> Restart complete.

What version of the product are you using? On what operating system?
Using Android 2.1 on AM37x EVM

Original issue reported on code.google.com by car...@gmail.com on 14 Jul 2010 at 3:34

GoogleCodeExporter commented 9 years ago
Have you fix this issue?

Original comment by xianyu...@gmail.com on 14 Aug 2010 at 10:39

GoogleCodeExporter commented 9 years ago
What is the status of this defect?

Original comment by durgesh....@gmail.com on 3 Sep 2010 at 5:36

GoogleCodeExporter commented 9 years ago
I would like to know the status of this defect. This is causing the CTS to stop 
in the middle. 

Original comment by raghu.ga...@gmail.com on 8 Sep 2010 at 5:56

GoogleCodeExporter commented 9 years ago
any progress on this issue ?

Original comment by ankitsin...@gmail.com on 21 Oct 2010 at 5:26

GoogleCodeExporter commented 9 years ago
i am facing the same problem on Android 2.2 CTS running on OMAP ZOOM2 while 
running Java test plan.

Is there any way to solve it ?

Original comment by rishinag...@gmail.com on 3 Dec 2010 at 12:28

GoogleCodeExporter commented 9 years ago
I am also facing the same issue.
Has anybody tried running the single package on CTS?
Were the results same?

Original comment by kamaljee...@gmail.com on 10 Jan 2011 at 2:45

GoogleCodeExporter commented 9 years ago
The device can not be rebooted if ADB works via Ethernet.
Try to disable reboot while running CTS via changing in 
cts/tools/utils/host_config.xml the value of maxTestCount parameter to 0. 

Original comment by konstant...@gmail.com on 25 Jan 2011 at 3:14

GoogleCodeExporter commented 9 years ago

I changed maxTestCount to 0 but ,i got the same error ,the error is shown below

cts_host > start --plan Java
start test plan Java
==============================================================
Test package: android.core.tests.dom

CTS_ERROR >>> Installing met timeout due to Unknown reason.
==============================================================
Test package: android.core.tests.luni.io

CTS_ERROR >>> Installing met timeout due to Unknown reason.
==============================================================
Test package: android.core.tests.luni.lang

CTS_ERROR >>> Installing met timeout due to Unknown reason.
==============================================================
Test package: android.core.tests.luni.net

Please suugest any another solution

Original comment by sairedpr...@gmail.com on 21 Apr 2011 at 12:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I met the similar errors on different test plan. But CTS that ran against 
single package in the plan was good.

start --plan Android -package android.media 

Original comment by yenlia...@gmail.com on 3 May 2011 at 11:23

GoogleCodeExporter commented 9 years ago
I am also facing the same error. Is a solution known to this problem now?
I am trying to run a Test Plan.

Original comment by kala.kem...@gmail.com on 9 Jun 2011 at 4:09

GoogleCodeExporter commented 9 years ago
"Comment 7 by project member konstant...@gmail.com, Jan 25, 2011

The device can not be rebooted if ADB works via Ethernet.
Try to disable reboot while running CTS via changing in 
cts/tools/utils/host_config.xml the value of maxTestCount parameter to 0."

This did work for me. Thanks for the simple, working, solution (the max 
connections was set to a meagre 200). 

Original comment by sir.vo...@gmail.com on 10 Oct 2011 at 11:52

GoogleCodeExporter commented 9 years ago
I am beginner to CTS,

I also facing the same issue... 
I set  MaxTestCount to -1 , cts/tools/utils/host_config.xml 

Still I am facing same issue. any help is appreciated.

Thanks,
Kapil

Original comment by kapild...@gmail.com on 20 Oct 2011 at 10:38