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

Issue 595068 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Mar 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

amd64-generic-tot-asan-informational and x86-generic-tot-asan-informational UnitTest timeout

Project Member Reported by steve...@chromium.org, Mar 15 2016

Issue description

The following builders are timing out in the UnitTest stage:

amd64-generic-tot-asan-informational
x86-generic-tot-asan-informational

Starting at:
https://build.chromium.org/p/chromiumos.chromium/builders/amd64-generic-tot-asan-informational/builds/8592
https://build.chromium.org/p/chromiumos.chromium/builders/x86-generic-tot-asan-informational/builds/9902

Error message:

TimeoutError: Timeout occurred- waited 5400 seconds.

The timeout always occurs during update_engine_unittest, but it is not clear what if anything is actually failing.

 
Cc: djkurtz@chromium.org dnojiri@chromium.org
+chromeos sheriffs

Comment 2 by de...@chromium.org, Mar 15 2016

Cc: senj@chromium.org
Status: Started (was: Assigned)
There was a real use-after-free introduced in one of those CLs when the httpfetcher is destroyed in the TransferComplete() delegate call, which apparently is a valid pattern but I don't think we use in our code (outside unittests). I'll upload a CL to fix this.
deymo@ - can you point me at the actual failure? One of the things we are working on is improving the failure messaging. All I notices was the timeout.

Comment 4 by de...@chromium.org, Mar 15 2016

Oh, the timeout is because the test spawns another process to reply the async queries send by the code under test; but the code under test dies in ASAN due to the use-after-free and the child is never killed.

The test framework used in CrOS waits for all the processes to finish, and for some reason the spawned child doesn't die when the parent does.

The CL to fix the use-after-free i is: https://android-review.googlesource.com/208440
The failure was: https://paste.googleplex.com/6181562114637824

Comment 5 by de...@chromium.org, Mar 16 2016

Status: Fixed (was: Started)
CL https://chromium-review.googlesource.com/#/c/332617/ landed with the uprev+fix

Comment 6 by de...@chromium.org, Mar 17 2016

Status: Verified (was: Fixed)
builder turned green after that landed.

Sign in to add a comment