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

geenrate reproducers of failed JCK #5656

Open
judovana opened this issue Sep 28, 2024 · 0 comments
Open

geenrate reproducers of failed JCK #5656

judovana opened this issue Sep 28, 2024 · 0 comments

Comments

@judovana
Copy link
Contributor

JCK 8 have (for linux) existing text extractor, which simply lok to the failed test, and find the class, read all depndencies, and pack them to tarball which you can extract and immediately run.

This was removed in jck9, because it was not perfect - the native part of test was missing. However native tests are less then 1% of all tests, so we had implemented our own via compiler api: https://github.com/zzambers/jck-test-extractor (will be moved to https://github.com/rh-openjdk/ before implementation). In addition there is one, by accident missing peace which we forgot internally, the search for main method and conservation of additional javas (-D, -X...) and test's arguments. This will be added slightly later.

Generally when there is no native code involved, this is (especially on secondary architectures) saving quite a lot of time, as the (working) reproducer is part of jck run artifices, and can be just unpacked and directly run. If this will be implemented, there must be check, that only eg first 10 reproducers are generated, as in case of borked run with all tests down the full generation would be unbearable by both time and space.

There were unofficial rumours about official reproducer generator appearing again in jck21 with better test definition, but it seems it did not happened.

Wdyt, worthy to include?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant