Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.5.0
-
single node, 4-node
-
3
-
9223372036854775807
Description
The test 160b and 160c of sanity does not deregister the changelog users that they have registered so if tests which run "changelog_register" fails before "changelog_deregister $USER", then "changelog_deregister $USER" never gets executed and all changes (such as file creation, deletion, etc.) are still recorded. This can be the reason why tests stdouts are huge, they contain "lfs changelog lustre-MDT0000" results.
Example :
test_160b () {
...
USER=$(do_facet $SINGLEMDS $LCTL --device $MDT0 changelog_register -n)
...
touch $LONGNAME1 || error "create of $LONGNAME1 failed"
...
echo "deregistering $USER"
do_facet $SINGLEMDS $LCTL --device $MDT0 changelog_deregister $USER
...
}