New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shell/net/tst_rhost_run.sh test is broken #991
Comments
Thanks for your report. Faster reproducer:
And in 0862350, when
It looks like it never worked - broken even in 0862350 when it was added:
I need to ahve look what's wrong. |
@pevik Can the next version fix this bug? |
I also try to use following command reproduce The error msg "RTNETLINK answers: File exists" popup after execute command "ip link add name ltp_ns_veth1 type veth peer name ltp_ns_veth2 ", it seems caused by add duplicate interface such as ltp_ns_veth2@ltp_ns_veth1 again. Rerun case after remove duplicate interface by command "ip link delete ltp_ns_veth2" will fix this error. So maybe we can check exist of specific ip interface before execute "ip link add xx" command or we need do correct clean up action correctly for test case? But i encounter another PATH issue, seem PATH not include ns_create command. |
That's definitely a problem for the test, although there might be something else. Adding |
Actually, maybe add checking the dependencies to UPDATE: I mean to check commands with |
Will check it. |
#1006 for quick fix. |
@Tom-python0121 for faild case tst_rhost_run.sh in your scenario, could you help check env before run this case? Such as use following command "ip link" check whether already exist ltp_ns_vethx, if yes remove this interface(ip link delete ltp_ns_vethx) and run case again. For example following content show ltp_ns_veth2 exist. |
@Tom-python0121 for failed case tst_check_driver.sh, the msg "nls-iso8859-5tst_check_driver 1 TFAIL: tst_check_drivers nls-iso8859-5 failed unexpectedly" means key string "nls-iso8859-5.ko" not exist in modules.dep or modules.builtin, so maybe not a test case issue. Could you help check this? BTW: |
@coolgw According to your test method, there has been a change, the test passed, thank you for your help. |
Test Method: |
What a powerful machine :). NOTE: if your machine has just few CPU (e.g. 8), running make with high number will make things actually slower.
Well, LTP deserves a fix instead of this workaround :). |
FYI: related commit (not a fix): ffd6a69 Also other related patch (not a fix): https://patchwork.ozlabs.org/project/ltp/patch/20230111195231.23596-1-wegao@suse.com/ |
More strict check for ns_xxx etc will help avoid following issue: linux-test-project#991 Suggested-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Wei Gao <wegao@suse.com> [ removed checks in tst_rhost_run() - need to be fixed differently, check for more tools ] Signed-off-by: Petr Vorel <pvorel@suse.cz>
More strict check for ns_xxx etc will help avoid following issue: linux-test-project#991 Suggested-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Wei Gao <wegao@suse.com> [ removed checks in tst_rhost_run() - need to be fixed differently, check for more tools ] Signed-off-by: Petr Vorel <pvorel@suse.cz>
More strict check for ns_xxx etc will help avoid following issue: linux-test-project#991 Suggested-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Wei Gao <wegao@suse.com> [ removed checks in tst_rhost_run() - need to be fixed differently, check for more tools ] Signed-off-by: Petr Vorel <pvorel@suse.cz>
Patches which should address missing tools in PATH (or not being built): |
hello, I meet a problem:make test failed about testing ltp@master on debian_aarch64.
Steps to reproduce the issue
Can you help me look at it?
The text was updated successfully, but these errors were encountered: