Skip to contentSkip to conversation

gdk-pixbuf: add timeout to run-ptest

PATCH In review Joe Slater 2 participants 2 messages Apr 19, 2019 – Apr 25, 2019

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 gdk-pixbuf: add timeout to run-ptest

The default timeout of 300 seconds is far too low for qemu bsp's.

---
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/run-ptest | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/run-ptest +3 -1
index 8f90723..b4f982b 100644
@@ -1,3 +1,5 @@
 #! /bin/sh
 
-gnome-desktop-testing-runner gdk-pixbuf
+# The default timeout of 300 seconds is far too low for qemu bsp's.
+#
+gnome-desktop-testing-runner -t 2400 gdk-pixbuf
Signature · 1 line
2.7.4
#1 lore raw
Quoted 13 lines · Joe Slater

The default timeout of 300 seconds is far too low for qemu bsp's.

---
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/run-ptest | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/run-ptest +0 -0
index 8f90723..b4f982b 100644

meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/run-ptest line 5

Quoted 6 lines
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/run-ptest +3 -1
@@ -1,3 +1,5 @@
 #! /bin/sh
 
-gnome-desktop-testing-runner gdk-pixbuf
+# The default timeout of 300 seconds is far too low for qemu bsp's.
+#
+gnome-desktop-testing-runner -t 2400 gdk-pixbuf

This raises an interesting dilemma.

Do we set the timeouts to match a real hardware system, a software emulated qemu or a KVM accelerated qemu?

My instinct says we should time these for real hardware and KVM accelerated images only as ptests are simply too slow to realistically run anywhere else.

The downside to long timeouts is if something does break, long hanging builds.

On that basis I'm not sure we want to start patching all the timeouts for software qemu...

Cheers,

Richard