Intermittent errors with tests on x86_64 / amd64
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 1.2k
- Fork
- 127
- Merge medio
- 2h 13m
- PR unite (30g)
- 1
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di tmux-python/libtmux
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
tmux-python/libtmux#759 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tmux-python/libtmux#745 · 2 commenti ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
tmux-python/libtmux#744 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tmux-python/libtmux#731 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
tmux-python/libtmux#654 ·
Tutte le issue di tmux-python/libtmux
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100