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

Issue 721714 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

devtools_http_handler.cc incorrectly logging ERROR line during Android tests

Project Member Reported by kjellander@chromium.org, May 12 2017

Issue description

All Android tests executing are seeing this ERROR line in the logs, no matter if the test is successful or failing. 

ERROR:devtools_http_handler.cc(225)] Cannot start http server for devtools. Stop devtools.

It's constantly confusing developers trying to debug failures.
Please change the warning level or preferably make it only appear when it makes sense.

Examples:
Successful build: https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/42421
Failing build: https://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/42424

CCing vkuzkokov@chromium.org according to git blame.

Similar to  bug 721713 .
 
Cc: dgozman@chromium.org
+actual owner
I haven't worked on this for a while.

Cc: -vkuzkokov@chromium.org
Owner: eostroukhov@chromium.org
Status: Assigned (was: Untriaged)
Eugene, could you please take a look?
Status: Fixed (was: Assigned)
For some reason bug was not updated when https://codereview.chromium.org/2877413003/ landed.

We need that error message so we added a message to the test that informs that the error is expected.
Status: Assigned (was: Fixed)
The referenced CL only changes a single test in content_unittests. The main problem in this bug is that for just about every single test in content_browsertests this error log line shows up. There must be a better way to either change the logging level (how can it have to be error level when it doesn't affect the test?). Please fix this properly, it is wasting a lot of time for engineers trying to debug tests, and it undermines the trust in all logging.
Status: Fixed (was: Assigned)
Note that logs show this error message appears only once [1], exactly in the test changed in the patch. Please double check properly.

[1] https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.linux%2FAndroid_Tests__dbg_%2F42424%2F%2B%2Frecipes%2Fsteps%2Fcontent_unittests_on_Android%2F0%2Fstdout
Status: Assigned (was: Fixed)
So, let me explain. There's a difference between the test that was fixed in https://codereview.chromium.org/2877413003/ and the one I'm talking about. If you read my comment #4 carefully you'll see that I clearly points out the problem is in content_browsertests, not content_unittests (which is the only thing the test fixes).

As an example: A recent build of Android Tests: https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/181833
shows 1628 occurrences of the string
[ERROR:devtools_http_handler.cc(226)] Cannot start http server for devtools. Stop devtools.

That's the whole problem I was trying to describe with this bug. It shows up for every single test run and is not an error!
 Bug 727725  is another example of a sheriff being confused by this error. I hope it can be fixed.

Comment 9 by jkrcal@chromium.org, Jul 31 2017

Labels: Sheriff-Chromium
It again caused a failure on in the sheriff dashboard. Adding the sheriff label so that further sheriffs 
 - understand the cause for failures and 
 - can ping on this bug.

Is there any update on this bug?

Comment 10 by horo@chromium.org, Aug 2 2017

Labels: -Sheriff-Chromium
I am yet another sheriff confused by this log message. Please fix.
Status: WontFix (was: Assigned)
Triaging old issues

Sign in to add a comment