Skip to contentSkip to conversation

Work around test-qht-par + gprof issues

GIT PULL Applied Eduardo Habkost 3 participants 5 messages Jan 11, 2019 – Jan 14, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit e53f7796fbe71a5c7c24ffebf04b4aa9a759da36:

Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2019-01-11 13:35:48 +0000)

are available in the Git repository at:

git://github.com/ehabkost/qemu.git tags/machine-next-pull-request

for you to fetch changes up to ce2eefd7c21697fee87a0686353de881081d22c6:

tests: Disable qht-bench parallel test when using gprof (2019-01-11 16:21:45 -0200)

----------------------------------------------------------------
Work around test-qht-par + gprof issues

Travis CI jobs are failing because of test-qht-par when gprof is enabled. Temporarily disable test-qht-par if gprof is enabled, until we fix the bug.

----------------------------------------------------------------

Queue for Machine Core patches

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(-)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
#1 lore raw

[Qemu-devel] [PULL 1/2] configure: Let the TARGET_GPROF var use the regular 'y' for Yes

From: Philippe Mathieu-Daudé <[email protected]>

All other variables are set using 'y', which is what the rules.mak functions expect to parse.

Message-Id: <[email protected]>

---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index cf763d4674..0c433ec043 100755
@@ -7490,7 +7490,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"
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
#2 lore raw

[Qemu-devel] [PULL 2/2] tests: Disable qht-bench parallel test when using gprof

In reply to Eduardo Habkost

From: Philippe Mathieu-Daudé <[email protected]>

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

Message-Id: <[email protected]>

---
 configure              | 1 +
 tests/Makefile.include | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
configure +1 -0
index 0c433ec043..bb1e7c9e19 100755
@@ -7490,6 +7490,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"
tests/Makefile.include +2 -1
index 9c84bbd829..dfd87344bd 100644
@@ -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)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140
#3 lore raw
In reply to Eduardo Habkost
Quoted 13 lines · Eduardo Habkost

The following changes since commit e53f7796fbe71a5c7c24ffebf04b4aa9a759da36:

Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2019-01-11 13:35:48 +0000)

are available in the Git repository at:

git://github.com/ehabkost/qemu.git tags/machine-next-pull-request

for you to fetch changes up to ce2eefd7c21697fee87a0686353de881081d22c6:

tests: Disable qht-bench parallel test when using gprof (2019-01-11 16:21:45 -0200)

Quoted 8 lines

----------------------------------------------------------------
Work around test-qht-par + gprof issues

Travis CI jobs are failing because of test-qht-par when gprof is enabled. Temporarily disable test-qht-par if gprof is enabled, until we fix the bug.

----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.

-- PMM

#4 lore raw
Quoted 12 lines · Peter Maydell
Quoted 11 lines · Eduardo Habkost

The following changes since commit e53f7796fbe71a5c7c24ffebf04b4aa9a759da36:

Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging (2019-01-11 13:35:48 +0000)

are available in the Git repository at:

git://github.com/ehabkost/qemu.git tags/machine-next-pull-request

for you to fetch changes up to ce2eefd7c21697fee87a0686353de881081d22c6:

Quoted 8 lines
Quoted 8 lines

tests: Disable qht-bench parallel test when using gprof (2019-01-11 16:21:45 -0200)

----------------------------------------------------------------
Work around test-qht-par + gprof issues

Travis CI jobs are failing because of test-qht-par when gprof is enabled. Temporarily disable test-qht-par if gprof is enabled, until we fix the bug.

I think we can revert 2/2 now with the usleep changes. I'll include it in my PR.

--
Alex Bennée