* [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests
@ 2024-02-29 14:38 Pedro Tammela
2024-03-01 12:24 ` Naresh Kamboju
2024-03-05 3:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 4+ messages in thread
From: Pedro Tammela @ 2024-02-29 14:38 UTC (permalink / raw)
To: netdev
Cc: jhs, xiyou.wangcong, jiri, shuah, pctammela, pabeni, kuba, victor,
linux-kselftest, linux-kernel, Linux Kernel Functional Testing,
Naresh Kamboju
Add the dependsOn test check for all the mirred blockcast tests.
It will prevent the issue reported by LKFT which happens when an older
iproute2 is used to run the current tdc.
Tests are skipped if the dependsOn check fails.
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
---
Cc: Naresh Kamboju <naresh.kamboju@linaro.org>
---
.../selftests/tc-testing/tc-tests/actions/mirred.json | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json
index 795cf1ce8af0..b73bd255ea36 100644
--- a/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json
+++ b/tools/testing/selftests/tc-testing/tc-tests/actions/mirred.json
@@ -657,6 +657,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
@@ -711,6 +712,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
@@ -765,6 +767,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
@@ -819,6 +822,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
@@ -873,6 +877,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
@@ -937,6 +942,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
@@ -995,6 +1001,7 @@
"actions",
"mirred"
],
+ "dependsOn": "$TC actions add action mirred help 2>&1 | grep -q blockid",
"plugins": {
"requires": "nsPlugin"
},
--
2.40.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests
2024-02-29 14:38 [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests Pedro Tammela
@ 2024-03-01 12:24 ` Naresh Kamboju
2024-03-01 12:32 ` Pedro Tammela
2024-03-05 3:40 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 4+ messages in thread
From: Naresh Kamboju @ 2024-03-01 12:24 UTC (permalink / raw)
To: Pedro Tammela
Cc: netdev, jhs, xiyou.wangcong, jiri, shuah, pabeni, kuba, victor,
linux-kselftest, linux-kernel, Linux Kernel Functional Testing
Hi Pedro,
On Thu, 29 Feb 2024 at 20:08, Pedro Tammela <pctammela@mojatatu.com> wrote:
>
> Add the dependsOn test check for all the mirred blockcast tests.
> It will prevent the issue reported by LKFT which happens when an older
> iproute2 is used to run the current tdc.
Thank you for the fix patch.
LKFT tests run on Debian rootfs, Please suggest the packages that are needed
for tc-testing.
>
> Tests are skipped if the dependsOn check fails.
- Naresh
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests
2024-03-01 12:24 ` Naresh Kamboju
@ 2024-03-01 12:32 ` Pedro Tammela
0 siblings, 0 replies; 4+ messages in thread
From: Pedro Tammela @ 2024-03-01 12:32 UTC (permalink / raw)
To: Naresh Kamboju
Cc: netdev, jhs, xiyou.wangcong, jiri, shuah, pabeni, kuba, victor,
linux-kselftest, linux-kernel, Linux Kernel Functional Testing
On 01/03/2024 09:24, Naresh Kamboju wrote:
> Hi Pedro,
>
> On Thu, 29 Feb 2024 at 20:08, Pedro Tammela <pctammela@mojatatu.com> wrote:
>>
>> Add the dependsOn test check for all the mirred blockcast tests.
>> It will prevent the issue reported by LKFT which happens when an older
>> iproute2 is used to run the current tdc.
>
> Thank you for the fix patch.
> LKFT tests run on Debian rootfs, Please suggest the packages that are needed
> for tc-testing.
I believe testing on net-next should also use (iproute2 + iproute2-next)[0].
For stable the same rule would apply linux-x.y uses the released
iproute2-x.y.
It's my understanding that some distros ship a slightly older iproute2.
So in order to match the versions you would need to compile it.
>
>>
>> Tests are skipped if the dependsOn check fails.
>
> - Naresh
[0]
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests
2024-02-29 14:38 [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests Pedro Tammela
2024-03-01 12:24 ` Naresh Kamboju
@ 2024-03-05 3:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-03-05 3:40 UTC (permalink / raw)
To: Pedro Tammela
Cc: netdev, jhs, xiyou.wangcong, jiri, shuah, pabeni, kuba, victor,
linux-kselftest, linux-kernel, lkft, naresh.kamboju
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 29 Feb 2024 11:38:25 -0300 you wrote:
> Add the dependsOn test check for all the mirred blockcast tests.
> It will prevent the issue reported by LKFT which happens when an older
> iproute2 is used to run the current tdc.
>
> Tests are skipped if the dependsOn check fails.
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
>
> [...]
Here is the summary with links:
- [net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests
https://git.kernel.org/netdev/net-next/c/dcfaf1f758ee
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-05 3:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 14:38 [PATCH net-next] selftests/tc-testing: require an up to date iproute2 for blockcast tests Pedro Tammela
2024-03-01 12:24 ` Naresh Kamboju
2024-03-01 12:32 ` Pedro Tammela
2024-03-05 3:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox