New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 636284 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Sep 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Android Tests (dbg) fails stack_tool_for_tombstones due to blacklisted devices

Project Member Reported by perezju@chromium.org, Aug 10 2016

Issue description

Example build: https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/35659

There are a couple of issues:

A. First, the step seems to be trying to run the stack tool on a blacklisted device (0cb844c5032fdbdb) and times out when trying to get properties from the device:


I  110.750s TimeoutThread-4-for-MainThread  [host]> /b/c/b/Android_Tests__dbg_/src/third_party/android_tools/sdk/platform-tools/adb -s 0cb844c5032fdbdb shell '( ( c=/data/local/tmp/cache_token;echo $EXTERNAL_STORAGE;cat $c 2>/dev/null||echo;echo "7f61c9c0-5ecb-11e6-bb7e-d4ae52ce4976">$c &&getprop )>/data/local/tmp/temp_file-ca1aee6de1f86 );echo %$?'
Exception in thread delete_temporary_file(0cb844c5032fdbdb):
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
<snip>
"/b/c/b/Android_Tests__dbg_/src/third_party/catapult/devil/devil/utils/cmd_helper.py", line 273, in GetCmdStatusAndOutputWithTimeout
    raise TimeoutError(output.getvalue())
CommandTimeoutError
https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/35659/steps/stack_tool_for_tombstones/logs/stdio

B. Later, the script eventually dies because no resolved_tombstones were found:

Traceback (most recent call last):
  File "/b/c/b/Android_Tests__dbg_/src/build/android/tombstones.py", line 304, in <module>
    sys.exit(main())
  File "/b/c/b/Android_Tests__dbg_/src/build/android/tombstones.py", line 300, in main
    for line in resolved_tombstones:
TypeError: 'NoneType' object is not iterable

I filed issue 636281 about the blacklisted devices, and will try to send a fix for "B". Hopefully that will help get the bot green.

Not sure whether we should be running the stack tool on blacklisted devices at all. But let's deal with that second.
 
Cc: perezju@chromium.org hzl@chromium.org
Owner: ----
Status: Available (was: Started)
Ok, I now see that "B" was introduced by a recent CL now reverted in  issue 631213 .

The only question remaining is whether running stack tool on blacklisted devices is "working as intended" or not.
Status: Archived (was: Available)

Sign in to add a comment