[Bug]: run_infer returned non-zero exit status 1
Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
Describe the bug and reproduction steps
When executing the following command: ./evaluation/benchmarks/swe_bench/scripts/run_infer.sh llm.llm HEAD CodeActAgent 3000 100 16 SWE-Gym/SWE-Gym train
The log reports the following error:
subprocess.CalledProcessError: Command '['docker', 'buildx', 'build', '--progress=plain', '--build-arg=OPENHANDS_RUNTIME_VERSION=0.24.0', '--build-arg=OPENHANDS_RUNTIME_BUILD_TIME=2025-02-17T22:57:14.233216', '--tag=ghcr.io/all-hands-ai/runtime:oh_v0.24.0_g70voi2ihgia0ubr_k1k4p4b6u3xggrcw', '--load', '--platform=linux/amd64', '/tmp/tmpxbijqzqn']' returned non-zero exit status 1.
Instance astropy__astropy-14365 - 2025-02-17 22:57:14,791 - INFO - Starting evaluation for instance astropy__astropy-14365.
Hint: run "tail -f evaluation/evaluation_outputs/outputs/princeton-nlp__SWE-bench_Verified-test/CodeActAgent/common_2050_def_qwen_32_code_zl_0216_maxiter_100_N_v0.24.0-no-hint-run_1/infer_logs/instance_astropy__astropy-14365.log" to see live logs in a separate shell
ERROR:root: File "/root/OpenHands/evaluation/benchmarks/swe_bench/run_infer.py", line 560, in
ERROR:root:<class 'RuntimeError'>: Maximum error retries reached for instance astropy__astropy-13033
Could there be a problem related with the image source?
OpenHands Installation
Docker command in README
OpenHands Version
main
Operating System
Linux
Logs, Errors, Screenshots, and Additional Context
No response
Can you add DEBUG=true and DEBUG_RUNTIME=true and share more debugging outputs?
I encountered the same problem as you,when i want to run scienceagentbench inference, i use ./evaluation/benchmarks/scienceagentbench/scripts/run_infer.sh as the README.md mentioned.
but there is an error :
subprocess.CalledProcessError: Command '[ 'docker', 'buildx', 'build', '--progress=plain', '--build-arg=OPENHANDS_RUNTIME_VERSION=0.25.0', '--build-arg=OPENHANDS_RUNTIME_BUILD_TIME=2025-02-26T15:26:49.632027', '--tag=ghcr.io/all-hands-ai/runtime:oh_v0.25.0_efdpbrfgqfiuyrxt_zpgcaqwf1d74fbc2', '--load', '/tmp/tmpqfqzw3hb']' returned non-zero exit status 1.
so did you find the way to solve it? if you could provide the solution, I would greatly appreciate it
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for over 30 days with no activity.