princeton-nlp / SWE-bench

[ICLR 2024] SWE-Bench: Can Language Models Resolve Real-world Github Issues?
https://www.swebench.com
MIT License
1.76k stars 297 forks source link

matplotlib__matplotlib-23476 failed at pre-install #210

Open HejiaZ2023 opened 3 weeks ago

HejiaZ2023 commented 3 weeks ago

Describe the bug

The conda env installation of matplotlib__matplotlib-23476 timeouted at pre-install stage. Looks like tzdata set up is asking for some keyboard input which it will never receive. Mitigation: On my machine I solved it by manually pre-run export DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC, but I think it should be added somewhere in the repo?

Steps/commands/code to Reproduce

python run.py --model_name gpt4o --instance_filter matplotlib__matplotlib-23476 --split test

Error message/results

INFO     ▶️  Beginning task 125

INFO     matplotlib__matplotlib not found in container, cloning...
DEBUG    Falling back to full cloning method due to multiple instances or persistent container
INFO     matplotlib__matplotlib__3.5 conda env not found, creating...
DEBUG    Created conda environment with environment.yml
DEBUG    Installed extra pip dependencies
INFO     Running pre-install commands...
ERROR    Read with timeout failed on input:
         ---
         apt-get -y update && apt-get -y upgrade && apt-get install -y imagemagick ffmpeg texlive texlive-latex-extra
         texlive-fonts-recommended texlive-xetex texlive-luatex cm-super dvipng
         ---
......
Setting up libflac8:amd64 (1.3.3-2ubuntu0.2) ...
Setting up poppler-data (0.4.11-1) ...
Setting up tzdata (2024a-0ubuntu0.22.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.

  1. Africa      4. Australia     7. Atlantic Ocean  10. Pacific Ocean
  2. America     5. Arctic Ocean  8. Europe          11. US
  3. Antarctica  6. Asia          9. Indian Ocean    12. None of the above
Geographic area:
WARNING  ❌ Failed on matplotlib__matplotlib-23476: Timeout reached while reading from subprocess.

System Information

Platform: Linux-6.5.0-41-generic-x86_64-with-glibc2.35 System: Linux Release: 6.5.0-41-generic Python ver: 3.10.14 swebench: 2.0.12 sweagent: 0.6.1 (editable installed, commit b0ee29251b01)

Checklist

klieret commented 3 weeks ago

Hi @HejiaZ2023 . Thank you very much for the nice report! Let me move this to SWE-bench, as it needs to be fixed there.