Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Intermittent errors with tests on x86_64 / amd64

オープン
#480 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python
領域
cli, testing

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
1.2k
フォーク
127
平均マージ
2時間 13分
マージ済み PR(30日)
1

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tmux-python/libtmux のほかの issue

tmux-python/libtmux の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。