OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: run_infer returned non-zero exit status 1

Open zlpure opened this issue 10 months ago • 3 comments

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 run_evaluation( File "/root/OpenHands/evaluation/utils/shared.py", line 418, in run_evaluation for result in results: ^^^^^^^ File "/root/miniforge3/lib/python3.12/multiprocessing/pool.py", line 873, in next raise value

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

zlpure avatar Feb 17 '25 15:02 zlpure

Can you add DEBUG=true and DEBUG_RUNTIME=true and share more debugging outputs?

xingyaoww avatar Feb 18 '25 01:02 xingyaoww

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

2645283289 avatar Feb 26 '25 07:02 2645283289

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.

github-actions[bot] avatar Mar 29 '25 02:03 github-actions[bot]

This issue was closed because it has been stalled for over 30 days with no activity.

github-actions[bot] avatar Apr 05 '25 02:04 github-actions[bot]