Giter Site home page Giter Site logo

ocp-traffic-flow-tests's People

Contributors

saldaniele avatar thom311 avatar vrindle avatar wizhaoredhat avatar zinkelburger avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ocp-traffic-flow-tests's Issues

We need a more reliable way to determine "Cluster Type"

Currently, we simply inspect the name of the kubeconfig files that exist to determine what sort of cluster we are deploying in (NIC mode versus DPU mode etc).

We should have something more robust, just because a tenant cluster config exists doesn't necessarily mean we are using a DPU mode cluster.

Eval config needs more granularity

Although for most tests the reverse and not reverse tests are rough the same, there are several tests with a significant difference between the two.
The current eval-config.yaml is not granular enough to distinguish between these fields.
For example:

  • POD_TO_HOST_SAME_NODE
  • POD_TO_CLUSTER_IP_TO_HOST_SAME_NODE
  • HOST_TO_CLUSTER_IP_TO_POD_TO_SAME_NODE
  • HOST_TO_CLUSTER_IP_TO_HOST_SAME_NODE
  • HOST_TO_NODE_PORT_TO_HOST_SAME_NODE
  • POD_TO_EXTERNAL
  • HOST_TO_EXTERNAL

This causes POD_TO_EXTERNAL and HOST_TO_EXTERNAL to be marked as failing, when in reality they are supposed to be especially slow.

Threads use "duration" to synchronize instead of Events

Threads currently synchronize their readings with a "duration".
Instead, all of the threads should be able to signal that they are ready. Maybe we can even ditch the duration all together and have the client also signal when it ends.

I put this as an issue because I am leaving this team soon, and this may be a better task for someone more familiar with multithreading in python.

This first came to my attention with ValidateOffload. It

  1. Runs a command to get the initial state (no guarantee on when this is happening)
  2. Sleeps for duration
  3. Runs the same command again to get the final state (no guarantee on when this is happening)

One solution could be to use a "Barrier" https://docs.python.org/3/library/threading.html
We can make a Barrier of size len(montiors+servers+clients). All threads are blocked until each one calls barrier.wait, and they'll start simultaneously.

validate hwol plugin fails to run after iperf traffic concludes on a handful of flows

2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.POD_TO_CLUSTER_IP_TO_HOST_SAME_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.POD_TO_CLUSTER_IP_TO_HOST_SAME_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.POD_TO_CLUSTER_IP_TO_HOST_DIFF_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.POD_TO_CLUSTER_IP_TO_HOST_DIFF_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_CLUSTER_IP_TO_HOST_SAME_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_CLUSTER_IP_TO_HOST_SAME_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_CLUSTER_IP_TO_HOST_DIFF_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_CLUSTER_IP_TO_HOST_DIFF_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_NODE_PORT_TO_HOST_SAME_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_NODE_PORT_TO_HOST_SAME_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_NODE_PORT_TO_HOST_DIFF_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_NODE_PORT_TO_HOST_DIFF_NODE
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.POD_TO_EXTERNAL
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.POD_TO_EXTERNAL
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_EXTERNAL
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_EXTERNAL
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_EXTERNAL
2024-05-10 16:30:23 ERROR: Validate offload plugin is missing expected ethtool data in TestCaseType.HOST_TO_EXTERNAL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.