[dpdk-dev] [BUG] service_lcore_en_dis_able from service_autotest failing

David Marchand david.marchand at redhat.com
Wed Sep 4 12:04:29 CEST 2019


On Wed, Sep 4, 2019 at 11:42 AM Van Haaren, Harry
<harry.van.haaren at intel.com> wrote:
>
> > -----Original Message-----
> > From: Aaron Conole [mailto:aconole at redhat.com]
> > Sent: Tuesday, September 3, 2019 3:46 PM
> > To: Van Haaren, Harry <harry.van.haaren at intel.com>
> > Cc: dev at dpdk.org
> > Subject: [BUG] service_lcore_en_dis_able from service_autotest failing
> >
> > Hi Harry,
>
> Hey Aaron,
>
> > I noticed as part of series_6218
> > (http://patches.dpdk.org/project/dpdk/list/?series=6218) that the travis
> > build had a single failure, in service_autotest but it doesn't seem
> > related to the series at all.
> >
> >   https://travis-ci.com/ovsrobot/dpdk/jobs/230358460
> >
> > Not sure if there's some kind of debugging we can add or look at to help
> > diagnose failures when they occur.  Do you have time to have a look?
>
> Thanks for flagging this.
>
> I've just re-run the unit tests here multiple times to see if I can
> reproduce something strange, no luck on reproducing the issue.
>
> Attempted with clang-6 and clang-7 (travis error on clang-7),
> still no issues found.
>
> Building with Clang-7 and Shared libs (instead of default static)
> still no issues found.
>
> If somebody can reproduce please send an update to here and I'll
> attempt to replicate that setup. Right now I can't reproduce the issue.

You have to be patient, but I caught it on my laptop:

# time (log=/tmp/$$.log; while true; do echo service_autotest |taskset
-c 0-1 ./build-gcc-static/app/test/dpdk-test -l 0-1 >$log 2>&1; grep
-q 'Test OK' $log || break; done; cat $log; rm -f $log)
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:00:1f.6 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:15d7 net_e1000_em
APP: HPET is not enabled, using TSC as default timer
RTE>>service_autotest
 + ------------------------------------------------------- +
 + Test Suite : service core test suite
 + ------------------------------------------------------- +
 + TestCase [ 0] : unregister_all succeeded
 + TestCase [ 1] : service_name succeeded
 + TestCase [ 2] : service_get_by_name succeeded
Service dummy_service Summary
  dummy_service: stats 1    calls 0    cycles 0    avg: 0
Service dummy_service Summary
  dummy_service: stats 0    calls 0    cycles 0    avg: 0
 + TestCase [ 3] : service_dump succeeded
 + TestCase [ 4] : service_attr_get succeeded
 + TestCase [ 5] : service_lcore_attr_get succeeded
 + TestCase [ 6] : service_probe_capability succeeded
 + TestCase [ 7] : service_start_stop succeeded
 + TestCase [ 8] : service_lcore_add_del skipped
 + TestCase [ 9] : service_lcore_start_stop succeeded
 + TestCase [10] : service_lcore_en_dis_able failed
 + TestCase [11] : service_mt_unsafe_poll skipped
 + TestCase [12] : service_mt_safe_poll skipped
 + TestCase [13] : service_app_lcore_mt_safe succeeded
 + TestCase [14] : service_app_lcore_mt_unsafe succeeded
 + TestCase [15] : service_may_be_active succeeded
 + ------------------------------------------------------- +
 + Test Suite Summary
 + Tests Total :       16
 + Tests Skipped :      3
 + Tests Executed :    16
 + Tests Unsupported:   0
 + Tests Passed :      12
 + Tests Failed :       1
 + ------------------------------------------------------- +
Test Failed
RTE>>
real    18m45.959s
user    34m46.441s
sys    0m15.506s


-- 
David Marchand


More information about the dev mailing list