[LU-7280] Interop b2_5_fe<->2.7.60 : sanityn test_78: Expected set_param to return 0|ENODEV|EAGAIN Created: 09/Oct/15 Updated: 13/Oct/21 Resolved: 13/Oct/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | WC Triage |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Server: 2.5.5, b2_5_fe/62 |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
This issue was created by maloo for Saurabh Tandan <saurabh.tandan@intel.com> This issue relates to the following test suite run: https://testing.hpdd.intel.com/test_sets/e0fea9b2-6b53-11e5-b85e-5254006e85c2. The sub-test test_78 failed with the following error: Expected set_param to return 0|ENODEV|EAGAIN onyx-41vm8: error: set_param: setting /proc/fs/lustre/ost/OSS/ost_io/nrs_orr_quantum=1: No such device ost.OSS.ost_io.nrs_orr_quantum=1 sanityn test_78: @@@@@@ FAIL: Expected set_param to return 0|ENODEV|EAGAIN |
| Comments |
| Comment by Vinayak (Inactive) [ 24/Nov/15 ] |
|
Error: ENODEV : No such device is handled in https://jira.hpdd.intel.com/browse/LU-7072 but $? is 1 in case of any failure. So $rc -eq 0 -o $rc -eq 19 -o $rc -eq 11 is becoming meaning less check. test_78() { #LU-6673
local rc
for i in $(seq 1 $OSTCOUNT)
do
do_facet ost"$i" lctl set_param \
ost.OSS.ost_io.nrs_policies="orr" &
do_facet ost"$i" lctl set_param \
ost.OSS.*.nrs_orr_quantum=1
rc=$?
echo "***************** RC = $rc ******* "
# Valid return codes are:
# 0: Tuning succeeded
# ENODEV: Policy is still stopped
# EAGAIN: Policy is being initialized
[ $rc -eq 0 -o $rc -eq 19 -o $rc -eq 11 ] ||
error "Expected set_param to return 0|ENODEV|EAGAIN"
done
....
|
| Comment by Vinayak (Inactive) [ 01/Dec/15 ] |
|
lctl set_param does not return proper error number (returns 0 in case of success of -1 in case of failure) because of which [ $rc -eq 0 -o $rc -eq 19 -o $rc -eq 11 ] ||
error "Expected set_param to return 0|ENODEV|EAGAIN"
fails in case of error. The solution for this issue is http://review.whamcloud.com/#/c/9545/ |
| Comment by Saurabh Tandan (Inactive) [ 19/Jan/16 ] |
|
Another instance found for interop : 2.5.5 Server/EL6.7 Client |
| Comment by Saurabh Tandan (Inactive) [ 10/Feb/16 ] |
|
Another instance found for interop tag 2.7.66 - 2.5.5 Server/EL7 Client, build# 3316 |