-
Notifications
You must be signed in to change notification settings - Fork 15
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
Errors occur when running mvn package -DskipTests
and localizing bugs with flacoco jar
#120
Comments
mvn package -DskipTests
mvn package -DskipTests
and localizing bugs with flacoco jar
Hi @DehengYang !
Nice!
That is weird. I'm not able to reproduce such error. Could you post the entire log when running
You should not need to add the The logging also works on my setup and in CI, so I don't really know what could be the issue.
This could be related to the way you add the dependencies to the classpath. How did you generate them?
Thanks. I've updated the information there. |
Hi @andre15silva , Thank you very much for your prompt reply!
I could no longer reproduce this error, either. That's a weird build. Anyway, I can mvn clean package -DskipTest now without any error.
I have added the classpath now, but a new error arises:
My full command is as follows:
Much appreciated if any advice could be offered. Thank you! |
Great!
You are getting this message because the the test execution takes longer than the default timeout value (1000000 ms). To increase the timeout, you can use the following option:
|
Thank you for the helpful guidance. But it's kinda weird that while I wonder if there is any approach or workaround to reduce the time cost of flacoco, especially for real-world large-scale projects? Please kindly advise. Thank you! |
Hi @DehengYang very good to meet you again and welcome to flacoco! FYI, we're finishing a paper about flacoco, we'll let you know as soon as it's ready. |
Hi Prof. @monperrus , thank you for the information and looking forward to that paper! |
Hi @DehengYang , Sorry for the delayed response.
Although there is some overhead, I'm surprised to see such a big difference. I will do some profiling efforts to see what is happening. Thanks for the information!
There are a couple of ways of reducing the overhead, although it shouldn't be required for an usual case:
|
Hi @andre15silva , thank you for the great help and useful guidance. I will try that soon. |
Dear Sirs,
I am very interested in this project and I am trying to package it on my pc for fault localization. I cloned this project and then ran
mvn package -DskipTests
, but it reports the following two types of compilation errors:I think this could be resolved by adding the following dependencies into
pom.xml
:With this workaround, I have used the
flacoco-1.0.1-SNAPSHOT-jar-with-dependencies.jar
to localize a bug in alibaba/fastjson@96d0ee5 with the following command:It failed with the following error:
Then I used the jar from the maven repo:
It also failed with the same error.
Notes:
fr.spoonlabs.flacoco.FlacocoMain
but actually we should usefr.spoonlabs.flacoco.cli.FlacocoMain
seemingly.It would be much appreciated if any advice could be provided. Thank you.
The text was updated successfully, but these errors were encountered: