Never mind, I figured it out. Thanks for the inputs.

On Wed, Jun 27, 2012 at 11:11 AM, ravi kerur <rke...@gmail.com> wrote:
> Thanks Ethan. Core file generation is enabled. However, I do not see
> any core files under failed test directory i.e
> tests/testsuite.dir/0449. Is the generated core file available in that
> directory or some place else? or it could be that ovs-vswitchd didn't
> segfault at all?
>
> openvswitch# ulimit -a
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> scheduling priority             (-e) 0
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 62053
> max locked memory       (kbytes, -l) 64
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 1024
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> real-time priority              (-r) 0
> stack size              (kbytes, -s) 8192
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 62053
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
>
> Excerpts from testsuite.log file under failed test...
>
> /ofproto-dpif.at:345: cat ofctl_monitor.log
> ./ofproto-dpif.at:357: ovs-ofctl monitor br0 65534 -P nxm --detach
> --pidfile 2> ofctl_monitor.log
> success
> 2012-06-27T17:16:36Z|00001|jsonrpc|WARN|unix:/root/mpls_vlan_qinq_dev_1e/openvswitch/tests/testsuite.dir/0449/ovs-vswitchd.24497.ctl:
> receive error: Connection reset by peer
> 2012-06-27T17:16:36Z|00002|unixctl|WARN|error communicating with
> unix:/root/mpls_vlan_qinq_dev_1e/openvswitch/tests/testsuite.dir/0449/ovs-vswitchd.24497.ctl:
> Connection reset by peer
> ovs-appctl: ovs-vswitchd: transaction error (Connection reset by peer)
> ovs-appctl: cannot read pidfile
> "/root/mpls_vlan_qinq_dev_1e/openvswitch/tests/testsuite.dir/0449/ovs-vswitchd.pid"
> (No such process)
> ./ofproto-dpif.at:363: ovs_wait_cond () { ovs-appctl -t ovs-ofctl exit
> }
>
>
> On Tue, Jun 26, 2012 at 6:08 PM, Ethan Jackson <et...@nicira.com> wrote:
>> Make sure you've enabled core files
>>
>> ulimit -a
>> ulimit -c unlimited
>>
>> Ethan
>>
>> On Tue, Jun 26, 2012 at 5:49 PM, ravi kerur <rke...@gmail.com> wrote:
>>> Thanks Ben, I don't remember seeing core file under
>>> tests/testsuite.dir/0449 directory. I will double-check, if its
>>> available it will be definitely helpful.
>>>
>>> On Tue, Jun 26, 2012 at 5:10 PM, Ben Pfaff <b...@nicira.com> wrote:
>>>> On Tue, Jun 26, 2012 at 05:08:43PM -0700, ravi kerur wrote:
>>>>> The problem is that ovs-vswitchd crashes when eth_type = 0x8847/0x8848
>>>>> and happens only in the automation i.e "make check", or "make
>>>>> dist-check", since user-space code has been successfully tested
>>>>> manually and I couldn't find a way to run gdb during automation not
>>>>> sure how to debug this.
>>>>
>>>> I usually run GDB on the core file.
>>> _______________________________________________
>>> dev mailing list
>>> dev@openvswitch.org
>>> http://openvswitch.org/mailman/listinfo/dev
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to