Seth Hoenig
a1ebd075c4
e2e: add e2e tests for job submission api ( #16841 )
...
* e2e: add e2e tests for job submission api
* e2e: fixup callers of AllocLogs
* fix typo
2023-04-12 08:36:17 -05:00
hashicorp-copywrite[bot]
f005448366
[COMPLIANCE] Add Copyright and License Headers
2023-04-10 15:36:59 +00:00
Michael Schurter
9fefc18b77
e2e fixes: cli output, timing issue, and some cleanups ( #16418 )
...
* e2e: job expects alloc to run until stopped
* e2e: fix case changed by #16306
* e2e: couldn't find a bug but improved test+jobspecs
2023-03-10 13:14:51 -08:00
Seth Hoenig
3c17552d4d
e2e: explicitly wait on task status in chroot download exec test ( #15145 )
...
Also add some debug log lines for this test, because it doesn't make sense
for the allocation to be complete yet a task in the allocation to be not
started yet, which is what the test failures are implying.
2022-11-04 09:50:11 -05:00
Seth Hoenig
0b69a52a40
e2e: convert flaky exec download in chroot unit test into e2e test ( #14949 )
...
Similar to https://github.com/hashicorp/nomad/pull/14710 , convert flaky
test into e2e test.
2022-10-19 08:22:32 -05:00
Seth Hoenig
32be86831f
e2e: convert chroot env unit tests into e2e tests ( #14710 )
...
This PR translates two of our most flakey unit tests into
e2e tests where they are fit much more naturally.
2022-09-26 15:40:29 -05:00
Seth Hoenig
836ee9e4a2
drivers/exec+java: Add task configuration to restore previous PID/IPC isolation behavior
...
This PR adds pid_mode and ipc_mode options to the exec and java task
driver config options. By default these will defer to the default_pid_mode
and default_ipc_mode agent plugin options created in #9969 . Setting
these values to "host" mode disables isolation for the task. Doing so
is not recommended, but may be necessary to support legacy job configurations.
Closes #9970
2021-02-08 14:26:35 -06:00
Chris Baker
bcb78f15bf
lint some nomad HCL job specs
2021-01-28 12:03:19 +00:00
Chris Baker
c9905747e6
e2e: java driver isolation tests
2021-01-28 12:03:19 +00:00
Kris Hicks
87f80b1042
Add a little comment
2021-01-28 12:03:19 +00:00
Kris Hicks
c0f6df7cfd
Add test for alloc exec
2021-01-28 12:03:19 +00:00
Kris Hicks
ea7bab0714
Add e2e test for raw exec
2021-01-28 12:03:19 +00:00
Kris Hicks
677353a205
Add PID namespacing and e2e test
2021-01-28 12:03:19 +00:00