Re: [dpdk-dev] Random failure in service_autotest

2020-07-21 Thread Honnappa Nagarahalli
> > > > > > > > > > > > > > If I understand the intent of the test case correctly, the > > > > sequence of the calls needs to be: > > > > rte_service_runstate_set(id, 0) > > > > rte_service_component_runstate_set(id, 0); > > > > rte_service_may_be_active - loop till the service is not active >

Re: [dpdk-dev] Random failure in service_autotest

2020-07-21 Thread Van Haaren, Harry
gt; ; nd > Subject: RE: [dpdk-dev] Random failure in service_autotest > > > > > > > > If I understand the intent of the test case correctly, the sequence of > > > the calls needs to be: > > > rte_service_runstate_set(id, 0) > > > rte_se

Re: [dpdk-dev] Random failure in service_autotest

2020-07-21 Thread Honnappa Nagarahalli
> > > Thanks Lukasz & Phil for v2 reviews & Acks. > > > > >> return 0; > > > > Changing the implementation loop counting is one option - but > > > > changing the implementation as a workaround for a unit test seems > > > > like the wrong > > > way around. > > > I agree. We should fix

Re: [dpdk-dev] Random failure in service_autotest

2020-07-21 Thread Lukasz Wojciechowski
W dniu 21.07.2020 o 10:07, David Marchand pisze: > On Tue, Jul 21, 2020 at 10:01 AM Van Haaren, Harry > wrote: > Honnappa's suggestion in the other reply seems to not work here, as the "service_may_be_active" > won't get updated if the service core is stopped after running its final

Re: [dpdk-dev] Random failure in service_autotest

2020-07-21 Thread David Marchand
On Tue, Jul 21, 2020 at 10:01 AM Van Haaren, Harry wrote: > > > > Honnappa's suggestion in the other reply seems to not work here, as the > > > "service_may_be_active" > > > > won't get updated if the service core is stopped after running its final > > > iteration..? > > This also is a problem. >

Re: [dpdk-dev] Random failure in service_autotest

2020-07-21 Thread Van Haaren, Harry
gt; ; nd > Subject: RE: [dpdk-dev] Random failure in service_autotest > > Thanks Lukasz & Phil for v2 reviews & Acks. > > >> return 0; > > > Changing the implementation loop counting is one option - but changing > > > the implementation as

Re: [dpdk-dev] Random failure in service_autotest

2020-07-20 Thread Honnappa Nagarahalli
> >>> Subject: Re: [dpdk-dev] Random failure in service_autotest > >>> > >>> Lukasz Wojciechowski writes: > >>> > >>>> W dniu 17.07.2020 o 17:19, David Marchand pisze: > >>>>> On Fri, Jul 17, 2020 at 10:56 AM Davi

Re: [dpdk-dev] Random failure in service_autotest

2020-07-20 Thread Lukasz Wojciechowski
; >> Honnappa Nagarahalli ; dev >> ; Yigit, Ferruh ; nd ; nd >> >> Subject: RE: [dpdk-dev] Random failure in service_autotest >> >>> -Original Message- >>> From: Aaron Conole >>> Sent: Saturday, July 18, 2020 6:39 AM >>> To: L

Re: [dpdk-dev] Random failure in service_autotest

2020-07-20 Thread Van Haaren, Harry
> -Original Message- > From: Phil Yang > Sent: Saturday, July 18, 2020 9:34 AM > To: Aaron Conole ; Lukasz Wojciechowski > > Cc: David Marchand ; Van Haaren, Harry > ; Igor Romanov ; > Honnappa Nagarahalli ; dev > ; Yigit, Ferruh ; nd ; nd > > Subject:

Re: [dpdk-dev] Random failure in service_autotest

2020-07-18 Thread Phil Yang
> -Original Message- > From: Aaron Conole > Sent: Saturday, July 18, 2020 6:39 AM > To: Lukasz Wojciechowski > Cc: David Marchand ; Van Haaren Harry > ; Igor Romanov > ; Honnappa Nagarahalli > ; Phil Yang ; dev > ; Ferruh Yigit > Subject: Re

Re: [dpdk-dev] Random failure in service_autotest

2020-07-17 Thread Honnappa Nagarahalli
> Subject: Re: [dpdk-dev] Random failure in service_autotest > > Lukasz Wojciechowski writes: > > > W dniu 17.07.2020 o 17:19, David Marchand pisze: > >> On Fri, Jul 17, 2020 at 10:56 AM David Marchand > >> wrote: > >>> On Wed, Jul 15, 2020 a

Re: [dpdk-dev] Random failure in service_autotest

2020-07-17 Thread Aaron Conole
Lukasz Wojciechowski writes: > W dniu 17.07.2020 o 17:19, David Marchand pisze: >> On Fri, Jul 17, 2020 at 10:56 AM David Marchand >> wrote: >>> On Wed, Jul 15, 2020 at 12:41 PM Ferruh Yigit >>> wrote: On 7/15/2020 11:14 AM, David Marchand wrote: > Hello Harry and guys who touched the

Re: [dpdk-dev] Random failure in service_autotest

2020-07-17 Thread Lukasz Wojciechowski
W dniu 17.07.2020 o 17:19, David Marchand pisze: > On Fri, Jul 17, 2020 at 10:56 AM David Marchand > wrote: >> On Wed, Jul 15, 2020 at 12:41 PM Ferruh Yigit wrote: >>> On 7/15/2020 11:14 AM, David Marchand wrote: Hello Harry and guys who touched the service code recently :-) I sp

Re: [dpdk-dev] Random failure in service_autotest

2020-07-17 Thread David Marchand
On Fri, Jul 17, 2020 at 10:56 AM David Marchand wrote: > > On Wed, Jul 15, 2020 at 12:41 PM Ferruh Yigit wrote: > > > > On 7/15/2020 11:14 AM, David Marchand wrote: > > > Hello Harry and guys who touched the service code recently :-) > > > > > > I spotted a failure for the service UT in Travis: >

Re: [dpdk-dev] Random failure in service_autotest

2020-07-17 Thread David Marchand
On Wed, Jul 15, 2020 at 12:41 PM Ferruh Yigit wrote: > > On 7/15/2020 11:14 AM, David Marchand wrote: > > Hello Harry and guys who touched the service code recently :-) > > > > I spotted a failure for the service UT in Travis: > > https://travis-ci.com/github/ovsrobot/dpdk/jobs/361097992#L18697 >

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread Honnappa Nagarahalli
> Subject: Re: Random failure in service_autotest > > David Marchand writes: > > > On Wed, Jul 15, 2020 at 3:09 PM Lukasz Wojciechowski > > wrote: > >> > >> > >> W dniu 15.07.2020 o 15:02, David Marchand pisze: > >> > On Wed, Jul 15, 2020 at 2:56 PM Aaron Conole > wrote: > >> >> I guess the

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread Aaron Conole
David Marchand writes: > On Wed, Jul 15, 2020 at 3:09 PM Lukasz Wojciechowski > wrote: >> >> >> W dniu 15.07.2020 o 15:02, David Marchand pisze: >> > On Wed, Jul 15, 2020 at 2:56 PM Aaron Conole wrote: >> >> I guess the service_lcore_attr_get failed, but with no useful >> Why do you suspect ser

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread David Marchand
On Wed, Jul 15, 2020 at 3:09 PM Lukasz Wojciechowski wrote: > > > W dniu 15.07.2020 o 15:02, David Marchand pisze: > > On Wed, Jul 15, 2020 at 2:56 PM Aaron Conole wrote: > >> I guess the service_lcore_attr_get failed, but with no useful > Why do you suspect service_lcore_attr_get() ? https://tr

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread Lukasz Wojciechowski
W dniu 15.07.2020 o 15:02, David Marchand pisze: > On Wed, Jul 15, 2020 at 2:56 PM Aaron Conole wrote: >> I guess the service_lcore_attr_get failed, but with no useful Why do you suspect service_lcore_attr_get() ? >> information. We should have the test suite app turn the log level all >> the w

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread David Marchand
On Wed, Jul 15, 2020 at 2:56 PM Aaron Conole wrote: > I guess the service_lcore_attr_get failed, but with no useful > information. We should have the test suite app turn the log level all > the way up. I realize it will increase the log data even higher, but > without it, we have no idea why thi

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread Aaron Conole
David Marchand writes: > Hello Harry and guys who touched the service code recently :-) > > I spotted a failure for the service UT in Travis: > https://travis-ci.com/github/ovsrobot/dpdk/jobs/361097992#L18697 > > I found only a single instance of this failure and tried to reproduce > it with my u

Re: [dpdk-dev] Random failure in service_autotest

2020-07-15 Thread Ferruh Yigit
On 7/15/2020 11:14 AM, David Marchand wrote: > Hello Harry and guys who touched the service code recently :-) > > I spotted a failure for the service UT in Travis: > https://travis-ci.com/github/ovsrobot/dpdk/jobs/361097992#L18697 > > I found only a single instance of this failure and tried to re

[dpdk-dev] Random failure in service_autotest

2020-07-15 Thread David Marchand
Hello Harry and guys who touched the service code recently :-) I spotted a failure for the service UT in Travis: https://travis-ci.com/github/ovsrobot/dpdk/jobs/361097992#L18697 I found only a single instance of this failure and tried to reproduce it with my usual "brute" active loop with no succ