Jun'ichi Nomura's DM multipath test scripts
License
snitm/mptest
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Test scripts for dm-multipath
=============================
How to run
----------
# cd mptest
# ./runtest
..
(verbose outputs)
..
** summary **
PASSED: test_00_no_failure test_02_sdev_delete test_03_dm_failpath
FAILED: test_01_sdev_offline
Or './runtest tests/test_01_sdev_offline', for example, to run a
specific test.
Required tools
--------------
- dmsetup
- fio
- targetcli (if MULTIPATH_BACKEND_MODULE=tcmloop)
- scsi_debug.ko (if MULTIPATH_BACKEND_MODULE=scsidebug)
Improvements needed
-------------------
- More realistic ALUA setups
* Multiple TPGs
* Optimized/Non-optimized groups
* Prefered bit
- More realistic transports and failure modes
* iSCSI
* FC
- More varieties of I/Os
* blk pcs
- Validation tests of dm table/status
* whether dm-mpath.ko can handle various dm table pattern correctly
* whether dm-mpath.ko outputs dm status correctly
- Better udev avoidance
* a lot of uevents are generated during the test, that unintendedly
ends up with stress testing of udev subsystem
* dmsetup might fail and/or stall if the avoidance is not done
correctly
- Integration test with udev and multipath-tools
* for realistic testing, tests involving udev and multipathd are
also necessary
Issues
------
- When run from non-interactive mode, targetcli might emit python
exception when called:
Traceback (most recent call last):
File "/usr/bin/targetcli", line 121, in <module>
main()
File "/usr/bin/targetcli", line 111, in main
shell.run_interactive()
File "/usr/lib/python2.7/site-packages/configshell_fb/shell.py", line 899, in run_interactive
readline.set_completer(old_completer)
NameError: global name 'readline' is not defined
About
Jun'ichi Nomura's DM multipath test scripts
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published