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
Fix running cargo test in parallel for Jailer #4412
Labels
Good first issue
Indicates a good issue for first-time contributors
Comments
sudanl0
added
the
Good first issue
Indicates a good issue for first-time contributors
label
Jan 29, 2024
I'm interested in working on this issue. |
@cm-iwata thank you for sharing your interest on this. Please feel free to work on it and post a PR when you are ready. |
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 9, 2024
Previously, all tests shared `/tmp/firecracker/test/jailer/proc/mounts`, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 9, 2024
Previously, all tests shared same temporary file/directory, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into file/directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
9 tasks
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 9, 2024
Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 13, 2024
Previously, all tests shared same temporary file/directory, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into file/directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 13, 2024
Previously, all tests shared same temporary file/directory, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into file/directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 13, 2024
Previously, all tests shared same temporary file/directory, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into file/directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Feb 13, 2024
Previously, all tests shared same temporary file/directory, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into file/directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
cm-iwata
added a commit
to cm-iwata/firecracker
that referenced
this issue
Mar 14, 2024
Previously, all tests shared same temporary file/directory, causing concurrency conflicts when running tests in multi-threaded. Resolved test concurrency issues by incorporating random strings into file/directory names. Link: firecracker-microvm#4412 Signed-off-by: Tomoya Iwata <iwata.tomoya@classmethod.jp>
sudanl0
changed the title
Fix running cargo test in parallel for vmm
Fix running cargo test in parallel for Jailer
Mar 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
The unit tests in jailer fail when run in parallel, the result of
cargo test --package jailer
is as below:The tests run successfully when run serially with this command :
cargo test --package jailer -- --test-threads=1
Action item
To fix the unit tests so they can run in parallel.
Acceptance criteria
PR with the fix to run
cargo test --package jailer
command without any errors.The text was updated successfully, but these errors were encountered: