|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2 |
|
| #
b66412f2 |
| 26-Oct-2021 |
Konstantin Ananyev <[email protected]> |
test: fix ring PMD initialisation
(bitratestats_autotest|latencystats_autotest|pdump_autotest) tests generate a log of error messages like that:
test_packet_forward() line 104: Error sending packet
test: fix ring PMD initialisation
(bitratestats_autotest|latencystats_autotest|pdump_autotest) tests generate a log of error messages like that:
test_packet_forward() line 104: Error sending packet to port 0 Send pkts Failed
These tests use of app/test/sample_packet_forward.* code. This code creates a portid from a ring, but doesn't properly configure/start it. The fix adds code to configure/start given port before usage.
Fixes: 7a0935239b9e ("ethdev: make fast-path functions to use new flat array") Fixes: a52966cd48fd ("test: add helpers using ring PMD Rx/Tx") Cc: [email protected]
Reported-by: David Marchand <[email protected]> Signed-off-by: Konstantin Ananyev <[email protected]> Tested-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1 |
|
| #
cb3dd14c |
| 02-Oct-2021 |
David Marchand <[email protected]> |
test/latency: fix loop boundary
Caught running ASAN.
lat_stats_strings[] is an array containing NUM_STATS strings.
Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library") Cc:
test/latency: fix loop boundary
Caught running ASAN.
lat_stats_strings[] is an array containing NUM_STATS strings.
Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Reshma Pattan <[email protected]>
show more ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1, v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3 |
|
| #
d3f7095b |
| 19-May-2020 |
Hemant Agrawal <[email protected]> |
test: cleanup when leaving bitrate and latency tests
Both bitratestats_autotest latency test initializes the metrics library. It should be cleaned during exit.
Signed-off-by: Hemant Agrawal <hemant
test: cleanup when leaving bitrate and latency tests
Both bitratestats_autotest latency test initializes the metrics library. It should be cleaned during exit.
Signed-off-by: Hemant Agrawal <[email protected]> Acked-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1 |
|
| #
d1705276 |
| 05-Sep-2019 |
Ferruh Yigit <[email protected]> |
test: fix global variable multiple definitions
Multiple global variable are defined in multiple unit test files with same name, but all unit test files are linked into single executable, which means
test: fix global variable multiple definitions
Multiple global variable are defined in multiple unit test files with same name, but all unit test files are linked into single executable, which means those variables share same storage which is not the intention, fixed by making global variables 'static'.
Issue has been detected by '-fno-common' gcc flag.
Fixes: fdeb30fa7102 ("test/bitrate: add unit tests for bitrate library") Fixes: c3eabff124e6 ("distributor: add unit tests") Fixes: 0e925aef2779 ("app/test: add EFD functional and perf tests") Fixes: 359e17bf081f ("app/test: improve hash unit tests") Fixes: c7eb0972e74b ("test/hash: add lock-free r/w concurrency") Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library") Fixes: 0cc67a96e486 ("test/member: add functional and perf tests") Fixes: e6a14121f4ae ("test/rcu: remove arbitrary limit on max core count") Fixes: 104dbec2081a ("test/rcu: increase size of core numbers") Cc: [email protected]
Signed-off-by: Ferruh Yigit <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
1ec35c80 |
| 15-Jun-2019 |
David Marchand <[email protected]> |
test/latency: fix stack smashing
Caught in one Travis run: + ------------------------------------------------------- + + Test Suite : Latency Stats Unit Test Suite + -----------------------------
test/latency: fix stack smashing
Caught in one Travis run: + ------------------------------------------------------- + + Test Suite : Latency Stats Unit Test Suite + ------------------------------------------------------- + + TestCase [ 0] : test_latency_init succeeded + TestCase [ 1] : test_latency_update succeeded [snip] + TestCase [1601724781] : test_latencystats_get_names succeeded [snip] + Tests Failed : 1601790830
htonl(1601724781) -> "m", "a", "x", "_" htonl(1601790830) -> "n", "c", "y", "_"
Looks like someone went too far.
The test passes a bigger size than the array it passes along.
Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library") Cc: [email protected]
Signed-off-by: David Marchand <[email protected]> Acked-by: Aaron Conole <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1 |
|
| #
a9de470c |
| 26-Feb-2019 |
Bruce Richardson <[email protected]> |
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we ca
test: move to app directory
Since all other apps have been moved to the "app" folder, the autotest app remains alone in the test folder. Rather than having an entire top-level folder for this, we can move it back to where it all started in early versions of DPDK - the "app/" folder.
This move has a couple of advantages: * This reduces clutter at the top level of the project, due to one less folder. * It eliminates the separate build task necessary for building the autotests using make "make test-build" which means that developers are less likely to miss something in their own compilation tests * It re-aligns the final location of the test binary in the app folder when building with make with it's location in the source tree.
For meson builds, the autotest app is different from the other apps in that it needs a series of different test cases defined for it for use by "meson test". Therefore, it does not get built as part of the main loop in the app folder, but gets built separately at the end.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|