[LU-10591] Interop 2.10.2 <-> 2.11 sanity test_160f: User cl6 still found in changelog_users Created: 31/Jan/18  Updated: 02/May/19  Resolved: 09/Apr/18

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Saurabh Tandan (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-9624 enable sanity.sh test_160a failures f... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

sanity test_160f - User cl6 still found in changelog_users
^^^^^^^^^^^^^ DO NOT REMOVE LINE ABOVE ^^^^^^^^^^^^^

This issue was created by maloo for sarah_lw <wei3.liu@intel.com>

This issue relates to the following test suite run:
https://testing.hpdd.intel.com/test_sets/f7f842a0-fd40-11e7-a7cd-52540065bddc

test_160f failed with the following error:

User cl6 still found in changelog_users
== sanity test 160f: changelog garbage collect (timestamped users) =================================== 17:49:13 (1516297753)
CMD: onyx-30vm12 params=\$(/usr/sbin/lctl get_param mdd.lustre-MDT0000.changelog_max_idle_time);
			 [[ -z \"lustre-MDT0000\" ]] && param= ||
			 param=\$(grep lustre-MDT0000 <<< \"\$params\");
			 [[ -z \$param ]] && param=\"\$params\";
			 while read s; do echo mds1 \$s;
			 done <<< \"\$param\"
onyx-30vm12: error: get_param: param_path 'mdd/lustre-MDT0000/changelog_max_idle_time': No such file or directory
CMD: onyx-30vm12 params=\$(/usr/sbin/lctl get_param mdd.lustre-MDT0000.changelog_min_gc_interval);
			 [[ -z \"lustre-MDT0000\" ]] && param= ||
			 param=\$(grep lustre-MDT0000 <<< \"\$params\");
			 [[ -z \$param ]] && param=\"\$params\";
			 while read s; do echo mds1 \$s;
			 done <<< \"\$param\"
onyx-30vm12: error: get_param: param_path 'mdd/lustre-MDT0000/changelog_min_gc_interval': No such file or directory
CMD: onyx-30vm12 params=\$(/usr/sbin/lctl get_param mdd.lustre-MDT0000.changelog_min_free_cat_entries);
			 [[ -z \"lustre-MDT0000\" ]] && param= ||
			 param=\$(grep lustre-MDT0000 <<< \"\$params\");
			 [[ -z \$param ]] && param=\"\$params\";
			 while read s; do echo mds1 \$s;
			 done <<< \"\$param\"
onyx-30vm12: error: get_param: param_path 'mdd/lustre-MDT0000/changelog_min_free_cat_entries': No such file or directory
CMD: onyx-30vm12 /usr/sbin/lctl --device lustre-MDT0000 changelog_register -n
Registered as changelog user cl5
CMD: onyx-30vm12 /usr/sbin/lctl --device lustre-MDT0000 changelog_register -n
Registered as changelog user cl6
CMD: onyx-30vm12 /usr/sbin/lctl get_param -n mdd.lustre-MDT0000.changelog_users
CMD: onyx-30vm12 /usr/sbin/lctl get_param -n mdd.lustre-MDT0000.changelog_users
CMD: onyx-30vm12 /usr/sbin/lctl set_param mdd.lustre-MDT0000.changelog_max_idle_time=10
onyx-30vm12: error: set_param: param_path 'mdd/lustre-MDT0000/changelog_max_idle_time': No such file or directory
CMD: onyx-30vm12 /usr/sbin/lctl set_param mdd.lustre-MDT0000.changelog_min_gc_interval=2
onyx-30vm12: error: set_param: param_path 'mdd/lustre-MDT0000/changelog_min_gc_interval': No such file or directory
CMD: onyx-30vm12 /usr/sbin/lctl set_param mdd.lustre-MDT0000.changelog_min_free_cat_entries=3
onyx-30vm12: error: set_param: param_path 'mdd/lustre-MDT0000/changelog_min_free_cat_entries': No such file or directory
CMD: onyx-30vm12 /usr/sbin/lctl set_param fail_loc=0x1313
fail_loc=0x1313
CMD: onyx-30vm12 /usr/sbin/lctl set_param fail_val=3
fail_val=3
CMD: onyx-30vm12 /usr/sbin/lctl get_param -n mdd.lustre-MDT0000.changelog_users
CMD: onyx-30vm12 /usr/sbin/lctl get_param -n mdd.lustre-MDT0000.changelog_users
verifying user clear: 26 == 26
CMD: onyx-30vm12 ps -e -o comm= | grep chlg_gc_thread
CMD: onyx-30vm12 ps -e -o comm= | grep chlg_gc_thread
CMD: onyx-30vm12 /usr/sbin/lctl get_param -n mdd.lustre-MDT0000.changelog_users
CMD: onyx-30vm12 /usr/sbin/lctl get_param -n mdd.lustre-MDT0000.changelog_users
 sanity test_160f: @@@@@@ FAIL: User cl6 still found in changelog_users 


 Comments   
Comment by Andreas Dilger [ 02/Feb/18 ]

I'm changing this test in my patch for LU-9624, so it would be better to let that patch land (should be soon) before changing it, or base a fix on that patch.

Comment by James Nunez (Inactive) [ 06/Feb/18 ]

Saurabh - Would you please look into this issue? We probably need a version check for this test.

Thanks,
James

Comment by Gerrit Updater [ 26/Feb/18 ]

Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/31412
Subject: LU-10591 tests: skip sanity 160f for old server
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 405a4b2b9a6280d86c3565bf0fcae3d92a4c2dac

Comment by Elena Gryaznova [ 12/Mar/18 ]

the fix is included into patch for LU-10596

Comment by James Nunez (Inactive) [ 14/Mar/18 ]

Thank you Elena.

Comment by James Nunez (Inactive) [ 09/Apr/18 ]

Tests are now skipped with patch https://review.whamcloud.com/#/c/31121/

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