Skip to content
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

pkg/_macros/test/executor/executor_test is failing #56002

Open
a-siva opened this issue Jun 13, 2024 · 17 comments
Open

pkg/_macros/test/executor/executor_test is failing #56002

a-siva opened this issue Jun 13, 2024 · 17 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. feature-macros Implementation of the macros feature gardening pkg-macros The experimental package:_macros library type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@a-siva
Copy link
Contributor

a-siva commented Jun 13, 2024

The tests

pkg/_macros/test/executor/executor_test RuntimeError (expected Pass)

are failing on configurations

unittest-asserts-release-win-arm64
unittest-asserts-release-win-x64
@a-siva a-siva added gardening feature-macros Implementation of the macros feature pkg-macros The experimental package:_macros library labels Jun 13, 2024
@a-siva
Copy link
Contributor Author

a-siva commented Jun 13, 2024

//cc @jakemac53

@dart-github-bot
Copy link
Collaborator

area-test, type-bug

The pkg/_macros/test/executor/executor_test tests are failing on Windows ARM64 and x64 configurations, resulting in a RuntimeError instead of the expected Pass.

@dart-github-bot dart-github-bot added area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Jun 13, 2024
@devoncarew
Copy link
Member

around area-test might need to be made more explicit that it should prefer the affected functional area, or otherwise weighted down

I agree with that (and thanks for the feedback on the meta / triaging bot issue). Here, is it area-vm tests that are failing? We don't have a specific area for macros.; we're using area-language for non-implementation discussion issues.

We could improve the prompt for these 'test' cases. We're also not using the tuned model yet, just explicit directions in a prompt; switching to the tuned model should also improve accuracy here.

@jakemac53
Copy link
Contributor

The area should be area-pkg afaik (the tests in question are in pkg/_macros).

@jakemac53 jakemac53 added area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. and removed area-test Cross-cutting test issues (use area- labels for specific failures; not used for package:test). labels Jun 14, 2024
@jakemac53
Copy link
Contributor

@a-siva do you have a failure you can link me? I did recently land a fix for this test, and I am not sure how to validate if it was the same error or something different etc.

@a-siva
Copy link
Contributor Author

a-siva commented Jun 14, 2024

Here is the first time the failure showed up logs
(I believe it was a Timeout initially and then turned into a RuntimeError later).

@devoncarew
Copy link
Member

The area should be area-pkg afaik (the tests in question are in pkg/_macros).

Yes, but area-pkg is not a great area- itself. It's not triaged - there's no team that does secondary triage on it or ultimately has responsibility for items in that area.

@jakemac53
Copy link
Contributor

Ok yeah looking at the log, that is the one that should be fixed. Is this still failing?

@a-siva
Copy link
Contributor Author

a-siva commented Jun 14, 2024

It was failing on the windows bots until I created this issue and approved the failure

@jakemac53
Copy link
Contributor

Moved this to the "no milestone/release" bucket. It isn't directly tied to any release and I haven't discovered any reasonable way to try and investigate the failure. I intend to just leave this as open tech debt for some time. There are no actual affected users, just a failing test in an environment that I can't reproduce.

@lrhn lrhn removed the triage-automation See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot. label Jul 18, 2024
@a-siva
Copy link
Contributor Author

a-siva commented Jul 23, 2024

@jakemac53
Copy link
Contributor

My assumption was that this test can just be marked failing/flaky and not cause people friction. Is that not the case? If you chimed in here, is that because you were blocked or otherwise affected by the failure?

@aam
Copy link
Contributor

aam commented Aug 6, 2024

Yes, the test failure causes friction as it turns the bot on go/darto dart waterfall red
image

If the test is doomed to flaky failures such that test deflaker can't handle it, it could be marked as Skip in the status file or even deleted altogether.

@jakemac53
Copy link
Contributor

It is only doing this on windows (that I have seen) - we do want the coverage on other platforms. So possibly marking it as skipped on windows is best?

@aam
Copy link
Contributor

aam commented Aug 6, 2024

It is only doing this on windows (that I have seen) - we do want the coverage on other platforms. So possibly marking it as skipped on windows is best?

Yeah, something like the following should do that

diff --git a/pkg/pkg.status b/pkg/pkg.status
index f129396f35c..daf26bf3345 100644
--- a/pkg/pkg.status
+++ b/pkg/pkg.status
@@ -243,6 +243,7 @@ vm_snapshot_analysis/test/*: SkipByDesign # Only meant to run on vm
 [ $system == windows ]
 front_end/test/fasta/bootstrap_test: Skip # Issue 31902
 front_end/test/incremental_dart2js_load_from_dill_test: Pass, Slow
+_macros/test/executor/executor_test: Skip # dartbug.com/56002
 vm_service/test/private_rpcs/dev_fs_http_put_test: Skip # Windows disallows "?" in paths
 vm_service/test/private_rpcs/dev_fs_http_put_weird_char_test: Skip # Windows disallows "\r" in paths
 vm_service/test/private_rpcs/dev_fs_weird_char_test: Skip # Windows disallows "\r" in paths

@jakemac53
Copy link
Contributor

https://dart-review.googlesource.com/c/sdk/+/379240

copybara-service bot pushed a commit that referenced this issue Aug 6, 2024
Bug: #56002
Change-Id: I17be8a32c23ca4908ed89cafe0f796022d21f24b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/379240
Commit-Queue: Jake Macdonald <[email protected]>
Auto-Submit: Jake Macdonald <[email protected]>
Reviewed-by: Alexander Aprelev <[email protected]>
Commit-Queue: Alexander Aprelev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. feature-macros Implementation of the macros feature gardening pkg-macros The experimental package:_macros library type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
Development

No branches or pull requests

6 participants