Lustre Sanity 56xc bugfix

Description

== sanity test 56xc: lfs migration autostripe ============ 03:36:47 (1658201807)
striped dir -i0 -c2 -H all_char /mnt/lustre/d56xc.sanity
Setting initial stripe for 20MB test file...done
Sizing 20MB test file...done
Verifying small file autostripe count is 1.../mnt/lustre/d56xc.sanity/20mb: cannot auto calculate stripe count
sanity test_56xc: @@@@@@ FAIL: cannot migrate 20MB file Trace dump:
= /root/test/build-06244k/lustre/lustre/tests/test-framework.sh:6406:error()
= /root/test/build-06244k/lustre/lustre/tests/sanity.sh:7602:test_56xc()
= /root/test/build-06244k/lustre/lustre/tests/test-framework.sh:6723:run_one()
= /root/test/build-06244k/lustre/lustre/tests/test-framework.sh:6770:run_one_logged()
= /root/test/build-06244k/lustre/lustre/tests/test-framework.sh:6596:run_test()
= /root/test/build-06244k/lustre/lustre/tests/sanity.sh:7658:main()
Dumping lctl log to /tmp/test_logs/2022-07-19/033021/sanity.test_56xc.*.1658201809.log
FAIL 56xc (4s)

Activity

Kevin Zhao 
July 19, 2022 at 12:43 PM
(edited)

stripe_count=$(bc <<< "scale=0; 1 + sqrt($filegb)" 2> /dev/null) || { echo "cannot auto calculate stripe count" >&2; return; }

No bc command find in the test environment. Install it and retry, PASS

Done

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged1w remaining

Sprint

Priority

Checklist

Sentry

Created July 19, 2022 at 3:45 AM
Updated May 31, 2023 at 5:18 PM
Resolved July 19, 2022 at 12:58 PM

Flag notifications