Failed when run test suit 2:
Sep 15 11:13:41.191010 osafntfd [476:mds_dt_trans.c:0608] >> mdtm_process_poll_recv_data_tcp
Sep 15 11:13:41.191034 osafntfd [476:mbcsv_mds.c:0244] << mbcsv_mds_send_msg: success
Sep 15 11:13:41.191038 osafntfd [476:mbcsv_util.c:0492] << mbcsv_send_ckpt_data_to_all_peers
Sep 15 11:13:41.191041 osafntfd [476:mbcsv_api.c:0868] << mbcsv_process_snd_ckpt_request: retval: 1
Sep 15 11:13:41.191044 osafntfd [476:ntfs_mbcsv.c:1365] << ntfs_send_async_update
Sep 15 11:13:41.191047 osafntfd [476:ntfs_com.c:0093] << client_removed_res_lib
Sep 15 11:13:41.191049 osafntfd [476:ntfs_evt.c:0304] << proc_finalize_msg
Sep 15 11:13:41.191055 osafntfd [476:ntfs_evt.c:0357] >> proc_unsubscribe_msg: client_id 8, subscriptionId 111
Sep 15 11:13:41.191140 osafntfd [476:NtfAdmin.cc:0520] ER NtfAdmin::subscriptionRemoved client 8 not found
Sep 15 11:13:41.191146 osafntfd [476:ntfs_evt.c:0369] << proc_unsubscribe_msg
The issue here is when test case 4 of test suit2 is executed, the unsubcribe and Finalize is runing in parallel. Ntfd receive API request from Finalize before unsubcribe, so client and all of relating to its will be removed before ntfd process request from ubsubcribe.
The error is printed out in this case. And unsubcribe action is failed. But in the test case the return code is re-assigned to ok for test case passed.
Similiar ticket: https://sourceforge.net/p/opensaf/tickets/1818/
Diff:
Diff:
Diff:
Diff:
Diff:
Diff:
Diff:
Diff:
changeset: 8161:29d4c2663f21
parent: 8156:1682135e7ba9
user: Canh Van Truong canh.v.truong@dektech.com.au
date: Thu Sep 29 10:52:12 2016 +0530
summary: ntfs: convert LOG_ER to LOG_WA [#1895]
changeset: 8160:b54026b7ee72
branch: opensaf-5.1.x
parent: 8157:1b00775bd22b
user: Canh Van Truong canh.v.truong@dektech.com.au
date: Thu Sep 29 10:51:45 2016 +0530
summary: ntfs: convert LOG_ER to LOG_WA [#1895]
changeset: 8159:abe3b25790a7
branch: opensaf-5.0.x
user: Canh Van Truong canh.v.truong@dektech.com.au
date: Thu Sep 29 10:51:12 2016 +0530
summary: ntfs: convert LOG_ER to LOG_WA [#1895]
Related
Tickets:
#1895