+linaro.android +vishal
On 21 February 2013 16:39, Botao Sun botao.sun@linaro.org wrote:
Hi Amit & Soumya,
Perhaps you have realised this issue, which means if our test target only supports ADB over Ethernet, then some CTS test cases won't be executed if they require a system reboot.
As we know, in order to enable ADB over Ethernet, we need to do following 3 steps on our test target:
stop adbd setprop service.adb.tcp.port 6565 start adbd
Some CTS test (for example, "Android" test suite), will reboot system before being performed. Since the variable settings above will be lost after powered off, then after system rebooted, ADB over Ethernet connection will be lost. I tried this on vexpress A9 board and found many test cases couldn't be run just because the ADB connection failed after rebooting.
Therefore, when run CTS, the test target should support ADB over USB connection, then can ensure everything goes well.
I think we have way to solutions to fix adb issue on TCP connection as
well. workload automation runs on vexpress+TC2 which use ADB connection over TCP. Vishal has already have a solution for this problem.
Best regards Naresh Kamboju
Thanks.
Best Regards Botao Sun
Try with --disable-reboot option
-Amit
On 21 February 2013 17:07, Naresh Kamboju naresh.kamboju@linaro.org wrote:
+linaro.android +vishal
On 21 February 2013 16:39, Botao Sun botao.sun@linaro.org wrote:
Hi Amit & Soumya,
Perhaps you have realised this issue, which means if our test target only supports ADB over Ethernet, then some CTS test cases won't be executed if they require a system reboot.
As we know, in order to enable ADB over Ethernet, we need to do following 3 steps on our test target:
stop adbd setprop service.adb.tcp.port 6565 start adbd
Some CTS test (for example, "Android" test suite), will reboot system before being performed. Since the variable settings above will be lost after powered off, then after system rebooted, ADB over Ethernet connection will be lost. I tried this on vexpress A9 board and found many test cases couldn't be run just because the ADB connection failed after rebooting.
Therefore, when run CTS, the test target should support ADB over USB connection, then can ensure everything goes well.
I think we have way to solutions to fix adb issue on TCP connection as
well. workload automation runs on vexpress+TC2 which use ADB connection over TCP. Vishal has already have a solution for this problem.
Best regards Naresh Kamboju
Thanks.
Best Regards Botao Sun
Hi Amit,
Yes, use the --disable-reboot probably is a good walk around, but since Google designed their test cases with a reboot as a pre-condition, then they must have their own purpose, like wipe cache or something else. So if we simply disable the reboot, perhaps it will affect the test result finally.
@Naresh, I have no idea about the "workload" test suite requires a reboot or not. If the reboot is unnecessary for that test, then everything will be fine.
@Vishal, would you provide the details of your solution in this condition? Run CTS test which requires reboot and using ADB over Ethernet as the connection?
Thank you all.
Best Regards Botao Sun
On Thu, Feb 21, 2013 at 10:46 PM, amit khare amit.khare@linaro.org wrote:
Try with --disable-reboot option
-Amit
On 21 February 2013 17:07, Naresh Kamboju naresh.kamboju@linaro.orgwrote:
+linaro.android +vishal
On 21 February 2013 16:39, Botao Sun botao.sun@linaro.org wrote:
Hi Amit & Soumya,
Perhaps you have realised this issue, which means if our test target only supports ADB over Ethernet, then some CTS test cases won't be executed if they require a system reboot.
As we know, in order to enable ADB over Ethernet, we need to do following 3 steps on our test target:
stop adbd setprop service.adb.tcp.port 6565 start adbd
Some CTS test (for example, "Android" test suite), will reboot system before being performed. Since the variable settings above will be lost after powered off, then after system rebooted, ADB over Ethernet connection will be lost. I tried this on vexpress A9 board and found many test cases couldn't be run just because the ADB connection failed after rebooting.
Therefore, when run CTS, the test target should support ADB over USB connection, then can ensure everything goes well.
I think we have way to solutions to fix adb issue on TCP connection as
well. workload automation runs on vexpress+TC2 which use ADB connection over TCP. Vishal has already have a solution for this problem.
Best regards Naresh Kamboju
Thanks.
Best Regards Botao Sun
Hi botao, I had fixed the problem on my side. It was the problem on adb. now, its working well. Thanks & Regards Soumya
On 22 February 2013 09:27, Botao Sun botao.sun@linaro.org wrote:
Hi Amit,
Yes, use the --disable-reboot probably is a good walk around, but since Google designed their test cases with a reboot as a pre-condition, then they must have their own purpose, like wipe cache or something else. So if we simply disable the reboot, perhaps it will affect the test result finally.
@Naresh, I have no idea about the "workload" test suite requires a reboot or not. If the reboot is unnecessary for that test, then everything will be fine.
@Vishal, would you provide the details of your solution in this condition? Run CTS test which requires reboot and using ADB over Ethernet as the connection?
Thank you all.
Best Regards Botao Sun
On Thu, Feb 21, 2013 at 10:46 PM, amit khare amit.khare@linaro.orgwrote:
Try with --disable-reboot option
-Amit
On 21 February 2013 17:07, Naresh Kamboju naresh.kamboju@linaro.orgwrote:
+linaro.android +vishal
On 21 February 2013 16:39, Botao Sun botao.sun@linaro.org wrote:
Hi Amit & Soumya,
Perhaps you have realised this issue, which means if our test target only supports ADB over Ethernet, then some CTS test cases won't be executed if they require a system reboot.
As we know, in order to enable ADB over Ethernet, we need to do following 3 steps on our test target:
stop adbd setprop service.adb.tcp.port 6565 start adbd
Some CTS test (for example, "Android" test suite), will reboot system before being performed. Since the variable settings above will be lost after powered off, then after system rebooted, ADB over Ethernet connection will be lost. I tried this on vexpress A9 board and found many test cases couldn't be run just because the ADB connection failed after rebooting.
Therefore, when run CTS, the test target should support ADB over USB connection, then can ensure everything goes well.
I think we have way to solutions to fix adb issue on TCP connection as
well. workload automation runs on vexpress+TC2 which use ADB connection over TCP. Vishal has already have a solution for this problem.
Best regards Naresh Kamboju
Thanks.
Best Regards Botao Sun
Hi Soumya,
I'm sorry but which problem? If you're talking about the ADB over USB which you mentioned this Friday, then a better idea is to use another email thread to discuss, otherwise people will get confused.
This email thread is discussing about the ADB over Ethernet when a reboot is required in CTS test.
Thanks.
Best Regards Botao Sun
On Sat, Feb 23, 2013 at 1:35 AM, Soumya Basak soumya.basak@linaro.orgwrote:
Hi botao, I had fixed the problem on my side. It was the problem on adb. now, its working well. Thanks & Regards Soumya
On 22 February 2013 09:27, Botao Sun botao.sun@linaro.org wrote:
Hi Amit,
Yes, use the --disable-reboot probably is a good walk around, but since Google designed their test cases with a reboot as a pre-condition, then they must have their own purpose, like wipe cache or something else. So if we simply disable the reboot, perhaps it will affect the test result finally.
@Naresh, I have no idea about the "workload" test suite requires a reboot or not. If the reboot is unnecessary for that test, then everything will be fine.
@Vishal, would you provide the details of your solution in this condition? Run CTS test which requires reboot and using ADB over Ethernet as the connection?
Thank you all.
Best Regards Botao Sun
On Thu, Feb 21, 2013 at 10:46 PM, amit khare amit.khare@linaro.orgwrote:
Try with --disable-reboot option
-Amit
On 21 February 2013 17:07, Naresh Kamboju naresh.kamboju@linaro.orgwrote:
+linaro.android +vishal
On 21 February 2013 16:39, Botao Sun botao.sun@linaro.org wrote:
Hi Amit & Soumya,
Perhaps you have realised this issue, which means if our test target only supports ADB over Ethernet, then some CTS test cases won't be executed if they require a system reboot.
As we know, in order to enable ADB over Ethernet, we need to do following 3 steps on our test target:
stop adbd setprop service.adb.tcp.port 6565 start adbd
Some CTS test (for example, "Android" test suite), will reboot system before being performed. Since the variable settings above will be lost after powered off, then after system rebooted, ADB over Ethernet connection will be lost. I tried this on vexpress A9 board and found many test cases couldn't be run just because the ADB connection failed after rebooting.
Therefore, when run CTS, the test target should support ADB over USB connection, then can ensure everything goes well.
I think we have way to solutions to fix adb issue on TCP connection as
well. workload automation runs on vexpress+TC2 which use ADB connection over TCP. Vishal has already have a solution for this problem.
Best regards Naresh Kamboju
Thanks.
Best Regards Botao Sun
linaro-android@lists.linaro.org