Cannot Generate testcase for Lang-21 to Lang-41
I can see from the documents is that the build.xml file is missing in these projects
BUILD FAILED /data3/cpy/MutAGENTest/mutantsgen/Wukong/defects4j/framework/projects/defects4j.build.xml:88: The following error occurred while executing this line: /data3/cpy/MutAGENTest/mutantsgen/Wukong/defects4j/framework/projects/Lang/Lang.build.xml:43: Cannot find /tmp/gen_tests.pl_428404_1742475293/build.xml imported from /data3/cpy/MutAGENTest/mutantsgen/Wukong/defects4j/framework/projects/Lang/Lang.build.xml
I use
defects4j checkout -p Lang -v 21f -w ./defects4j_fixed/Lang/Lang_21_fixed
to download the project. but the project come without the build.xml file.
This only happens between lang-21(both bug and fixed) and lang-41(both)
I use
defects4j checkout -p Lang -v 21f -w ./defects4j_fixed/Lang/Lang_21_fixedto download the project. but the project come without the build.xml file. This only happens between lang-21(both bug and fixed) and lang-41(both)
A weired debug info like this cp: cannot stat '.../defects4j/framework/projects/Lang/build_files/55f642725742513824975af0e5e91cb1920b6d72/*': No such file or directory It seems that is a postfix procedure. However failed. can anyone explain this?
I use
defects4j checkout -p Lang -v 21f -w ./defects4j_fixed/Lang/Lang_21_fixedto download the project. but the project come without the build.xml file. This only happens between lang-21(both bug and fixed) and lang-41(both)A weired debug info like this cp: cannot stat '.../defects4j/framework/projects/Lang/build_files/55f642725742513824975af0e5e91cb1920b6d72/*': No such file or directory It seems that is a postfix procedure. However failed. can anyone explain this?
It seems that the missing build.xml file is the crutial problem.
Similar proplem happens also for JacksonXml projects and Jsoup projects
Hi @jmueducn,
Thanks for reporting this. Unfortunately, I cannot reproduce the issue. Can you please let me know:
- are you using the most recent version of Defects4J?
- what OS, Java version, Git version are you using?
- what steps reproduce the problem on your end (starting with
git clone https://github.com/rjust/defects4j)?
Also, do you see different behavior when using relative vs. absolute paths for the working directory?