Intermittent errors with tests on x86_64 / amd64
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start with tests/test_pane.py:113 and reproduce the failure in the openSUSE Tumbleweed x86_64 environment using tmux-3.3a-2.2. Compare the captured pane output around test_capture_pane_start and establish a reliable test result for the intermittent behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When packaging this for openSUSE Tumbleweed, we get intermittent build errors due to failing tests.
Today this one errored out:
[ 126s] =================================== FAILURES ===================================
[ 126s] ___________________________ test_capture_pane_start ____________________________
[ 126s]
[ 126s] session = Session($1 libtmux_udfg_nz8)
[ 126s]
[ 126s] def test_capture_pane_start(session: Session) -> None:
[ 126s] env = shutil.which("env")
[ 126s] assert env is not None, "Cannot find usable `env` in PATH."
[ 126s]
[ 126s] session.new_window(
[ 126s] attach=True,
[ 126s] window_name="capture_pane_start",
[ 126s] window_shell=f"{env} PS1='$ ' sh",
[ 126s] )
[ 126s] pane = session.attached_window.attached_pane
[ 126s] assert pane is not None
[ 126s] pane_contents = "\n".join(pane.capture_pane())
[ 126s] assert pane_contents == "$"
[ 126s] pane.send_keys(r'printf "%s"', literal=True, suppress_history=False)
[ 126s] pane_contents = "\n".join(pane.capture_pane())
[ 126s] assert pane_contents == '$ printf "%s"\n$'
[ 126s] pane.send_keys("clear -x", literal=True, suppress_history=False)
[ 126s] pane_contents = "\n".join(pane.capture_pane())
[ 126s] > assert pane_contents == "$"
[ 126s] E assert '$ printf "%s"\n$ clear -x' == '$'
[ 126s] E - $
[ 126s] E + $ printf "%s"
[ 126s] E + $ clear -x
[ 126s]
[ 126s] tests/test_pane.py:113: AssertionError
[ 126s] =============================== warnings summary ===============================
[...]
tmux version was tmux-3.3a-2.2.
- Ngôn ngữ chính
- Python
- Star
- 1.2k
- Fork
- 127
- Merge trung bình
- 2 giờ 13 phút
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tmux-python/libtmux
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
tmux-python/libtmux#759 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tmux-python/libtmux#745 · 2 bình luận ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
tmux-python/libtmux#744 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tmux-python/libtmux#731 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
tmux-python/libtmux#654 ·
Tất cả issue của tmux-python/libtmux
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
huggingface/Repo2RLEnv#163 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
NousResearch/hermes-agent#121143 ·