[LU-16788] sanity.sh should remove temporary big files to fit default OSTSIZE Created: 01/May/23  Updated: 09/Jun/23  Resolved: 09/Jun/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Alex Zhuravlev Assignee: Alex Zhuravlev
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

number of subtests in sanity forget to cleanup own temporary files and at some point sanity begins to fail due to lack of free space. like in this example:

mdd.lustre-MDT0000.changelog_mask=+hsm
mdd.lustre-MDT0001.changelog_mask=+hsm
Registered 2 changelog users: 'cl22-user1 cl2-user1'
open(/mnt/lustre/d160t.sanity/u1_1582) error: No space left on device
total: 1582 open/close in 4.34 seconds: 364.71 ops/second
 sanity test_160t: @@@@@@ FAIL: createmany for user1 failed 
  Trace dump:
  = ./../tests/test-framework.sh:6579:error()
  = sanity.sh:17869:test_160t()
  = ./../tests/test-framework.sh:6919:run_one()
  = ./../tests/test-framework.sh:6968:run_one_logged()
  = ./../tests/test-framework.sh:6805:run_test()
  = sanity.sh:17926:main()
Dumping lctl log to /tmp/ltest-logs/sanity.test_160t.*.1682938235.log

some of files are:

20M	/mnt/lustre/d56wa.sanity
4.1M	/mnt/lustre/d56xd.sanity
4.1M	/mnt/lustre/d56xe.sanity
4.1M	/mnt/lustre/d56xf.sanity
11M	/mnt/lustre/d56xj.sanity
2.0M	/mnt/lustre/f127a.sanity
2.0M	/mnt/lustre/f130b.sanity
1.0M	/mnt/lustre/f130c.sanity
33M	/mnt/lustre/f130e.sanity
3.6M	/mnt/lustre/f64e.sanity
1.6M	/mnt/lustre/f64f.sanity
10M	/mnt/lustre/f64h.sanity
72M	/mnt/lustre/f64i.sanity
4.0M	/mnt/lustre/f69.sanity.2


 Comments   
Comment by Gerrit Updater [ 01/May/23 ]

"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50819
Subject: LU-16788 tests: sanity should remove temp files
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 7f988a38273611f70dedb0c783be87809e9d3e8a

Comment by Gerrit Updater [ 09/Jun/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/50819/
Subject: LU-16788 tests: sanity should remove temp files
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 45189283109a097e929e1a3a1d10edfbf2aab643

Comment by Peter Jones [ 09/Jun/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:30:00 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.