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
Linux Web Framework tests failing #91432
Comments
I don't see anything suspicious in the recent engine or framework PRs. I'll keep looking and try to repro the error locally. |
Actually, I spoke too soon. This is the PR from the framework that introduced the issue: #91332 (cc @Hixie). The PR doesn't do anything wrong but it introduces call to For the short term, we could revert the aforementioned PR to unblock the engine tree. |
Weird, why didn't this fail pre-commit? |
Probably because we only call |
Oh I see, I didn't realise the failure was on the engine side, my bad. |
The calls aren't added directly in test files in that PR, so it's hard to tell whether they are in utilities exclusively used in tests. Can you tell me more about the context where this is running? I do see some test case output - is the The stack trace contains |
It's called from within a test expectation that's called in an The |
Oh maybe actually this is the code? |
Yeah I was hoping to see the specific file in a reproduction case. I took a look at the generator and the line numbers vary based on a bunch of conditionals. |
Oh, I see the problem. This is indeed being called from within a test -- but the way it works is the comparator then communicates with a separate Dart program running in its own context which doesn't know it's in a test, so markTestSkipped can't work there. |
Yeah, Unfortunately there really isn't a way to check any of this statically. We could make a more explicit error message though. Is there any particular phrasing that might have helped here? |
"markTestSkipped was called while no test was active" or something, maybe? |
Maybe something like this: dart-lang/test#1533 ? |
@Hixie would you mind if I assign this issue to you? And since the engine tree is back to green, I don't think this issue is a P0 anymore. I'll make it a P3 but feel free to update. |
Yup |
See flutter/flutter#91432 Pull out a `_currentInvoker` utility to share the exception fallback behavior between `printOnFailure` and `markTestSkipped`.
See flutter/flutter#91432 Pull out a `_currentInvoker` utility to share the exception fallback behavior between `printOnFailure` and `markTestSkipped`.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20SDK%20Drone/92478/overview
Among possibly other failures it looks like there might be an issue with the code comparing goldens (?)
@mdebbar @yjbanov
The text was updated successfully, but these errors were encountered: