DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
@ 2021-04-20 11:45 luca.boccassi
  2021-04-21 15:06 ` Thomas Monjalon
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: luca.boccassi @ 2021-04-20 11:45 UTC (permalink / raw)
  To: dev

From: Luca Boccassi <luca.boccassi@microsoft.com>

This test consistently times out on ppc64 builds. Disable it.

Cc: stable@dpdk.org

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
---
It just times out, nothing useful in the verbose logs. Eg:

https://ci.debian.net/data/autopkgtest/unstable/ppc64el/d/dpdk/11755163/log.gz

 app/test/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app/test/meson.build b/app/test/meson.build
index bd50818f82..803a87dd4e 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -215,7 +215,6 @@ fast_tests = [
         ['hash_autotest', true],
         ['interrupt_autotest', true],
         ['ipfrag_autotest', false],
-        ['lcores_autotest', true],
         ['logs_autotest', true],
         ['lpm_autotest', true],
         ['lpm6_autotest', true],
@@ -422,6 +421,11 @@ if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
 	test_deps += 'crypto_scheduler'
 endif
 
+# This test consistently times out on ppc64
+if arch_subdir != 'ppc'
+	fast_tests += [['lcores_autotest', true]]
+endif
+
 foreach d:test_deps
 	def_lib = get_option('default_library')
 	test_dep_objs += get_variable(def_lib + '_rte_' + d)
-- 
2.29.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-20 11:45 [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc luca.boccassi
@ 2021-04-21 15:06 ` Thomas Monjalon
  2021-04-22 10:26   ` Luca Boccassi
  2021-04-27 18:14 ` David Christensen
  2021-04-28 19:36 ` David Christensen
  2 siblings, 1 reply; 10+ messages in thread
From: Thomas Monjalon @ 2021-04-21 15:06 UTC (permalink / raw)
  To: luca.boccassi; +Cc: dev, david.marchand

20/04/2021 13:45, luca.boccassi@gmail.com:
> This test consistently times out on ppc64 builds. Disable it.

It looks like hiding an issue.
Is there any specific reason for this timeout?



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-21 15:06 ` Thomas Monjalon
@ 2021-04-22 10:26   ` Luca Boccassi
  2021-04-22 11:01     ` Thomas Monjalon
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Boccassi @ 2021-04-22 10:26 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, david.marchand

On Wed, 2021-04-21 at 17:06 +0200, Thomas Monjalon wrote:
> 20/04/2021 13:45, luca.boccassi@gmail.com:
> > This test consistently times out on ppc64 builds. Disable it.
> 
> It looks like hiding an issue.
> Is there any specific reason for this timeout?

As mentioned in the message, there's nothing useful in the logs, it
just times out.

-- 
Kind regards,
Luca Boccassi


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-22 10:26   ` Luca Boccassi
@ 2021-04-22 11:01     ` Thomas Monjalon
  2021-04-22 12:36       ` Luca Boccassi
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Monjalon @ 2021-04-22 11:01 UTC (permalink / raw)
  To: Luca Boccassi; +Cc: dev, david.marchand

22/04/2021 12:26, Luca Boccassi:
> On Wed, 2021-04-21 at 17:06 +0200, Thomas Monjalon wrote:
> > 20/04/2021 13:45, luca.boccassi@gmail.com:
> > > This test consistently times out on ppc64 builds. Disable it.
> > 
> > It looks like hiding an issue.
> > Is there any specific reason for this timeout?
> 
> As mentioned in the message, there's nothing useful in the logs, it
> just times out.

OK but it could be fixed probably instead of disabling.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-22 11:01     ` Thomas Monjalon
@ 2021-04-22 12:36       ` Luca Boccassi
  2021-04-22 12:43         ` Thomas Monjalon
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Boccassi @ 2021-04-22 12:36 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, david.marchand

On Thu, 2021-04-22 at 13:01 +0200, Thomas Monjalon wrote:
> 22/04/2021 12:26, Luca Boccassi:
> > On Wed, 2021-04-21 at 17:06 +0200, Thomas Monjalon wrote:
> > > 20/04/2021 13:45, luca.boccassi@gmail.com:
> > > > This test consistently times out on ppc64 builds. Disable it.
> > > 
> > > It looks like hiding an issue.
> > > Is there any specific reason for this timeout?
> > 
> > As mentioned in the message, there's nothing useful in the logs, it
> > just times out.
> 
> OK but it could be fixed probably instead of disabling.

I'm sure it could, and it would be great if somebody would do so - but
I do not have either the time or the hardware to take care of PPC-specific problems, apart from the bare minimum to remove blockers to get things done for Debian 11.

-- 
Kind regards,
Luca Boccassi


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-22 12:36       ` Luca Boccassi
@ 2021-04-22 12:43         ` Thomas Monjalon
  2021-04-22 13:45           ` Luca Boccassi
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Monjalon @ 2021-04-22 12:43 UTC (permalink / raw)
  To: Luca Boccassi; +Cc: dev, david.marchand, David Christensen

22/04/2021 14:36, Luca Boccassi:
> On Thu, 2021-04-22 at 13:01 +0200, Thomas Monjalon wrote:
> > 22/04/2021 12:26, Luca Boccassi:
> > > On Wed, 2021-04-21 at 17:06 +0200, Thomas Monjalon wrote:
> > > > 20/04/2021 13:45, luca.boccassi@gmail.com:
> > > > > This test consistently times out on ppc64 builds. Disable it.
> > > > 
> > > > It looks like hiding an issue.
> > > > Is there any specific reason for this timeout?
> > > 
> > > As mentioned in the message, there's nothing useful in the logs, it
> > > just times out.
> > 
> > OK but it could be fixed probably instead of disabling.
> 
> I'm sure it could, and it would be great if somebody would do so - but
> I do not have either the time or the hardware to take care of
> PPC-specific problems, apart from the bare minimum to remove blockers
> to get things done for Debian 11.

First things first, let's Cc the PPC maintainer:
David Christensen <drc@linux.vnet.ibm.com>




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-22 12:43         ` Thomas Monjalon
@ 2021-04-22 13:45           ` Luca Boccassi
  2021-04-27 17:38             ` David Christensen
  0 siblings, 1 reply; 10+ messages in thread
From: Luca Boccassi @ 2021-04-22 13:45 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev, david.marchand, David Christensen

On Thu, 2021-04-22 at 14:43 +0200, Thomas Monjalon wrote:
> 22/04/2021 14:36, Luca Boccassi:
> > On Thu, 2021-04-22 at 13:01 +0200, Thomas Monjalon wrote:
> > > 22/04/2021 12:26, Luca Boccassi:
> > > > On Wed, 2021-04-21 at 17:06 +0200, Thomas Monjalon wrote:
> > > > > 20/04/2021 13:45, luca.boccassi@gmail.com:
> > > > > > This test consistently times out on ppc64 builds. Disable it.
> > > > > 
> > > > > It looks like hiding an issue.
> > > > > Is there any specific reason for this timeout?
> > > > 
> > > > As mentioned in the message, there's nothing useful in the logs, it
> > > > just times out.
> > > 
> > > OK but it could be fixed probably instead of disabling.
> > 
> > I'm sure it could, and it would be great if somebody would do so - but
> > I do not have either the time or the hardware to take care of
> > PPC-specific problems, apart from the bare minimum to remove blockers
> > to get things done for Debian 11.
> 
> First things first, let's Cc the PPC maintainer:
> David Christensen <drc@linux.vnet.ibm.com>

https://bugs.dpdk.org/show_bug.cgi?id=684

-- 
Kind regards,
Luca Boccassi


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-22 13:45           ` Luca Boccassi
@ 2021-04-27 17:38             ` David Christensen
  0 siblings, 0 replies; 10+ messages in thread
From: David Christensen @ 2021-04-27 17:38 UTC (permalink / raw)
  To: Luca Boccassi, Thomas Monjalon; +Cc: dev, david.marchand

>> First things first, let's Cc the PPC maintainer:
>> David Christensen <drc@linux.vnet.ibm.com>
> 
> https://bugs.dpdk.org/show_bug.cgi?id=684

Tried GCC 10 on RHEL 8.3 and running the lcores_autotest individually 
does not produce any errors.  I can't see in the log file how the test 
is called when it generates an error.  Can anyone point out the 
parameters required to run the test in the situation?

Dave

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-20 11:45 [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc luca.boccassi
  2021-04-21 15:06 ` Thomas Monjalon
@ 2021-04-27 18:14 ` David Christensen
  2021-04-28 19:36 ` David Christensen
  2 siblings, 0 replies; 10+ messages in thread
From: David Christensen @ 2021-04-27 18:14 UTC (permalink / raw)
  To: dev



On 4/20/21 4:45 AM, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <luca.boccassi@microsoft.com>
> 
> This test consistently times out on ppc64 builds. Disable it.
> 
> Cc: stable@dpdk.org
> 
> Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>

Is there something new about how/when this test is run during continuous 
integration?  The test time is dependent on the value of RTE_MAX_LCORE 
which is currently 1536.  When I run the test locally it takes around 50 
seconds to complete and completes without errors.  If I reduce the value 
down to 128 the test completes in around 5 seconds.  The current value 
has been in the code for nearly 2 years so I'm curious why the sudden 
change in CI results.

We could could reduce the default value for RTE_MAX_LCORE (I don't often 
have access to a system that actually has this many cores) or we could 
skip the test in this situation as well.

Dave

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc
  2021-04-20 11:45 [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc luca.boccassi
  2021-04-21 15:06 ` Thomas Monjalon
  2021-04-27 18:14 ` David Christensen
@ 2021-04-28 19:36 ` David Christensen
  2 siblings, 0 replies; 10+ messages in thread
From: David Christensen @ 2021-04-28 19:36 UTC (permalink / raw)
  To: dev



On 4/20/21 4:45 AM, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <luca.boccassi@microsoft.com>
> 
> This test consistently times out on ppc64 builds. Disable it.
> 
> Cc: stable@dpdk.org
> 
> Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
> ---

NAK.  Will resolve with a different patch to reduce the max_lcore value 
used for PPC builds.  Both x86 and PPC require > 30 seconds if the 
max_lcore value is set to 1536.

Dave

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-04-28 19:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 11:45 [dpdk-dev] [PATCH] autotest: disable lcores_autotest on ppc luca.boccassi
2021-04-21 15:06 ` Thomas Monjalon
2021-04-22 10:26   ` Luca Boccassi
2021-04-22 11:01     ` Thomas Monjalon
2021-04-22 12:36       ` Luca Boccassi
2021-04-22 12:43         ` Thomas Monjalon
2021-04-22 13:45           ` Luca Boccassi
2021-04-27 17:38             ` David Christensen
2021-04-27 18:14 ` David Christensen
2021-04-28 19:36 ` David Christensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).