-
Notifications
You must be signed in to change notification settings - Fork 31
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
Failed to build docker image for Defects4J benchmark #201
Comments
Hi @Marti2203, I built the benchmark Docker image in After building docker image for Defects4J benchmark, I ran the command again: |
Hi @brojackvn, I saw the issue. In the last version we have started using groups to allow sharing of files between container and tool. I will push a fix tomorrow for this. Apologies |
Should be fixed now on master, In relation to the defects4j bug, I have to examine the problem later this week |
Yes, I thought that group 100 was not defined... can you change the value in task/image.py to 999 and I will push a fix if it works. |
Yeah. That's right. But when I changed it, I ran the command again |
Oh nono, I meant modifying the cerberus source code. The Dockerfile is automatically rebuilt |
Thank you, it worked. |
`reported by test-runner. Test [Manual]TestMethod=org.jfree.data.xy.junit.TableXYDatasetTests#testEquals result was not reported by test-runner. Test [Manual]TestMethod=org.jfree.chart.axis.junit.LogarithmicAxisTests#testAdjustedLog10 result was not reported by test-runner. Tests found: 751 Tests executed: 719 Failing test cases was not passed as argument: we use the results from running them[] Executing time Fault localization: 65 sec Setting up the max to 655740 milliseconds (655 sec)
` |
I found the error, which was caused by an incorrect configuration when using the Astor tool. I fixed it, and now it works |
However, this error occurs when I run certain bugs in Defects4J |
Hi @Marti2203 , I am trying to run an example to understand the flow of Cerberus. Here’s what I have done so far, step by step:
source activate
pip install -r requirements.txt
in my environment.cerberus -task repair --tool=arja --benchmark=defects4j --bug-index=1
.3.1. First, I received the following error message: "Could not get the submodule. Maybe the system asked for an SSH key, and it could not be provided." Instead of fixing this by adding an SSH key to GitHub, I traced the issue in the log file and ran
git submodule update --init benchmark/defects4j
manually, which resolved the error.3.2. Then, I encountered another error: "[error] Image was not built successfully. Please check whether the file builds outside of Cerberus." I am unsure why Cerberus cannot build the benchmark image. Here's the log output:
Then I printed process of building image by adding a line of code "print(line["stream"])" at line 124 in container.py. I found an error here:
Could you help me figure out how to resolve this issue?
Originally posted by @brojackvn in #156 (comment)
The text was updated successfully, but these errors were encountered: