done # compr_level
done # compr_type
- (( failed_estimates <= total_estimates * failed_margin / 100 )) ||
- error "failed estimates > ${failed_margin}% of total estimates"
+ if (( failed_estimates > total_estimates * failed_margin / 100 )); then
+ local arch=$(uname -m)
+ # these should be fixed, but ignore so other patches can land.
+ # better to continue running tests on these systems than skip.
+ if [[ $arch == aarch64 || $arch == ppcle64 ]]; then
+ error_ignore EX-9125 "failed > $failed_margin% on $arch"
+ elif [[ -r /etc/SuSE-release || -r /etc/SUSE-brand ]]; then
+ error_ignore EX-9125 "failed > $failed_margin% on SLES"
+ else
+ error "failed > ${failed_margin}% of total estimates"
+ fi
+ fi
}
run_test 1008 "validate directory space usage reduction with compression"
-test_1008() {
- (( MDS1_VERSION >= $(version_code 2.14.0-ddn121) )) ||
- skip "Need MDS version at least 2.14.0-ddn121"
+test_1080() {
+ (( MDS1_VERSION >= $(version_code 2.14.0-ddn128) )) ||
+ skip "Need MDS version at least 2.14.0-ddn128"
test_mkdir -p $DIR/$tdir
local tf=$DIR/$tdir/$tfile
hexdump -C $tf2 | head
$LCTL set_param fail_loc=0x0
}
-run_test 1008 "Compression header error tolerance"
+run_test 1080 "Compression header error tolerance"
complete_test $SECONDS
check_and_cleanup_lustre