-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix/datarace flags #607
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
Fix/datarace flags #607
Conversation
Both tests fail with the same error: "Cannot create object because protected[this] newBuilder is not implemented". Not clear why partests claim to succeed here.
/rebuild |
The test says "output differs" on one of the run tests. How do get at the log file in jenkins? |
Note: I cannot run the tests locally. sbt partest gives: [error] Test dotc.tests.new_all failed: scala.reflect.io.FileOperationException: File 'arrays.flags' already exists., took 0.008 sec So it seems we are truly stuck. |
ping @vsalvis, see stacktrace in previous comment. |
Running locally, I get the test failure as well for:
I also see spurious failures of pos/tools and pos/io on my machine. @odersky, can you try manually deleting the /Users/vera/git/dotty/tests/partest-generated/ directory? Do you have uncommitted tests in dotty/tests/new? What does the /Users/vera/git/dotty/tests/partest-generated/gen.log file say in the end (output might be out of order because of parallel JUnit tests)? |
@DarkDimius, this is a side-effect of how you run partest. You can make it output the diff with |
Here's the corresponding fix for Scalac: scala/scala#2842 |
Triggered by scala/scala3#607
LGTM, though need to make tests pass, or disable failing tests. |
Sorry this slipped through, we talked about displaying as much debugging
|
@vsalvis Thanks for the tip. It was indeed an uncommitted .java file in tests/new. Now I can run partest locally, and get the same test failure you are seeing on run/t7291, both on current master and this branch. Which makes me wonder how master could have succeeded? Do we have flakey run test diagnosis in jenkins, or is it some other problem? |
Some of them were moved from disabled after verifiying that they compile now.
@smarter I did a reorg of disabled after all. It was easier to do it sooner rather than later. |
Made FlagTranslation threadsafe, Review by @DarkDimius or @retronym or @vsalvis