[LU-11965] interop: sanity test 311 fails with 'create_count is zero' Created: 12/Feb/19 Updated: 04/Apr/19 Resolved: 19/Feb/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0 |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | James Nunez (Inactive) | Assignee: | James Nunez (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | interop | ||
| Environment: |
2.10.6 servers with master (>= 2.12.50) clients and 2.12.0 servers with master clients |
||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
sanity test_311 is failing with the error 'create_count is zero' in interop testing. Test 311 was recently modified by a patch for
unlinkmany $DIR/$tdir/$tfile. 1000
- for idx in $(seq $MDSCOUNT); do
- do_facet mds$idx "lctl set_param -n \
- osp.*OST0000*MDT000?.max_create_count=$max_count"
- do_facet mds$idx "lctl set_param -n \
- osp.*OST0000*MDT000?.create_count=$count"
- done
+ do_nodes $mdts "$LCTL set_param -n \
+ osp.*OST0000*.max_create_count=$max_count"
+ [ $(lustre_version_code $facet) -lt $(version_code 2.11.56) ] &&
+ do_nodes $mdts "$LCTL set_param -n \
+ osp.*OST0000*.create_count=$count"
+ do_nodes $mdts "$LCTL get_param osp.*OST0000*.create_count" |
+ grep "=0" && error "create_count is zero"
local new_iused
for i in $(seq 120); do
There’s at least one issue with this patch; $facet is never defined for this test and, if test 311 is run alone, $facet is not defined. It looks like we are checking the server version of the client. We should be checking the Lustre version of mds1. This may not be the only issue with the test. This test is failing for 2.10.6 servers with master (>= 2.12.50) clients and 2.12.0 servers with master clients. Logs for these failures are at: |
| Comments |
| Comment by James Nunez (Inactive) [ 12/Feb/19 ] |
|
Sergey - Thank you |
| Comment by Andreas Dilger [ 12/Feb/19 ] |
|
It might just need the use of "$MDS1_VERSION" instead of "$(lustre_version_code $facet)". $MDS1_VERSION is new for test scripts since v2_12_50-84-g4eb4479b0e. |
| Comment by James Nunez (Inactive) [ 12/Feb/19 ] |
|
Since this patch landed to master, I think the version check should be against 2.12.50. |
| Comment by James Nunez (Inactive) [ 13/Feb/19 ] |
|
I've modified the patch for |
| Comment by Sergey Cheremencev [ 13/Feb/19 ] |
|
Hello James, |
| Comment by James Nunez (Inactive) [ 19/Feb/19 ] |
|
Patch to add version check landed to 2.13. |