ocp-traffic-flow-tests's People
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
- Runs a command to get the initial state (no guarantee on when this is happening)
- Sleeps for duration
- 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.
Use kubectl instead of OC
Then we can rename this repo from ocp-traffic-flow-tests to k8s-traffic-flow-tests
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.