-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DevTools integration tests are broken on the CI #8301
Comments
I first noticed this failure on the CI testing for #8284. Thursday 8/29: integration tests were passing: https://github.com/flutter/devtools/actions/runs/10623928422/job/29451334616
Friday 8/30: integration tests were failing due to a timeout: https://github.com/flutter/devtools/actions/runs/10635908137/job/29486598941\
|
Maybe related, Chrome 128 rolled out around this time, and the two results linked above are different versions: ChromeDriver - Starting ChromeDriver 127.0.6533.119 (bdef6783a05f0b3f885591e7d2c7b2aec1a89dea-refs/branch-heads/6533@{#1999}) on port 4444 ChromeDriver - Starting ChromeDriver 128.0.6613.84 (606aa55c7d687518d34b55accc5a71ea0bd28727-refs/branch-heads/6613@{#1335}) on port 4444 Edit: If I remove Edit2: Actually, it turns out they work fine for me locally (on Windows) in any case - I just wasn't waiting long enough the first time I tried to repro. They are very slow though - if I run without headless, I can see it pausing for a very long time (many many seconds) between actions interacting with DevTools. I don't know if that's normal (in which case maybe I'm not reproducing it), or if it's gotten slower in Chrome 128 and that might be the reason for the timeouts. I'll see if I can easily get back to 127 locally to compare (edit: no luck...). Edit3: I notice that my version of chromedriver is also slightly newer than the one above (ChromeDriver 128.0.6613.119) Edit4: I re-ran the bots on my PR and it got the same newer chromedriver I have locally, but it didn't change the outcome - they still timed out. |
In the tool/ci/bots.sh section just before the test starts (the search on the logs seems to not work very well, it didn't find it until I'd already scrolled down!) |
I have the same chromedriver version as the bots, and the tests passes locally for me, with and without the
Local version:
Same version on the CI: https://github.com/flutter/devtools/actions/runs/10724035525/job/29738829153?pr=8299 |
Yeah, that's the state for me too (my earlier edit about I am suspicious that it's related to Chrome 128 though. While searching for "chromedriver 128 issue" I found quite a few people having issues like the above mostly blaming I wonder if we can a) get more verbose logs or b) run without |
I recently fixed some DWDS tests that were timing out on CI by passing |
We don't actually start chrome ourselves here - I think flutter driver is responsible for that. When I think this may be where chrome is started from a @yjbanov or @christopherfujino can you confirm? We are not passing as many flags as we are for the headless option in the ChromiumLanucher class from flutter tools: https://github.com/flutter/flutter/blob/45ef8f36ff417550b1bd80dfb2add356be1bb8d1/packages/flutter_tools/lib/src/web/chrome.dart#L225-L231 |
I tried adding |
This is blocking submit. Investigating failures and attempting fixes here: #8299
The text was updated successfully, but these errors were encountered: