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

Issue 914113 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

ios_chrome_ui_egtests /DownloadManagerTestCase is flaky on bots for parallel tests when shards=5

Project Member Reported by monufriienko@chromium.org, Dec 11

Issue description

chrome-mobile-test-engprod@ is working on xcode-parallelization feature to run EG tests crbug/912323

Initial change in /recipe_module was submit
https://chromium-review.googlesource.com/c/chromium/src/+/1330204
and now we are testing the xcode-runner
https://chromium-review.googlesource.com/c/chromium/src/+/1370830/7
during test runs on 'ios-simulator-full-configs' try-bot we've observed 
flakiness of DownloadManagerTestCase for test runs when number of running in parallel simulators is 5+.
On local Mac laptop issue was not reproduced.

Passed test output for shards=3
http://go/DownloadManagerTestCase_iphone7_ios12.1_3shards
Failed test output for shards = 5
http://go/DownloadManagerTestCase-iphone7-12.1-failures
 
Labels: -Pri-3 Pri-2
Components: -Mobile>iOSWeb
The bug says that the failure is not reproducible locally. With that I wonder if this is really a test issue or the infrastructure problem (EG framework or bots infra)?
Labels: Needs-Feedback
monufriienko@ how did you test this locally?  Did you invoke the test the same way the bots do (not from their python script, but from the same xcode invocation).


Eugene, Justin, 
I did a run with shards=5 locally and DownloadManagerTestCase passed (there were 5 other failures). And then I increased number of shards to 6 and ran 2 times.
For both shards=6 runs DownloadManagerTestCase failed 2 times (for each run different tests failed).

For local run I used command below,

xcodebuild test-without-building -xctestrun egtestui.xctestrun -parallel-testing-enabled YES -destination 'platform=iOS Simulator,OS=12.1,name=iPhone 7'  -parallel-testing-worker-count 6

where egtestui.xctestrun is a file in an attach (please update %CHROMIUM_SRC% to real chromium/src dir)

Also I've attached session log with stack_trace and screenshots of failures
egtestui.xctestrun
985 bytes Download
shards6_session.log
501 KB View Download
DownloadManagerTestCase_testAccessibilityOnCompletedDownloadToolbar.png
36.5 KB View Download
DownloadManagerTestCase_testSucessfullDownloadInIncognito.png
37.5 KB View Download
Thanks Maxym! How important is this bug? Realistically I don't have much time to work on something other than slim-navigation-manager in the next month or two. But if this bug has hight priority, I will have to take a look.
Status: Assigned (was: Untriaged)
Marking as assigned since Eugene is assessing severity.  Seems like if this flake only occurs under specific testing conditions that it is more likely an infra related issue though?
#7 is a timeout, not a test failure.  The tests actually pass.

Sign in to add a comment