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

test: add a test to enable and test rdma connect #1759

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dsharma-dc
Copy link
Contributor

  • Added a simple test to create and publish a nexus. Connect it over rdma.
  • The connect API is modified to take transport parameter.
  • The test automatically detects a suitable interface to create a soft-RDMA device, creates it and deletes it at the end of the test.

@dsharma-dc
Copy link
Contributor Author

The changes for composer dependencies are here: openebs/mayastor-dependencies#96

io-engine-tests/src/lib.rs Outdated Show resolved Hide resolved
io-engine-tests/src/lib.rs Outdated Show resolved Hide resolved
io-engine/tests/nvmf.rs Outdated Show resolved Hide resolved
io-engine-tests/src/lib.rs Outdated Show resolved Hide resolved
@@ -19,6 +19,12 @@ trap cleanup_handler INT QUIT TERM HUP EXIT
export PATH=$PATH:${HOME}/.cargo/bin
set -euxo pipefail

# setup extra modules as we need rdma-rxe for rdma tests
sudo apt -y install rdmacm-utils
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm you can't assume everyone and ci is using ubuntu.
I think we should leave this out, should be part of pre-requisites, just like hugepages and nvme-tcp

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed installation of package and added warning if kernel modules aren't installed.

scripts/clean-cargo-tests.sh Outdated Show resolved Hide resolved
@dsharma-dc dsharma-dc force-pushed the composer_nw branch 3 times, most recently from f542244 to f4d3f01 Compare October 28, 2024 11:12
@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Oct 28, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

Signed-off-by: Diwakar Sharma <diwakar.sharma@datacore.com>
@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Oct 28, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants