LNST-project / lnst

Linux Network Stack Test
GNU General Public License v2.0
73 stars 33 forks source link

Use PerfParalellResult and `asyncio.subprocess` for TrafficControl results #295

Closed pgagne closed 1 year ago

pgagne commented 1 year ago

Description

Changing to perf paralell result. mostly complete. commiting for test and review purposes.

Also use asyncio.subprocess to run multiple tc instances client side.

For reference here is a sample of the tc process start timestamps:

    data:
        instance_results:
            item 0:
                ...
                start_timestamp: 1681069428.9487906
                ...
            item 1:
                ...
                start_timestamp: 1681069428.9511075
                ... 
            item 2:
                ...
                start_timestamp: 1681069428.9530337
                ...
            item 3:
                ...
                start_timestamp: 1681069428.9548721
                ...
pgagne commented 1 year ago

@olichtne @jtluka

Please review, this should be ready to go. Let me know if you have any questions.

Test jobs:

J:7716681 J:7713522 J:7720505

olichtne commented 1 year ago

Test jobs:

J:7716681 J:7713522 J:7720505

none of these jobs actually test the parallel functionality, i assume you also have a job for that somewhere?

ah nevermind... you just don't print it in the result descriptions. ignore this comment.

pgagne commented 1 year ago

@olichtne fixed issues. Also I added the number of instances to the result description to make it clearer how many instances there are.