tmux cant find sessions when testing in docker
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, python, ubuntu
- 領域
- cli, devops, testing-qa
調査の方向性
Start by running the supplied test_tmux.py and Dockerfile with ubuntu:18.04, then compare the result with python:3.7-slim. Trace the session creation and lookup failure around the reported session_id error, and verify the fix by making docker build complete successfully with the reproduction test.
索引モデルが issue の本文から書いたものです。
説明
Steps to reproduce:
test_tmux.py
import libtmux
import pytest
@pytest.fixture
def server():
server = libtmux.Server()
return server
def test_can_start_tmux_session(server):
server.new_session("test")
assert server.has_session("test")
server.kill_session("test")
Dockerfile:
FROM ubuntu:18.04
RUN apt-get update && apt install -y tmux python-pip
RUN pip install libtmux pytest
COPY test_tmux.py .
RUN pytest test_tmux.py
then docker build . fails with
if 'session_id' not in kwargs:
> raise ValueError('Session requires a `session_id`')
E ValueError: Session requires a `session_id`
Interestingly, replacing 'ubuntu:18.04' with 'python:3.7-slim' works. I thought this might mean it was an issue with the apt version of pip (which I know is dodgy), but adding a 'pip install --upgrade pip' didn't help.
- 主要言語
- Python
- スター
- 1.2k
- フォーク
- 127
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
tmux-python/libtmux のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
tmux-python/libtmux#759 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tmux-python/libtmux#745 · コメント 2 件 ·
-
Documentation: how to use internal libtmux logging対応中かも @tony が 44 日前に担当しました。 オープンenhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
tmux-python/libtmux#744 ·
-
`test_control_mode_stdout_preserves_non_ascii_output` polls `select` on a buffered stream対応中かも @tony が 66 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tmux-python/libtmux#731 ·
-
Flaky test: test_capture_pane_flags[join_wrapped_numbers] matches marker in command echo対応中かも @tony が 187 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
tmux-python/libtmux#654 ·
tmux-python/libtmux の issue をすべて見る
似ている issue
-
needs-human needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
gke-labs/kube-agents#2400 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Device Details tables: FS/SF columns contradict each other (nfet_01v8 Vt row, pfet_01v8 Idsat row)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
google/skywater-pdk#450 ·
-
Drained trajectory arrays are overwritten when the sequence buffer is reused対応中かも @sylvesterkaczmarek が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
google-deepmind/bsuite#56 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
LearningCircuit/local-deep-research#7206 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
chingu-voyages/V62-tier3-team-33#285 ·
メンテナーはふだん 1 日以内に返信