[LU-8110] Seperated MGS/MDS: conf-sanity test_32a: MGS doesn't stop before test starts Created: 05/May/16  Updated: 26/Aug/19  Resolved: 26/Aug/19

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: WC Triage
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Related
is related to LU-11991 conf-sanity test_32xx fails for separ... Open
is related to LU-10717 several conf-sanity tests failed: FAI... Resolved
is related to LU-8688 All Lustre test suites should run/PAS... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

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/4fe49bb2-078e-11e6-b5f1-5254006e85c2.

The sub-test test_32a failed with the following error:

test_32a failed with 5

It looks like the cleanup() in conf-sanity.sh doesn't consider the separated MGS/MDS case and doesn't stop mgs

cleanup_nocli() {
        stop_ost || return 202
        stop_mds || return 201
        unload_modules_conf || return 203
}

cleanup() {
        umount_client $MOUNT || return 200
        cleanup_nocli || return $?
}

MGS console

01:38:43:LDISKFS-fs (loop0): mounted filesystem with ordered data mode. quota=off. Opts: 
01:38:43:LustreError: 15d-9: The MGS service was already started from server
01:38:43:LustreError: 19072:0:(obd_mount_server.c:1512:server_put_super()) no obd t32fs-MDT0000
01:38:43:LustreError: 19072:0:(obd_mount_server.c:140:server_deregister_mount()) t32fs-MDT0000 not registered
01:38:43:LustreError: 19072:0:(obd_mount.c:1426:lustre_fill_super()) Unable to mount  (-114)
01:38:43:Lustre: DEBUG MARKER: losetup -a
01:38:43:Lustre: DEBUG MARKER: /usr/sbin/lctl mark  conf-sanity test_32a: @@@@@@ FAIL: Mounting the MDT 
01:38:43:Lustre: DEBUG MARKER: conf-sanity test_32a: @@@@@@ FAIL: Mounting the MDT


 Comments   
Comment by James Nunez (Inactive) [ 16/Aug/17 ]

conf-sanity test 102 suffers from this same problem; the test calls clean up, but the MGS is not stopped.

Logs at:
https://testing.hpdd.intel.com/test_sets/b391f940-81f7-11e7-9785-5254006e85c2

Comment by Andreas Dilger [ 26/Aug/19 ]

The sanity test_102 exception has been fixed by patch https://review.whamcloud.com/33589 "LU-10717 tests: tests should not start mgs".

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