|
|
Description[Android] Stop tearing down the test runner's SIGTERM handler.
The test runner was previously tearing down the SIGTERM handler once
it finished running tests and generating results. In some cases, though,
it's still hanging after that point. This CL keeps the SIGTERM handler
through the end of the process s.t. we can still log hangs that happen
later.
BUG=664308
Committed: https://crrev.com/f3a1be2ad3c26b4bf5639ae435a4f9f3ecf2137d
Cr-Commit-Position: refs/heads/master@{#439007}
Patch Set 1 #
Messages
Total messages: 18 (8 generated)
jbudorick@chromium.org changed reviewers: + bpastene@chromium.org, katthomas@google.com
I'm planning to add logging for any live processes in the test runner's process group, too, but I'll do that in a separate CL.
lgtm
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by jbudorick@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 1, "attempt_start_ts": 1481854308273990, "parent_rev": "ea2d02f90ba6fc1794eb85beda2f770aadca8d4e", "commit_rev": "87e2bd7bfeb97f9aeb9b2e93a621971f6e80eda9"}
Message was sent while issue was closed.
Description was changed from ========== [Android] Stop tearing down the test runner's SIGTERM handler. The test runner was previously tearing down the SIGTERM handler once it finished running tests and generating results. In some cases, though, it's still hanging after that point. This CL keeps the SIGTERM handler through the end of the process s.t. we can still log hangs that happen later. BUG=664308 ========== to ========== [Android] Stop tearing down the test runner's SIGTERM handler. The test runner was previously tearing down the SIGTERM handler once it finished running tests and generating results. In some cases, though, it's still hanging after that point. This CL keeps the SIGTERM handler through the end of the process s.t. we can still log hangs that happen later. BUG=664308 Review-Url: https://codereview.chromium.org/2584453003 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== [Android] Stop tearing down the test runner's SIGTERM handler. The test runner was previously tearing down the SIGTERM handler once it finished running tests and generating results. In some cases, though, it's still hanging after that point. This CL keeps the SIGTERM handler through the end of the process s.t. we can still log hangs that happen later. BUG=664308 Review-Url: https://codereview.chromium.org/2584453003 ========== to ========== [Android] Stop tearing down the test runner's SIGTERM handler. The test runner was previously tearing down the SIGTERM handler once it finished running tests and generating results. In some cases, though, it's still hanging after that point. This CL keeps the SIGTERM handler through the end of the process s.t. we can still log hangs that happen later. BUG=664308 Committed: https://crrev.com/f3a1be2ad3c26b4bf5639ae435a4f9f3ecf2137d Cr-Commit-Position: refs/heads/master@{#439007} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/f3a1be2ad3c26b4bf5639ae435a4f9f3ecf2137d Cr-Commit-Position: refs/heads/master@{#439007}
Message was sent while issue was closed.
thakis@chromium.org changed reviewers: + thakis@chromium.org
Message was sent while issue was closed.
base_unittests started failing on ClangToTAndroidASan in build https://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroidASan/builds... with I think a python stack: Traceback (most recent call last): File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line 875, in main return RunTestsCommand(args) File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line 661, in RunTestsCommand return RunTestsInPlatformMode(args) File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line 770, in RunTestsInPlatformMode raw_results = test_run.RunTests() File "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_test_run.py", line 65, in RunTests tests = self._GetTests() File "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_gtest_run.py", line 361, in _GetTests test_lists = self._env.parallel_devices.pMap(list_tests).pGet(None) File "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/parallelizer.py", line 236, in pMap r.pFinish(None) File "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/parallelizer.py", line 135, in pFinish self._objs.JoinAll() File "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 186, in JoinAll self._JoinAll(watcher, timeout) File "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 158, in _JoinAll thread.ReraiseIfException() File "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", line 81, in run self._ret = self._func(*self._args, **self._kwargs) File "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_environment.py", line 55, in wrapper return f(dev, *args, **kwargs) File "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_gtest_run.py", line 352, in list_tests tests = gtest_test_instance.ParseGTestListTests(raw_test_list) File "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/gtest/gtest_test_instance.py", line 107, in ParseGTestListTests test_name = test.split()[0] IndexError: list index out of range This change is in that build. Do you think that's related?
Message was sent while issue was closed.
On 2016/12/17 02:45:06, Nico (out Thu Dec 15) wrote: > base_unittests started failing on ClangToTAndroidASan in build > https://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroidASan/builds... > with I think a python stack: > > Traceback (most recent call last): > File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line 875, > in main > return RunTestsCommand(args) > File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line 661, > in RunTestsCommand > return RunTestsInPlatformMode(args) > File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line 770, > in RunTestsInPlatformMode > raw_results = test_run.RunTests() > File > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_test_run.py", > line 65, in RunTests > tests = self._GetTests() > File > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_gtest_run.py", > line 361, in _GetTests > test_lists = self._env.parallel_devices.pMap(list_tests).pGet(None) > File > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/parallelizer.py", > line 236, in pMap > r.pFinish(None) > File > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/parallelizer.py", > line 135, in pFinish > self._objs.JoinAll() > File > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", > line 186, in JoinAll > self._JoinAll(watcher, timeout) > File > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", > line 158, in _JoinAll > thread.ReraiseIfException() > File > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", > line 81, in run > self._ret = self._func(*self._args, **self._kwargs) > File > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_environment.py", > line 55, in wrapper > return f(dev, *args, **kwargs) > File > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_gtest_run.py", > line 352, in list_tests > tests = gtest_test_instance.ParseGTestListTests(raw_test_list) > File > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/gtest/gtest_test_instance.py", > line 107, in ParseGTestListTests > test_name = test.split()[0] > IndexError: list index out of range > > This change is in that build. Do you think that's related? I don't think so, but I saw this stack a few times last week on other bots as well. I'll look into it.
Message was sent while issue was closed.
On 2016/12/19 16:46:36, jbudorick wrote: > On 2016/12/17 02:45:06, Nico (out Thu Dec 15) wrote: > > base_unittests started failing on ClangToTAndroidASan in build > > > https://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroidASan/builds... > > with I think a python stack: > > > > Traceback (most recent call last): > > File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line > 875, > > in main > > return RunTestsCommand(args) > > File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line > 661, > > in RunTestsCommand > > return RunTestsInPlatformMode(args) > > File "/b/c/b/ClangToTAndroidASan/src/build/android/test_runner.py", line > 770, > > in RunTestsInPlatformMode > > raw_results = test_run.RunTests() > > File > > > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_test_run.py", > > line 65, in RunTests > > tests = self._GetTests() > > File > > > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_gtest_run.py", > > line 361, in _GetTests > > test_lists = self._env.parallel_devices.pMap(list_tests).pGet(None) > > File > > > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/parallelizer.py", > > line 236, in pMap > > r.pFinish(None) > > File > > > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/parallelizer.py", > > line 135, in pFinish > > self._objs.JoinAll() > > File > > > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", > > line 186, in JoinAll > > self._JoinAll(watcher, timeout) > > File > > > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", > > line 158, in _JoinAll > > thread.ReraiseIfException() > > File > > > "/b/c/b/ClangToTAndroidASan/src/third_party/catapult/devil/devil/utils/reraiser_thread.py", > > line 81, in run > > self._ret = self._func(*self._args, **self._kwargs) > > File > > > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_environment.py", > > line 55, in wrapper > > return f(dev, *args, **kwargs) > > File > > > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/local/device/local_device_gtest_run.py", > > line 352, in list_tests > > tests = gtest_test_instance.ParseGTestListTests(raw_test_list) > > File > > > "/b/c/b/ClangToTAndroidASan/src/build/android/pylib/gtest/gtest_test_instance.py", > > line 107, in ParseGTestListTests > > test_name = test.split()[0] > > IndexError: list index out of range > > > > This change is in that build. Do you think that's related? > > I don't think so, but I saw this stack a few times last week on other bots as > well. I'll look into it. Looks like this was resolved by https://codereview.chromium.org/2582063002. The original somehow managed to land with TEST(SafeNumerics, ) which then threw off our gtest-list-tests parsing logic. |