Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

LUTF IDIssue

Unit Test Description

cfg-105
basic-cfg-err-001test_udsp_basic_err_01fail (return -22), the error seems known issue listed below
  • Setup: configure single network, 3 NIDs on the network 
  • Add UDSP rule that gives two of the interfaces highest priority
  • Execute UDSP "Show" command
  • Verify that the resulting YAML file contains policy description as expected
  • Execute UDSP "Delete" command providing policy index that doesn't exist
  • Verify that the command failed with an error


basic-cfg-err-002test_udsp_basic_err_02pass
  • Setup: configure single network, 3 NIDs on the network 
  • Verify that attempts to add UDSP rule for source or dst network fail: "0tcp", "0o2ib", "tcpp", "t", "tcp100000000000000000000000000000000000000000000000001"


basic-cfg-err-003case missing; manually tested
Jira
serverWhamcloud Community Jira
serverId8bba2dd1-4333-3006-bfcd-f35d4ebbd2ad
keyLU-15749
  • Setup: configure single network, 3 NIDs on the network 
  • Verify that attempts to add UDSP rule for source or dst NID fail: "@tcp", "1@tcp", "1.1.1@tcp", "1.1.1.1.1@tcp"

...

Primary Requirement ID

Secondary Requirement ID

Unit Test ID

LUTF IDIssue

Unit Test Description




test_udsp_routed_net_01

the test itself passed, but the unconfigure code(at the end of the script) return error

error: "LUTFError:\n  node-name: mds_HOST\n  msg: lustre_rmmod failed\n  arg:\

          \ null\n  file name: /usr/lib64/lustre/tests/lutf/python/tests-infra/lnet.py\n\

          \  line number: 611\n  function: unconfigure\n"


if comment out the unconfigure_lnet(), test can pass

lutf>>> R()

Tests:

  - name: lutf-udsp

    description: auster lutf

    SubTests:

      - status: PASS

        duration: 8

        return_code: 0

        name: udsp_routed_net_01

    duration: 8

    status: PASS

    submission: Fri Apr 22 17:07:56 UTC 2022

  • Configure single local network with two NIDs on the network  (RemoteLayout1)
  • Configure two routers/gateways each providing access to a remote network
  • Configure remote peer to have access to the remote network with two NIDs
  • Add UDSP rule that designates a pair of a router and remote peer NIDs as preferred
  • Add UDSP rule that gives the same remote peer NID highest priority
  • Start traffic
  • Stop traffic
  • Verify that the preferred remote peer NID and router NID were used




pass - manually run
  • Configure single local network with two NIDs on the network (RemoteLayout1)
  • Configure two routers/gateways each providing access to a remote network
  • Configure remote peer to have access to the remote network with two NIDs
  • Assign higher route priority to the route using gateway 1
  • Add UDSP rule that designates a pair of a router (gateway 2) and remote peer NIDs as preferred
  • Start traffic
  • Stop traffic
  • Verify that the higher priority route was used (gateway 1)




fail - manually run

fail to set up the env as layout2, I can make the top path passed, but the bottom one wont work

  • Configure two local networks (net1, net2) with two NIDs on each network (RemoteLayout2)
  • Configure remote peer to have access to the remote network with two NIDs
  • On peerA add UDSP rule that designates gateway 1 as preferred for all NIDs on peerB
  • Start traffic (peerA to peerB)
  • Stop traffic
  • Verify that if net1 was used then the paired router was used 

...