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

Re: sscg: ftbfs on riscv64: (create_csr_test TIMEOUT 30.10s killed by signal 15 SIGTERM)



Hi,

    This question is not about of run parallel test in dh_auto_test.

I build the sscg package in my riscv machine[1], it build successed.

   dh_auto_test
        cd obj-riscv64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test
[0/1] Running all tests.
 1/10 generate_serial_test  OK                0.07s
 2/10 init_bignum_test      OK                0.05s
 3/10 dhparams_test_512_2   OK                2.98s
 4/10 dhparams_test_512_5   OK                7.75s
 5/10 generate_rsa_key_test OK               15.90s
 6/10 create_csr_test       OK               22.32s
 7/10 dhparams_test_1024_2  OK               14.68s
 8/10 create_ca_test        OK               32.33s
 9/10 named_dhparams_test   OK               10.70s
10/10 dhparams_test_1024_5  OK               18.90s

Ok:                 10
Expected Fail:      0
Fail:               0
Unexpected Pass:    0
Skipped:            0
Timeout:            0

Then I do a manual dh_auto_test in the build dir, use top to watch cpu:

top - 08:12:21 up 5 days, 20:18,  3 users,  load average: 0.23, 0.18, 0.18
任务: 112 total,   2 running, 110 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi, 0.0 si,  0.0 st %Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi, 0.0 si,  0.0 st %Cpu2  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi, 0.0 si,  0.0 st %Cpu3  :  0.0 us,  0.7 sy,  0.0 ni, 99.3 id,  0.0 wa,  0.0 hi, 0.0 si,  0.0 st
MiB Mem :  15986.5 total,  14316.6 free,    267.5 used,   1402.5 buff/cache
MiB Swap:      0.0 total,      0.0 free,      0.0 used.  15482.0 avail Mem

 进程号 USER      PR  NI    VIRT    RES    SHR    %CPU  %MEM TIME+ COMMAND
  31066 atzlinux  20   0    5080   4148   3516 R 100.0   0.0 0:08.46 /home/atzlinux/sscg/obj-riscv64-linux-gnu/create_ca_test
  31068 root      20   0    8764   2988   2460 R   1.0   0.0 0:00.10 top
     12 root      20   0       0      0      0 I   0.3   0.0 0:04.10 [rcu_sched]

The test process only use one CPU core in the whole test,

so this dh_auto_test is not run in parallel mode.


I suggest to trigger one rebuild on buildd to see what happened:

https://buildd.debian.org/auth/giveback.cgi?pkg=sscg&arch=riscv64&suite=sid


If it still has "create_csr_test TIMEOUT", I also agree:

" (2) patch mason.build to add longer timeout for failed tests."


diff --git a/meson.build b/meson.build
index 3b2a634..c42ee28 100644
--- a/meson.build
+++ b/meson.build
@@ -142,7 +142,7 @@ create_csr_test = executable(
         dependencies: [ crypto ],
     install:false,
 )
-test('create_csr_test', create_csr_test)
+test('create_csr_test', create_csr_test, timeout: 60)

 generate_rsa_key_test = executable(
     'generate_rsa_key_test',


在 2022/7/6 03:19, Boyuan Yang 写道:
Yes, but we need another package upload anyway.

Thanks,
Boyuan

[1] https://linux-hardware.org/?probe=7b1c72c3e7

Thanks,

--
肖盛文 xiao sheng wen
https://www.atzlinux.com 《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: