[LU-10498] sanity-dom test_fsx: FAIL: test_fsx failed with 120 Created: 12/Jan/18  Updated: 14/Dec/19  Resolved: 14/Dec/19

Status: Closed
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.11.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Jian Yu Assignee: Mikhail Pershin
Resolution: Fixed Votes: 0
Labels: DoM2

Issue Links:
Duplicate
is duplicated by LU-12363 sanity-dom: test_fsx failed with 120 Closed
Related
is related to LU-3285 Data on MDT Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity-dom test fsx failed as follows:

== sanity-dom test fsx: Dual-mount fsx with DoM files ================================================ 19:52:36 (1515642756)
Chance of close/open is 1 in 50
Seed set to 2757
fd 0: /mnt/lustre/ffsx.sanity-dom
fd 1: /mnt/lustre2/ffsx.sanity-dom
truncating to largest ever: 0xd3ab8
000001[1] 1515642757.059659 trunc from 00000000  to  0x0d3ab7	(0xd3ab8 bytes)
       1515642757.062883 trunc done
000002[0] 1515642757.063966 trunc from 0x0d3ab8  to  0x1a6bda	(0xd3123 bytes)
       1515642757.067888 trunc done
000003[0] 1515642757.071013 write      0x03f41a thru 0x048669	(0x9250 bytes)
       1515642757.073927 write done
000004[0] 1515642757.074924 mapread    0x0634ca thru 0x06bc8d	(0x87c4 bytes)
       1515642757.075178 mmap done
       1515642757.100989 memcpy done
       1515642757.101030 munmap done
000005[1] 1515642757.103522 write      0x027f54 thru 0x03489f	(0xc94c bytes)
       1515642757.114705 write done
Size error: expected 0xd3123 stat 0xd3ab8 seek 0xd3ab8
LOG DUMP (5 total operations):
1[1]: 1515642757.059659 TRUNCATE UP	from 0x0 to 0xd3ab8
2[0]: 1515642757.063966 TRUNCATE DOWN	from 0xd3ab8 to 0xd3123
3[0]: 1515642757.071013 WRITE    0x3f41a thru 0x48669 (0x9250 bytes)
4[0]: 1515642757.074924 MAPREAD  0x634ca thru 0x6bc8d (0x87c4 bytes)
5[1]: 1515642757.103522 WRITE    0x27f54 thru 0x3489f (0xc94c bytes)
Correct content saved for comparison
(maybe hexdump "/mnt/lustre/ffsx.sanity-dom" vs "/mnt/lustre/ffsx.sanity-dom.fsxgood")
 sanity-dom test_fsx: @@@@@@ FAIL: test_fsx failed with 120 

Maloo report:
https://testing.hpdd.intel.com/test_sets/cd65ddae-f714-11e7-a10a-52540065bddc



 Comments   
Comment by Andreas Dilger [ 31/May/19 ]

Looks like truncate is being missed:

Size error: expected 0xd3123 stat 0xd3ab8 seek 0xd3ab8
LOG DUMP (5 total operations):
1[1]: 1515642757.059659 TRUNCATE UP	from 0x0 to 0xd3ab8
2[0]: 1515642757.063966 TRUNCATE DOWN	from 0xd3ab8 to 0xd3123
Comment by Mikhail Pershin [ 14/Dec/19 ]

outdated, this is not an issue already

Generated at Sat Feb 10 02:35:38 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.