Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add standard tests for exec support #95

Open
towe75 opened this issue Apr 2, 2021 · 0 comments
Open

Add standard tests for exec support #95

towe75 opened this issue Apr 2, 2021 · 0 comments

Comments

@towe75
Copy link
Collaborator

towe75 commented Apr 2, 2021

see also #87

We should add a test based on the standard nomad StreaminConformingTests suite.
A first try failed back at that day because of two reasons:

  1. TestExecFSIsolation has some hardcoded assumption towards docker
  2. a flaky test (_children_processes) did not work with podman API: handled in remove flakey exec test that tests non-deterministic docker behavior nomad#10291
--- FAIL: TestPodmanDriver_execTaskStreaming (76.20s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_notty:_basic (0.13s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_notty:_streaming (3.12s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_notty:_stty_check (0.11s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_notty:_stdin_passing (0.12s)
--- FAIL: TestPodmanDriver_execTaskStreaming/basic:_notty:_children_processes (1.09s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_tty:_basic (0.13s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_tty:_streaming (3.07s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_tty:_stty_check (1.10s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_tty:_stdin_passing (0.11s)
--- PASS: TestPodmanDriver_execTaskStreaming/basic:_tty:_children_processes (1.10s)
--- FAIL: TestPodmanDriver_execTaskStreaming/isolation (0.28s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants