* [Qemu-devel] [PATCH v2 0/2] buildsys: Disable qht-bench parallel test when using gprof @ 2019-01-03 15:09 Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 1/2] configure: Let the TARGET_GPROF var use the regular 'y' for Yes Philippe Mathieu-Daudé ` (2 more replies) 0 siblings, 3 replies; 6+ messages in thread From: Philippe Mathieu-Daudé @ 2019-01-03 15:09 UTC (permalink / raw) To: Eduardo Habkost, qemu-devel, Peter Maydell, Alex Bennée, Emilio G . Cota Cc: Philippe Mathieu-Daudé Disable test-qht-par when using gprof, as this break Travis CI. v2: Add CONFIG_GPROF (check-unit use host_mak, not target_mak) See: https://lists.gnu.org/archive/html/qemu-devel/2018-12/msg01638.html Philippe Mathieu-Daudé (2): configure: Let the TARGET_GPROF var use the regular 'y' for Yes tests: Disable qht-bench parallel test when using gprof configure | 3 ++- tests/Makefile.include | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.17.2 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [PATCH v2 1/2] configure: Let the TARGET_GPROF var use the regular 'y' for Yes 2019-01-03 15:09 [Qemu-devel] [PATCH v2 0/2] buildsys: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé @ 2019-01-03 15:09 ` Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé 2019-01-03 23:12 ` [Qemu-devel] [PATCH v2 0/2] buildsys: " Philippe Mathieu-Daudé 2 siblings, 0 replies; 6+ messages in thread From: Philippe Mathieu-Daudé @ 2019-01-03 15:09 UTC (permalink / raw) To: Eduardo Habkost, qemu-devel, Peter Maydell, Alex Bennée, Emilio G . Cota Cc: Philippe Mathieu-Daudé All other variables are set using 'y', which is what the rules.mak functions expect to parse. Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 79375affc1..fa5c079f98 100755 --- a/configure +++ b/configure @@ -7470,7 +7470,7 @@ alpha) esac if test "$gprof" = "yes" ; then - echo "TARGET_GPROF=yes" >> $config_target_mak + echo "TARGET_GPROF=y" >> $config_target_mak if test "$target_linux_user" = "yes" ; then cflags="-p $cflags" ldflags="-p $ldflags" -- 2.17.2 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof 2019-01-03 15:09 [Qemu-devel] [PATCH v2 0/2] buildsys: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 1/2] configure: Let the TARGET_GPROF var use the regular 'y' for Yes Philippe Mathieu-Daudé @ 2019-01-03 15:09 ` Philippe Mathieu-Daudé 2019-01-10 16:25 ` Alex Bennée 2019-01-03 23:12 ` [Qemu-devel] [PATCH v2 0/2] buildsys: " Philippe Mathieu-Daudé 2 siblings, 1 reply; 6+ messages in thread From: Philippe Mathieu-Daudé @ 2019-01-03 15:09 UTC (permalink / raw) To: Eduardo Habkost, qemu-devel, Peter Maydell, Alex Bennée, Emilio G . Cota Cc: Philippe Mathieu-Daudé This test is failing on the Travis CI [*] since some time now, disable it until it get fixed. [*] https://travis-ci.org/qemu/qemu/builds/474821674 Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> --- v2: Use CONFIG_GPROF via config_host_mak (check-unit isn't target) --- configure | 1 + tests/Makefile.include | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index fa5c079f98..69a125814d 100755 --- a/configure +++ b/configure @@ -7470,6 +7470,7 @@ alpha) esac if test "$gprof" = "yes" ; then + echo "CONFIG_GPROF=y" >> $config_host_mak echo "TARGET_GPROF=y" >> $config_target_mak if test "$target_linux_user" = "yes" ; then cflags="-p $cflags" diff --git a/tests/Makefile.include b/tests/Makefile.include index 3f5a1d0c30..b8f91fdd97 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -88,7 +88,8 @@ check-unit-y += tests/test-rcu-simpleq$(EXESUF) check-unit-y += tests/test-rcu-tailq$(EXESUF) check-unit-y += tests/test-qdist$(EXESUF) check-unit-y += tests/test-qht$(EXESUF) -check-unit-y += tests/test-qht-par$(EXESUF) +# FIXME: {test-qht-par + gprof} often break on Travis CI +check-unit-$(call lnot,$(CONFIG_GPROF)) += tests/test-qht-par$(EXESUF) check-unit-y += tests/test-bitops$(EXESUF) check-unit-y += tests/test-bitcnt$(EXESUF) check-unit-y += tests/test-qdev-global-props$(EXESUF) -- 2.17.2 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé @ 2019-01-10 16:25 ` Alex Bennée 2019-01-10 19:43 ` Eduardo Habkost 0 siblings, 1 reply; 6+ messages in thread From: Alex Bennée @ 2019-01-10 16:25 UTC (permalink / raw) To: Philippe Mathieu-Daudé Cc: Eduardo Habkost, qemu-devel, Peter Maydell, Emilio G . Cota Philippe Mathieu-Daudé <philmd@redhat.com> writes: > This test is failing on the Travis CI [*] since some time now, > disable it until it get fixed. > > [*] https://travis-ci.org/qemu/qemu/builds/474821674 > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > --- > v2: Use CONFIG_GPROF via config_host_mak (check-unit isn't target) > --- > configure | 1 + > tests/Makefile.include | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index fa5c079f98..69a125814d 100755 > --- a/configure > +++ b/configure > @@ -7470,6 +7470,7 @@ alpha) > esac > > if test "$gprof" = "yes" ; then > + echo "CONFIG_GPROF=y" >> $config_host_mak > echo "TARGET_GPROF=y" >> $config_target_mak > if test "$target_linux_user" = "yes" ; then > cflags="-p $cflags" > diff --git a/tests/Makefile.include b/tests/Makefile.include > index 3f5a1d0c30..b8f91fdd97 100644 > --- a/tests/Makefile.include > +++ b/tests/Makefile.include > @@ -88,7 +88,8 @@ check-unit-y += tests/test-rcu-simpleq$(EXESUF) > check-unit-y += tests/test-rcu-tailq$(EXESUF) > check-unit-y += tests/test-qdist$(EXESUF) > check-unit-y += tests/test-qht$(EXESUF) > -check-unit-y += tests/test-qht-par$(EXESUF) > +# FIXME: {test-qht-par + gprof} often break on Travis CI > +check-unit-$(call lnot,$(CONFIG_GPROF)) += > tests/test-qht-par$(EXESUF) I got confused between test-qht-par and qht-bench. However we already have this in the test case: if (g_test_quick()) { g_test_add_func("/qht/parallel/2threads-0%updates-1s", test_2th0u1s); g_test_add_func("/qht/parallel/2threads-20%updates-1s", test_2th20u1s); } else { g_test_add_func("/qht/parallel/2threads-0%updates-5s", test_2th0u5s); g_test_add_func("/qht/parallel/2threads-20%updates-5s", test_2th20u5s); } So maybe we should be asking why it isn't limiting itself to 1s? > check-unit-y += tests/test-bitops$(EXESUF) > check-unit-y += tests/test-bitcnt$(EXESUF) > check-unit-y += tests/test-qdev-global-props$(EXESUF) -- Alex Bennée ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof 2019-01-10 16:25 ` Alex Bennée @ 2019-01-10 19:43 ` Eduardo Habkost 0 siblings, 0 replies; 6+ messages in thread From: Eduardo Habkost @ 2019-01-10 19:43 UTC (permalink / raw) To: Alex Bennée Cc: Philippe Mathieu-Daudé, qemu-devel, Peter Maydell, Emilio G . Cota On Thu, Jan 10, 2019 at 04:25:17PM +0000, Alex Bennée wrote: > > Philippe Mathieu-Daudé <philmd@redhat.com> writes: > > > This test is failing on the Travis CI [*] since some time now, > > disable it until it get fixed. > > > > [*] https://travis-ci.org/qemu/qemu/builds/474821674 > > > > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> > > --- > > v2: Use CONFIG_GPROF via config_host_mak (check-unit isn't target) > > --- > > configure | 1 + > > tests/Makefile.include | 3 ++- > > 2 files changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/configure b/configure > > index fa5c079f98..69a125814d 100755 > > --- a/configure > > +++ b/configure > > @@ -7470,6 +7470,7 @@ alpha) > > esac > > > > if test "$gprof" = "yes" ; then > > + echo "CONFIG_GPROF=y" >> $config_host_mak > > echo "TARGET_GPROF=y" >> $config_target_mak > > if test "$target_linux_user" = "yes" ; then > > cflags="-p $cflags" > > diff --git a/tests/Makefile.include b/tests/Makefile.include > > index 3f5a1d0c30..b8f91fdd97 100644 > > --- a/tests/Makefile.include > > +++ b/tests/Makefile.include > > @@ -88,7 +88,8 @@ check-unit-y += tests/test-rcu-simpleq$(EXESUF) > > check-unit-y += tests/test-rcu-tailq$(EXESUF) > > check-unit-y += tests/test-qdist$(EXESUF) > > check-unit-y += tests/test-qht$(EXESUF) > > -check-unit-y += tests/test-qht-par$(EXESUF) > > +# FIXME: {test-qht-par + gprof} often break on Travis CI > > +check-unit-$(call lnot,$(CONFIG_GPROF)) += > > tests/test-qht-par$(EXESUF) > > I got confused between test-qht-par and qht-bench. However we already > have this in the test case: > > if (g_test_quick()) { > g_test_add_func("/qht/parallel/2threads-0%updates-1s", test_2th0u1s); > g_test_add_func("/qht/parallel/2threads-20%updates-1s", test_2th20u1s); > } else { > g_test_add_func("/qht/parallel/2threads-0%updates-5s", test_2th0u5s); > g_test_add_func("/qht/parallel/2threads-20%updates-5s", test_2th20u5s); > } > > So maybe we should be asking why it isn't limiting itself to 1s? We are, but we have no idea why it's happening. This patch is a workaround until we find the root cause of the problem. If nobody objects, I will merge it through my tree. -- Eduardo ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PATCH v2 0/2] buildsys: Disable qht-bench parallel test when using gprof 2019-01-03 15:09 [Qemu-devel] [PATCH v2 0/2] buildsys: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 1/2] configure: Let the TARGET_GPROF var use the regular 'y' for Yes Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé @ 2019-01-03 23:12 ` Philippe Mathieu-Daudé 2 siblings, 0 replies; 6+ messages in thread From: Philippe Mathieu-Daudé @ 2019-01-03 23:12 UTC (permalink / raw) To: Eduardo Habkost, QEMU Developers, Peter Maydell, Alex Bennée, Emilio G . Cota On Thu, Jan 3, 2019 at 4:10 PM Philippe Mathieu-Daudé <philmd@redhat.com> wrote: > > Disable test-qht-par when using gprof, as this break Travis CI. Success on Travis CI: https://travis-ci.org/philmd/qemu/builds/474894411 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-01-10 19:44 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-01-03 15:09 [Qemu-devel] [PATCH v2 0/2] buildsys: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 1/2] configure: Let the TARGET_GPROF var use the regular 'y' for Yes Philippe Mathieu-Daudé 2019-01-03 15:09 ` [Qemu-devel] [PATCH v2 2/2] tests: Disable qht-bench parallel test when using gprof Philippe Mathieu-Daudé 2019-01-10 16:25 ` Alex Bennée 2019-01-10 19:43 ` Eduardo Habkost 2019-01-03 23:12 ` [Qemu-devel] [PATCH v2 0/2] buildsys: " Philippe Mathieu-Daudé
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).