[Pkg-cmake-team] Bug#910513: cmake: Please increase timeout of tests for arch riscv64

Manuel A. Fernandez Montecelo mafm at debian.org
Sun Oct 7 15:35:36 BST 2018


Source: cmake
Version: 3.12.1-1.1
Severity: normal
Tags: patch
User: debian-riscv at lists.debian.org
Usertags: riscv64

Hello,

This package fails to build due to the timeout limit of the tests, and since
it's a very important package, we have to compile it by hand every time with
each upload, to include in the "unreleased" suite.

Some versions in the past compiled sucessfully, but I suppose that a combination
of the addition of some tests or the recent changes that decrease performance in
x86_64 play a role in this, since the buildds are running at the moment with
qemu-system.

Several tests take around and slightly over 2000 that it's the current limit.
One of them takes 3500.  But just to avoid having similar problems in the near
future, I think that it's safest to increase to 5000, to not have to modify
again in the near future.

So please consider to include this simple patch that I attach, or an equivalent
only for riscv64 if you don't want to increase the limit for other arches.


Thanks and cheers.
--
Manuel A. Fernandez Montecelo <mafm at debian.org>
-------------- next part --------------
diff -Nru cmake-3.12.1/debian/changelog cmake-3.12.1/debian/changelog
--- cmake-3.12.1/debian/changelog	2018-09-27 17:50:12.000000000 +0200
+++ cmake-3.12.1/debian/changelog	2018-10-06 15:51:48.000000000 +0200
@@ -1,3 +1,11 @@
+cmake (3.12.1-1.1+0.riscv64.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * riscv64: increase timeout of tests for compilation in the qemu-system
+    buildds, from 2000 to 5000
+
+ -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Sat, 06 Oct 2018 15:51:48 +0200
+
 cmake (3.12.1-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cmake-3.12.1/debian/rules cmake-3.12.1/debian/rules
--- cmake-3.12.1/debian/rules	2018-05-19 10:51:17.000000000 +0200
+++ cmake-3.12.1/debian/rules	2018-10-06 15:51:48.000000000 +0200
@@ -52,7 +52,7 @@
 override_dh_auto_test:
 	# Pass -j1 to "make test" as a workaround, see https://gitlab.kitware.com/cmake/cmake/issues/17165
 	# The tests are still run in parallel as debhelper pass -jX as ARGS to ctest.
-	dh_auto_test --buildsystem=cmake -- -j1 ARGS="-E CTestTestUpload --timeout 2000"
+	dh_auto_test --buildsystem=cmake -- -j1 ARGS="-E CTestTestUpload --timeout 5000"
 
 override_dh_auto_clean:
 	dh_auto_clean


More information about the Pkg-cmake-team mailing list