[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1059264: qbs: ftbfs on riscv64: test timeout



Hi,
On Sat, Mar 02, 2024 at 09:47:08PM +0300, Dmitry Shachnev wrote:
Hi!

On Thu, Feb 29, 2024 at 02:59:28PM +0800, Bo YU wrote:
Thanks for the hint. It seems it works once I enable
QTEST_FUNCTION_TIMEOUT. The value of it I just follow the [2] to set
`900000` milliseconds (15 mins). But I am not sure the value is okay
for you.:)

Well, a test running for 15 minutes is not good, but as I said, it is
better than disabling it completely.

Thanks. The situation should be improved if we have more power riscv64
buildd, but unfortunately, we have to wait this for time.


I do not attend one debdiff file because now I have trouble to build
it on sid-riscv64-sbuild. Once done, I will update it here.

Looking forward to that.

Due to 2.1.2-2.1 was t64 transition related, so I have to generate
debdiff based on 2.1.2-2. So please let me know if any issue.

I should wait the 64 trsansition to finish but not sure how long it will
to achive this.

--
Dmitry Shachnev

--
Regards,
--
  Bo YU

diff -Nru qbs-2.1.2/debian/changelog qbs-2.1.2/debian/changelog
--- qbs-2.1.2/debian/changelog	2023-12-08 10:54:19.000000000 +0000
+++ qbs-2.1.2/debian/changelog	2024-02-28 07:19:35.000000000 +0000
@@ -1,3 +1,11 @@
+qbs (2.1.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Increase the timeout of qtest with QTEST_FUNCTION_TIMEOUT
+    for riscv64. (Closes: #1059264)
+
+ -- Bo YU <tsu.yubo@gmail.com>  Wed, 28 Feb 2024 07:19:35 +0000
+
 qbs (2.1.2-2) unstable; urgency=medium
 
   * Update debian/libqbscore2.1.symbols for loong64 (closes: #1057757).
diff -Nru qbs-2.1.2/debian/rules qbs-2.1.2/debian/rules
--- qbs-2.1.2/debian/rules	2023-12-08 10:54:19.000000000 +0000
+++ qbs-2.1.2/debian/rules	2024-02-28 07:19:35.000000000 +0000
@@ -3,6 +3,11 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+CPU_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU)
+ifeq (riscv64,$(CPU_ARCH))
+export QTEST_FUNCTION_TIMEOUT=900000
+endif
+
 include /usr/share/dpkg/default.mk
 
 BUILDPATH ?= obj-$(DEB_HOST_GNU_TYPE)

Attachment: signature.asc
Description: PGP signature


Reply to: