---
** [tickets:#2360] mdstest 14 4 failed**
**Status:** unassigned
**Milestone:** 5.2.RC1
**Created:** Fri Mar 10, 2017 02:31 AM UTC by Quyen Dao
**Last Updated:** Fri Mar 10, 2017 02:31 AM UTC
**Owner:** nobody
changset: 8521:05a15c96f745
mdstest 14 4 failed and coredump was also generated.
**mdstest output**
(Suite 14): Direct send a message with i_msg_fmt_ver < i_rem_svc_pvt_ver for
all send types
Command: 'mdstest 14 4'
rc: 139 - output:
Suite 14: Direct Send All test cases
/ntet_initialise_setup: Get an ADEST handle,Create PWE=2 on ADEST,Install
EXTMIN and INTMIN svc on ADEST,Install INTMIN,EXTMIN services on ADEST's PWE=2,
Create VDEST 100 and VDEST 200,Change the role of VDEST 200 to ACTIVE,
Install EXTMIN service on VDEST 100,Install INTMIN, EXTMIN services on VDEST 200
ADEST <2010f00000578 > : GET_HDLS is SUCCESSFUL
100 : VDEST_CREATE is SUCCESSFUL
200 : VDEST_CREATE is SUCCESSFUL
VDEST_CHANGE ROLE to 1 is SUCCESSFULL
PWE_CREATE is SUCCESSFUL : PWE = 2
256 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
256 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
256 : SERVICE INSTALL is SUCCESSFULL
512 : SERVICE INSTALL is SUCCESSFULL
MDS SERVICE SUBSCRIBE is SUCCESSFULL
MDS RETRIEVE is SUCCESSFULL
Test Case 4: Direct send a message with i_msg_fmt_ver < i_rem_svc_pvt_ver for
all send types
Direct sending the message
Request to ncsmds_api: MDS DIRECT SEND is SUCCESSFULL
Success
Direct send with ack
Request to ncsmds_api: MDS DIRECT SEND is SUCCESSFULL
Success
Direct send with rsp
Task has been Created
Inside Receiver Thread
Direct Receive callback
The Sender service is = 512 is on <2010f00000578> destination with anchor =
<2010f00000578> on Node = 2010f with msg fmt ver=2
The Receiver service is = 512 is on <2010f00000578> destination
Received Message len = 15 and the message is=Direct Message
Direct Receive callback
The Sender service is = 512 is on <2010f00000578> destination with anchor =
<2010f00000578> on Node = 2010f with msg fmt ver=2
The Receiver service is = 512 is on <2010f00000578> destination
Received Message len = 15 and the message is=Direct Message
MDS RETRIEVE is SUCCESSFULL
**Full stacktrace**
2017-02-28 00:19:46,582 INFO - Printing stack trace of
core.1488237250.mdstest.1400.SC-1 which occurs on 2017-02-28 00:14:10 - OpenSAF
5.2.M0 - 8521:05a15c96f745:default
2017-02-28 00:19:46,617 DEBUG - exec cmd 'ls /usr/local/lib/opensaf/mdstest' on
SC-1
2017-02-28 00:19:46,617 DEBUG - SC-1: command: timeout 180 ssh
-oStrictHostKeyChecking=no -oLogLevel=quiet -l root 10.0.3.101 'ls
/usr/local/lib/opensaf/mdstest'
2017-02-28 00:19:46,721 DEBUG - SC-1: output: ls: cannot access
/usr/local/lib/opensaf/mdstest: No such file or directory
2017-02-28 00:19:46,722 DEBUG - exec cmd 'ls /usr/local/bin/mdstest' on SC-1
2017-02-28 00:19:46,722 DEBUG - SC-1: command: timeout 180 ssh
-oStrictHostKeyChecking=no -oLogLevel=quiet -l root 10.0.3.101 'ls
/usr/local/bin/mdstest'
2017-02-28 00:19:46,813 DEBUG - SC-1: output: /usr/local/bin/mdstest
2017-02-28 00:19:47,324 INFO - Stack trace of core.1488237250.mdstest.1400.SC-1
[New LWP 1400]
[New LWP 1403]
[New LWP 1402]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `mdstest 14 4'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __GI___libc_free (mem=0x2) at malloc.c:2929
Thread 3 (Thread 0x7f09902dcb00 (LWP 1402)):
#0 0x00007f098f89cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007f098fdf342f in osaf_poll_no_timeout (io_fds=0x7f09902dc290, i_nfds=1)
at src/base/osaf_poll.c:32
result = 32521
#2 0x00007f098fdf35dc in osaf_ppoll (io_fds=0x7f09902dc290, i_nfds=1,
i_timeout_ts=0x0, i_sigmask=0x0) at src/base/osaf_poll.c:79
millisecond_round_up = {tv_sec = 0, tv_nsec = 999999}
max_possible_timeout = {tv_sec = 2147483, tv_nsec = 647000000}
start_time = {tv_sec = 17179869186, tv_nsec = 139679050353408}
time_left_ts = {tv_sec = 1, tv_nsec = 1}
result = -1881212185
#3 0x00007f098fe03e72 in ncs_tmr_wait () at src/base/sysf_tmr.c:406
rc = 1
inds_rmvd = 1
next_delay = 0
tv = {tv_sec = 16777215, tv_usec = 0}
ts_current = {tv_sec = 1690320, tv_nsec = 555370206}
ts = {tv_sec = 16777215, tv_nsec = 0}
set = {fd = 4, events = 1, revents = 0}
#4 0x00007f098fb7d184 in start_thread (arg=0x7f09902dcb00) at
pthread_create.c:312
__res = <optimized out>
pd = 0x7f09902dcb00
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139679050353408,
3247344970407365903, 1, 1, 139679050354112, 139679050353408,
-3241532557782135537, -3241469800302359281}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#5 0x00007f098f8aa37d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
Thread 2 (Thread 0x7f09902bcb00 (LWP 1403)):
#0 0x00007f098f89cfdd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007f098fe4c9c6 in mdtm_process_recv_events_tcp () at
src/mds/mds_dt_trans.c:791
pollres = 1
#2 0x00007f098fb7d184 in start_thread (arg=0x7f09902bcb00) at
pthread_create.c:312
__res = <optimized out>
pd = 0x7f09902bcb00
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139679050222336,
3247344970407365903, 1, 1, 139679050223040, 139679050222336,
-3241532506242527985, -3241469800302359281}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#3 0x00007f098f8aa37d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
Thread 1 (Thread 0x7f09902df780 (LWP 1400)):
#0 __GI___libc_free (mem=0x2) at malloc.c:2929
ar_ptr = <optimized out>
p = <optimized out>
hook = 0x0
#1 0x00007f098fe59b36 in mds_free_direct_buff (buff=0x2 <error: Cannot access
memory at address 0x2>) at src/mds/mds_papi.c:359
No locals.
#2 0x00007f098fe3044e in mds_mcm_direct_send (info=0x5639597baea0
<svc_to_mds_info>) at src/mds/mds_c_sndrcv.c:638
req = {i_msg = 0x0, i_to_svc = 512, i_priority = 0, i_sendtype =
MDS_SENDTYPE_SNDRSP, info = {snd = {i_to_dest = 0}, sndrsp = {i_to_dest = 0,
i_time_to_wait = 0, o_rsp = 0x0, buff = 0x0, len = 0, o_msg_fmt_ver = 0},
sndrack = {i_sender_dest = 0, i_time_to_wait = 0, i_msg_ctxt = {length = 0
'\000', data = '\000' <repeats 11 times>}}, sndack = {i_to_dest = 0,
i_time_to_wait = 0}, rsp = {i_sender_dest = 0, i_msg_ctxt = {length = 0 '\000',
data = '\000' <repeats 11 times>}}, red = {i_to_vdest = 0, i_to_anc = 0},
redrsp = {i_to_vdest = 0, i_to_anc = 0, i_time_to_wait = 0, o_rsp = 0x0, buff =
0x0, len = 0, o_msg_fmt_ver = 0}, redrack = {i_to_vdest = 0, i_to_anc = 0,
i_time_to_wait = 0, i_msg_ctxt = {length = 0 '\000', data = '\000' <repeats 11
times>}}, redack = {i_to_vdest = 0, i_to_anc = 0, i_time_to_wait = 0}, rrsp =
{i_to_dest = 0, i_to_anc = 0, i_msg_ctxt = {length = 0 '\000', data = '\000'
<repeats 11 times>}}, bcast = {i_bcast_scope = 0}, rbcast = {i_bcast_scope =
0}}}
status = 401
#3 0x00007f098fe2f6e8 in mds_send (info=0x5639597baea0 <svc_to_mds_info>) at
src/mds/mds_c_sndrcv.c:394
snd_type_major = 7
#4 0x00007f098fe594d7 in ncsmds_api (svc_to_mds_info=0x5639597baea0
<svc_to_mds_info>) at src/mds/mds_papi.c:191
status = 1
#5 0x00005639592984a0 in mds_direct_send_message (mds_hdl=131071, svc_id=512,
to_svc=512, msg_fmt_ver=2, sendtype=MDS_SENDTYPE_SNDRSP, to_dest=200,
time_to_wait=0, priority=MDS_SEND_PRIORITY_LOW, message=0x7ffc8a86acc0 "Direct
Message") at src/mds/apitest/mdstipc_conf.c:1312
rs = 32521
direct_buff_len = 15
rsp = 0x7f098f81de92 <__GI__IO_fflush+114> "1҅\300\017\225\302\367\332\367\003"
rsp_len = 0
#6 0x0000563959282ac9 in tet_direct_send_all_tp_4 () at
src/mds/apitest/mdstipc_api.c:9579
FAIL = 0
svcids = {512}
message = "Direct Message"
#7 0x000056395929d763 in run_test_case (suite=14, tcase=4) at
src/osaf/apitest/utest.c:175
No locals.
#8 0x000056395929db5d in test_run (suite=14, tcase=4) at
src/osaf/apitest/utest.c:231
i = 1495663682
j = 22073
#9 0x00005639592606a5 in main (argc=3, argv=0x7ffc8a86ae58) at
src/mds/apitest/mdstest.c:98
suite = 14
tcase = 4
rc = 0
2929 malloc.c: No such file or directory.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets