[LU-3703] Failure on test suite sanity test_234: getfattr should have failed with ENOMEM Created: 05/Aug/13 Updated: 01/May/17 Resolved: 11/Feb/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.5.0 |
| Fix Version/s: | Lustre 2.6.0, Lustre 2.7.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Maloo | Assignee: | Bob Glossman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
server and client: lustre-master build #1592 |
||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9552 | ||||||||
| Description |
|
This issue was created by maloo for sarah <sarah@whamcloud.com> This issue relates to the following test suite run: http://maloo.whamcloud.com/test_sets/f1069794-fd68-11e2-9fdb-52540035b04c. The sub-test test_234 failed with the following error:
Info required for matching: sanity 234 |
| Comments |
| Comment by Oleg Drokin [ 08/Aug/13 ] |
|
Test output: setfattr: /mnt/lustre/d0.sanity/d234/f.sanity.234: Cannot allocate memory /mnt/lustre/d0.sanity/d234/f.sanity.234: user.attr: Cannot allocate memory sanity test_234: @@@@@@ FAIL: getfattr should have failed with ENOMEM Trace dump: So the enomem did happen. |
| Comment by Bob Glossman (Inactive) [ 09/Aug/13 ] |
|
setfattr is fine, it's getfattr that has the problem. The log reported by Oleg shows the setfattr command failing (as expected) but the getfattr command reporting error but then returning success. I can easily reproduce this failure on any SLES client. I'm almost sure this is due to version skew of the getfattr commend (attr rpm). The version is 2.4.43 in SLES11 SP2, 2.4.44 in RH/Centos 6.4. version 2.4.44 has the following fix: author Kamil Dudka <kdudka@redhat.com> 2010-12-22 13:13:27 (GMT) Without finding, downloading, and examining the exact source of the SLES11 SP2 attr rpm I can't 100% confirm that this fix is missing there, but it seems very likely. If this is so than this test can be expected to fail on any SLES11 SP2 client. |
| Comment by Bob Glossman (Inactive) [ 12/Aug/13 ] |
|
http://review.whamcloud.com/7306 skip the portion of the test that works incorrectly due to old getfattr version. |
| Comment by Andreas Dilger [ 12/Sep/13 ] |
|
Adding this to the list of things to check for 2.6.0, assuming that SLES fixes this problem for SLES11 SP3 or whatever. |
| Comment by Bob Glossman (Inactive) [ 12/Sep/13 ] |
|
Same getfattr version in SP3 as in SP2. SLES doesn't move to a fixed version until much later. |
| Comment by Peter Jones [ 17/Apr/14 ] |
|
Landed for 2.6 |
| Comment by Andreas Dilger [ 27/Jun/14 ] |
|
Fix up the check to skip getfattr based on the actual version instead of just checking for SLES, since this also fails on my FC13 based test system at home (attr-2.4.44-3.fc13.x86_64). |
| Comment by Andreas Dilger [ 01/Oct/14 ] |
|
The original patch skipped this test for all SLES systems. Reopen this bug until patch 10867 is landed that only skips the test for attr-2.4.44 so it will resume testing on newer SLES releases automatically. |
| Comment by Jodi Levi (Inactive) [ 11/Feb/15 ] |
|
Patch landed to Master. |