Open jiewu9823 opened 5 months ago
查看失败用例
测试套 | 失败测试用例 |
---|---|
iperf3 | oe_test_iperf3_command_client |
iperf3 | oe_test_iperf3_command_clientAndShared |
iperf3 | oe_test_iperf3_command_serverAndBase |
查看环境配置要求 可见需要2台机器进行测试 mugen配置
r64:
bash mugen.sh -c --ip 192.168.1.17 --password 5959 --user root --port 22
bash mugen.sh -c --ip 192.168.1.20 --password 5959 --user root --port 22
x86:
bash mugen.sh -c --ip 192.168.1.18 --password 5959 --user root --port 22
bash mugen.sh -c --ip 192.168.1.20 --password 5959 --user root --port 22
测试
bash mugen.sh -f iperf3 -x
bash mugen.sh -f iperf3 -r oe_test_iperf3_command_client -x
bash mugen.sh -f iperf3 -r oe_test_iperf3_command_clientAndShared -x
bash mugen.sh -f iperf3 -r oe_test_iperf3_command_serverAndBase -x
r64下测试失败
log信息
x86下测试失败
log信息
可见r64与x86下的错误原因一样,对应测试用例代码内容为
这是检查第一次测试(20240)的吞吐量是否大于第二次测试(102400)的吞吐量(第5列)。在expr命令中,如果比较为真,返回值为1;如果比较为假,返回值为0。预期结果为0, 现在 [ ... -eq 0 ]
返回 1,这意味着:expr
命令返回了 0, 因此两次比较的结果是前者(20240)大于后者(102400)。但是通常情况下,较大的窗口大小(102400)应该能够实现更高的吞吐量,这也与测试结果相吻合。因此可以判断,是第38行逻辑错误,应该把“>”改成“<”
修改后r64下测试通过
修改后x86下测试通过
r64下测试通过 x86下测试通过
r64下测试通过 x86下测试通过
需求:
要求:
该项任务要求产出:
完成该项任务后,请在 2403_mugen失败测试用例清单 里找到相应测试套和测试用例栏位,并填写riscv复测结果,Failure Reason,Owner(填写中文名),Gitee ID,Issue/PR(填写提交issue或者PR的url),x86 测试情况。Issue/PR这个栏位可能已经填有内容,是之前在23.09版本上其他实习生同学分析的结果,供参考
说明: