astor icon indicating copy to clipboard operation
astor copied to clipboard

"End Repair Search: NOT Found solution" even in case of provided examples.

Open rajdeep-biswas opened this issue 4 years ago • 1 comments

Steps to reproduce -

  1. Cloned this repo as is.
  2. On mvn clean install step, there is an error regarding Source option 5 is no longer supported. Use 6 or later. This appeared on Math-issue-309 and Math-issue-280, their pom.xml files' tags had to be updated from 1.5 to 1.6 and then the command works.
  3. Running this command as is specified in the doc java -cp target/astor-*-jar-with-dependencies.jar fr.inria.main.evolution.AstorMain -mode jgenprog -srcjavafolder /src/java/ -srctestfolder /src/test/ -binjavafolder /target/classes/ -bintestfolder /target/test-classes/ -location /Users/trb/Documents/SideGigs/Patcher/astor/examples/Math-issue-309 -dependencies examples/Math-issue-309/lib Results in the following log -
[1190389] WARN AstorCoreEngine - ----------Running generation: 199, population size: 1
[1190712] WARN AstorCoreEngine - ----------Running generation: 200, population size: 1
[1201220] INFO main - The Process that runs JUnit test cases did not terminate within waitTime of 10 seconds
[1201220] INFO main - Killed the Process that runs JUnit test cases 17210
[1201224] INFO AstorCoreEngine - Time Repair Loop (s): 1112.246
[1201224] INFO AstorCoreEngine - generationsexecuted: 200
[1201224] WARN AstorCoreEngine - ----SUMMARY_EXECUTION---
[1201224] WARN AstorCoreEngine - End Repair Search: NOT Found solution
[1201224] WARN AstorCoreEngine - Number suspicious:1
[1201233] INFO AstorMain - Time Total(s): 1201.231

There is no patch.diff file generated, either, as it should be according to the doc; in the output directory.

rajdeep-biswas avatar Oct 28 '21 07:10 rajdeep-biswas

did you solved the problem later? please let me know

ShifatSahariar avatar Nov 02 '23 17:11 ShifatSahariar