1、HOW TO SETUP RDMA CI USING THE FSDP CLUSTERDoug Ledford,Chair OFARed Hat,Inc.2024 OFA Virtual WorkshopSTEPS REQUIRED TO HOOK YOUR TESTS INTO THE KCI INFRACreate your testsAdd your tests to the kpetdbAdd your pipeline to the ofa pipeline in kciSit back and wait for results2 OpenFabrics AllianceCREATI
2、NG YOUR TEST3 OpenFabrics AllianceCREATING YOUR TESTWatch the first video on the left to see how to get setup with your account and access the FSDPWatch the second and third videos for an introduction to the testing API(everything is based on the Restraint test harness as shipped with Beaker:https:/
3、restraint.readthedocs.io/en/latest/)Clone the FSDP test repo:https:/ repo clone OpenFabrics/fsdp_testsAdd your own unique directory for your testsYou will need 1 directory per unique test,mainly for selecting the pool specific to how you want to run your tests,may use a shared directory for the majo
4、rity of the test itselfEg.Redis/common-Generic copy of the test that can be shared Redis/ib-mlx -Could use either generic or specific pool here as there is only one IB vendor in the cluster Redis/roce-mlx-Need to use a specific pool to limit devices to mlx roce Redis/roce-qedr-Need to use a specific
5、 pool to limit devices to qedr roce Redis/iwarp /dev/null;then echo*client test start*echo*$TNAME-$RDMA_NETWORK-$RUN_NUMBER*client TEST=$TEST/sanity/clientelif hostname-A|grep$SERVERS%.*/dev/null;then echo*server test start*echo*$TNAME-$RDMA_NETWORK-$RUN_NUMBER*server TEST=$TEST/sanity/serverfifsdp_
6、tests/kernel/infiniband/demo/runtest.sh OpenFabrics Alliance5function server#server get ready echo-server is ready-$TNAME-$RDMA_NETWORK-$RUN_NUMBER-rhts_sync_set-s server-ready_$TNAME-$RDMA_NETWORK-$RUN_NUMBER rhts_sync_block-s client-ready_$TNAME-$RDMA_NETWORK-$RUN_NUMBER$CLIENTS#do the sanity test