-
Notifications
You must be signed in to change notification settings - Fork 23
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
Nopol crashes on Closure-51 #19
Comments
This error is produced when no failing test-case is found. I will look at why you don't obtain the same result like the one we obtained during our evaluation. |
Hi @tdurieux,
To discard the possibility of this being a Java-7 vs Java-8 issue, I have just ran the buggy version of Closure-51 on Java-8 and got 3 failing tests (1 that reveals the fault, i.e., the expected trigger test and 2 others that fail due to the Java version):
Thank you.
Did you by any chance use a different Nopol version in your experiments?
But, internally, the docker image runs the same source file right? 🙂 -- |
The only difference between the docker image and directly from the source is the environment. It is gzoltar that is producing the exception and the first step of the repair, and we did not change gzoltar for 3 years now. |
Indeed. RepairThemAll_experiment (log file)
RepairThemAll (docker image)
The order of the classpath can indeed influence the execution of a Java program. The only problem I can think of is, a classpath with multiple versions of the same code. For instance, suppose a project that requires v4.0 of a library X to run but it compiles just fine with v3.0 of the same library. If you define the classpath as, e.g., -- |
Yes :/ More I work with APR more I found that the execution of a java program can be completely random :/ |
How about I try to run the After running the following commands:
which file(s) would I need to modify, and how, to force the |
I think I need to edit the classpath function in the But, there is not any text editor installed in the docker image, at least no
Any other suggestion? |
Ok, with a mix of Please find the |
Yet another attempt. The java version available in the docker image is I am running out of ideas that could explain this issue :-/ |
Here is another thing that is bugging me. According to the self.path = os.path.join(REPAIR_ROOT, "benchmarks", "defects4j") by other words, it is
$ cd /
$ mv defects4j defects4j.backup
$ ln -s /benchmarks/defects4j defects4j
$ cd /script/
$ python repair.py Nopol -b Defects4J -i Closure_51 Same |
Sorry for disturbing you here. I am also quite interested in this issue. But what I am currently concerning is that:
Based on the descriptions I get to know that the Nopol used in this experiment is built under jdk 1.8. And I would like to ask how do you deal with unexpected failing tests of Defects4J bugs(e.g., the abovementioned closure-51) when running repair experiment under jdk 1.8 version? It would be much appreciated if any help is given. Thank you so much for you time and consideration. Best, |
Hi @tdurieux, Just to let you know I've managed to successfully run Nopol on Closure-51 directly from RepairThemAll's source code (rather than using the docker image), so I am closing this issue. Nevertheless, you might want to recreate the docker image with the latest version of the source code or perhaps remove the support for docker, as it does not seem to produce the same data you currently have in the RepairThemAll_experiment repository. -- |
The goal of the Dockerimage is not really to reproduce the exact results that we obtained (it is probably impossible), but more to be able to experiment with APR or try easily new version of a tool. I would really like to be able to have a 100% stable result and reproducible but I honestly don't think it is possible with the current APR techniques. |
Hi,
I have just tried to run Nopol on Closure-51:
and instead of a successful run (as reported in here), I got the following error:
Please find the
repair.log
file in here.--
Best,
Jose
The text was updated successfully, but these errors were encountered: