* [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails
@ 2025-03-17 9:46 Venkat Rao Bagalkote
2025-03-17 11:13 ` Michael Ellerman
0 siblings, 1 reply; 5+ messages in thread
From: Venkat Rao Bagalkote @ 2025-03-17 9:46 UTC (permalink / raw)
To: linuxppc-dev, LKML, Madhavan Srinivasan, Michael Ellerman
Greetings!!
I am observing selftests/powerpc/signal:sigfuz test fails on linux
mainline repo on IBM Power10 systems.
The test passes on the kernel with commit head:
619f0b6fad524f08d493a98d55bac9ab8895e3a6 and fails on the kernel with
commit head: ce69b4019001407f9cd738dd2ba217b3a8ab831b on the main line.
Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
I tried to do git bisect and the bisect tool pointed first bad commit
to: 16ebb6f5b6295c9688749862a39a4889c56227f8.
But upon reverting the first bad commit issue is still seen. So please
ignore, if the bisection dosent help.
Error:
# selftests: powerpc/signal: sigfuz
# test: signal_fuzzer
# tags: git_version:v6.14-rc7-1-g49c747976afa
# !! killing signal_fuzzer
# !! child died by signal 15
# failure: signal_fuzzer
not ok 3 selftests: powerpc/signal: sigfuz # exit=1
Bisect log:
git bisect start
# status: waiting for both good and bad commits
# good: [619f0b6fad524f08d493a98d55bac9ab8895e3a6] Merge tag
'seccomp-v6.13-rc8' of
git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect good 619f0b6fad524f08d493a98d55bac9ab8895e3a6
# status: waiting for bad commit, 1 good commit known
# bad: [ce69b4019001407f9cd738dd2ba217b3a8ab831b] Merge tag
'net-6.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
git bisect bad ce69b4019001407f9cd738dd2ba217b3a8ab831b
# good: [f62bb88782ffc2d8b619ac781ca26582b00c4db6] Merge branch '100GbE'
of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue
git bisect good f62bb88782ffc2d8b619ac781ca26582b00c4db6
# bad: [2c3688090f8a1f085230aa839cc63e4a7b977df0] net/mlx5e: Fix
inversion dependency warning while enabling IPsec tunnel
git bisect bad 2c3688090f8a1f085230aa839cc63e4a7b977df0
# bad: [d6e3316a1680305da291a5b5deaf424559aaf06c] net: pcs: xpcs:
actively unset DW_VR_MII_DIG_CTRL1_2G5_EN for 1G SGMII
git bisect bad d6e3316a1680305da291a5b5deaf424559aaf06c
# bad: [f0d0277796db613c124206544b6dbe95b520ab6c] net: netpoll: ensure
skb_pool list is always initialized
git bisect bad f0d0277796db613c124206544b6dbe95b520ab6c
# bad: [c17ff476f53afb30f90bb3c2af77de069c81a622] net: xilinx: axienet:
Fix IRQ coalescing packet count overflow
git bisect bad c17ff476f53afb30f90bb3c2af77de069c81a622
# bad: [16ebb6f5b6295c9688749862a39a4889c56227f8] nfp: bpf: prevent
integer overflow in nfp_bpf_event_output()
git bisect bad 16ebb6f5b6295c9688749862a39a4889c56227f8
# first bad commit: [16ebb6f5b6295c9688749862a39a4889c56227f8] nfp: bpf:
prevent integer overflow in nfp_bpf_event_output()
If you happen to fix the issue, please add below tag.
Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Regards,
Venkat.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails
2025-03-17 9:46 [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails Venkat Rao Bagalkote
@ 2025-03-17 11:13 ` Michael Ellerman
2025-03-18 10:50 ` Madhavan Srinivasan
0 siblings, 1 reply; 5+ messages in thread
From: Michael Ellerman @ 2025-03-17 11:13 UTC (permalink / raw)
To: Venkat Rao Bagalkote, linuxppc-dev, LKML, Madhavan Srinivasan
Venkat Rao Bagalkote <venkat88@linux.ibm.com> writes:
> Greetings!!
>
> I am observing selftests/powerpc/signal:sigfuz test fails on linux
> mainline repo on IBM Power10 systems.
>
> The test passes on the kernel with commit head:
> 619f0b6fad524f08d493a98d55bac9ab8895e3a6 and fails on the kernel with
> commit head: ce69b4019001407f9cd738dd2ba217b3a8ab831b on the main line.
>
>
> Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>
> I tried to do git bisect and the bisect tool pointed first bad commit
> to: 16ebb6f5b6295c9688749862a39a4889c56227f8.
>
> But upon reverting the first bad commit issue is still seen. So please
> ignore, if the bisection dosent help.
>
>
> Error:
>
> # selftests: powerpc/signal: sigfuz
> # test: signal_fuzzer
> # tags: git_version:v6.14-rc7-1-g49c747976afa
> # !! killing signal_fuzzer
> # !! child died by signal 15
> # failure: signal_fuzzer
> not ok 3 selftests: powerpc/signal: sigfuz # exit=1
That error means the test is timing out and being killed by the test
harness.
That could be due to a bug, but it could just be that your system is
overloaded or something. You can increase the timeout in the code by
adding a call to test_harness_timeout().
The test also includes lots of randomisation, so if you actually need to
bisect it you'd want to change the code to use a consistent random seed
in the calls to srand().
cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails
2025-03-17 11:13 ` Michael Ellerman
@ 2025-03-18 10:50 ` Madhavan Srinivasan
2025-03-19 11:44 ` Venkat Rao Bagalkote
2025-03-19 11:57 ` Venkat Rao Bagalkote
0 siblings, 2 replies; 5+ messages in thread
From: Madhavan Srinivasan @ 2025-03-18 10:50 UTC (permalink / raw)
To: Michael Ellerman, Venkat Rao Bagalkote, linuxppc-dev, LKML
On 3/17/25 4:43 PM, Michael Ellerman wrote:
> Venkat Rao Bagalkote <venkat88@linux.ibm.com> writes:
>> Greetings!!
>>
>> I am observing selftests/powerpc/signal:sigfuz test fails on linux
>> mainline repo on IBM Power10 systems.
>>
>> The test passes on the kernel with commit head:
>> 619f0b6fad524f08d493a98d55bac9ab8895e3a6 and fails on the kernel with
>> commit head: ce69b4019001407f9cd738dd2ba217b3a8ab831b on the main line.
>>
>>
>> Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>
>> I tried to do git bisect and the bisect tool pointed first bad commit
>> to: 16ebb6f5b6295c9688749862a39a4889c56227f8.
>>
>> But upon reverting the first bad commit issue is still seen. So please
>> ignore, if the bisection dosent help.
>>
>>
>> Error:
>>
>> # selftests: powerpc/signal: sigfuz
>> # test: signal_fuzzer
>> # tags: git_version:v6.14-rc7-1-g49c747976afa
>> # !! killing signal_fuzzer
>> # !! child died by signal 15
>> # failure: signal_fuzzer
>> not ok 3 selftests: powerpc/signal: sigfuz # exit=1
>
> That error means the test is timing out and being killed by the test
> harness.
>
I tired multiple times with the config shared by Venkat in my P10 LPAR
and it always passes for me with default timeout as 0.
ok 2 selftests: powerpc/signal: signal_tm
# timeout set to 0
# selftests: powerpc/signal: sigfuz
# test: signal_fuzzer
# tags: git_version:v6.14-rc2-61-g861efb8a48ee
# success: signal_fuzzer
ok 3 selftests: powerpc/signal: sigfuz
# timeout set to 0
# selftests: powerpc/signal: sigreturn_vdso
# test: sigreturn_vdso
# tags: git_version:v6.14-rc2-61-g861efb8a48ee
# VDSO is at 0x7fff9aac0000-0x7fff9aacffff (65536 bytes)
# Signal delivered OK with VDSO mapped
# VDSO moved to 0x7fff9aa50000-0x7fff9aa5ffff (65536 bytes)
# Signal delivered OK with VDSO moved
# Unmapped VDSO
# Remapped the stack executable
# Signal delivered OK with VDSO unmapped
# success: sigreturn_vdso
Setup: P10 LPAR with 16CPUs, LPAR running only the selftest
Kernel: powerpc/next (861efb8a48ee), config shared by venkat
Maddy
> That could be due to a bug, but it could just be that your system is
> overloaded or something. You can increase the timeout in the code by
> adding a call to test_harness_timeout().
>
> The test also includes lots of randomisation, so if you actually need to
> bisect it you'd want to change the code to use a consistent random seed
> in the calls to srand().
>
> cheers
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails
2025-03-18 10:50 ` Madhavan Srinivasan
@ 2025-03-19 11:44 ` Venkat Rao Bagalkote
2025-03-19 11:57 ` Venkat Rao Bagalkote
1 sibling, 0 replies; 5+ messages in thread
From: Venkat Rao Bagalkote @ 2025-03-19 11:44 UTC (permalink / raw)
To: Madhavan Srinivasan, Michael Ellerman, linuxppc-dev, LKML
Thanks Michael and Maddy for the feedback.
On 18/03/25 4:20 pm, Madhavan Srinivasan wrote:
> On 3/17/25 4:43 PM, Michael Ellerman wrote:
>> Venkat Rao Bagalkote<venkat88@linux.ibm.com> writes:
>>> Greetings!!
>>>
>>> I am observing selftests/powerpc/signal:sigfuz test fails on linux
>>> mainline repo on IBM Power10 systems.
>>>
>>> The test passes on the kernel with commit head:
>>> 619f0b6fad524f08d493a98d55bac9ab8895e3a6 and fails on the kernel with
>>> commit head: ce69b4019001407f9cd738dd2ba217b3a8ab831b on the main line.
>>>
>>>
>>> Repo:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>>
>>> I tried to do git bisect and the bisect tool pointed first bad commit
>>> to: 16ebb6f5b6295c9688749862a39a4889c56227f8.
>>>
>>> But upon reverting the first bad commit issue is still seen. So please
>>> ignore, if the bisection dosent help.
>>>
>>>
>>> Error:
>>>
>>> # selftests: powerpc/signal: sigfuz
>>> # test: signal_fuzzer
>>> # tags: git_version:v6.14-rc7-1-g49c747976afa
>>> # !! killing signal_fuzzer
>>> # !! child died by signal 15
>>> # failure: signal_fuzzer
>>> not ok 3 selftests: powerpc/signal: sigfuz # exit=1
>> That error means the test is timing out and being killed by the test
>> harness.
>>
> I tired multiple times with the config shared by Venkat in my P10 LPAR
> and it always passes for me with default timeout as 0.
>
>
> ok 2 selftests: powerpc/signal: signal_tm
> # timeout set to 0
> # selftests: powerpc/signal: sigfuz
> # test: signal_fuzzer
> # tags: git_version:v6.14-rc2-61-g861efb8a48ee
> # success: signal_fuzzer
> ok 3 selftests: powerpc/signal: sigfuz
> # timeout set to 0
> # selftests: powerpc/signal: sigreturn_vdso
> # test: sigreturn_vdso
> # tags: git_version:v6.14-rc2-61-g861efb8a48ee
> # VDSO is at 0x7fff9aac0000-0x7fff9aacffff (65536 bytes)
> # Signal delivered OK with VDSO mapped
> # VDSO moved to 0x7fff9aa50000-0x7fff9aa5ffff (65536 bytes)
> # Signal delivered OK with VDSO moved
> # Unmapped VDSO
> # Remapped the stack executable
> # Signal delivered OK with VDSO unmapped
> # success: sigreturn_vdso
>
>
> Setup: P10 LPAR with 16CPUs, LPAR running only the selftest
> Kernel: powerpc/next (861efb8a48ee), config shared by venkat
>
> Maddy
>
>
> One key difference which I could figure out so far in the set up is, mine is Power10 system running on P11 FW.
>
> I quickly gave a try with P10 system with P10 FW, and issue is not seen.
>
> Logs from P10 system running on P10 FW:
>
> make -j 33 -C powerpc/signal/ run_tests make: Entering directory
> '/root/venkat/linux/tools/testing/selftests/powerpc/signal' TAP
> version 13 1..7 # timeout set to 0 # selftests: powerpc/signal: signal
> # test: signal # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 #
> success: signal ok 1 selftests: powerpc/signal: signal # timeout set
> to 0 # selftests: powerpc/signal: signal_tm # test: signal_tm # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # [SKIP] Test skipped on line
> 58 # skip: signal_tm ok 2 selftests: powerpc/signal: signal_tm #
> timeout set to 0 # selftests: powerpc/signal: sigfuz # test:
> signal_fuzzer # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 #
> success: signal_fuzzer ok 3 selftests: powerpc/signal: sigfuz #
> timeout set to 0 # selftests: powerpc/signal: sigreturn_vdso # test:
> sigreturn_vdso # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # VDSO
> is at 0x7fffae2e0000-0x7fffae2effff (65536 bytes) # Signal delivered
> OK with VDSO mapped # VDSO moved to 0x7fffae270000-0x7fffae27ffff
> (65536 bytes) # Signal delivered OK with VDSO moved # Unmapped VDSO #
> Remapped the stack executable # Signal delivered OK with VDSO unmapped
> # success: sigreturn_vdso ok 4 selftests: powerpc/signal:
> sigreturn_vdso # timeout set to 0 # selftests: powerpc/signal:
> sig_sc_double_restart # test: sig sys restart # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # success: sig sys restart ok 5
> selftests: powerpc/signal: sig_sc_double_restart # timeout set to 0 #
> selftests: powerpc/signal: sigreturn_kernel # test: sigreturn_kernel #
> tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # All children killed as
> expected # success: sigreturn_kernel ok 6 selftests: powerpc/signal:
> sigreturn_kernel # timeout set to 0 # selftests: powerpc/signal:
> sigreturn_unaligned # test: sigreturn_unaligned # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # success: sigreturn_unaligned
> ok 7 selftests: powerpc/signal: sigreturn_unaligned make: Leaving
> directory '/root/venkat/linux/tools/testing/selftests/powerpc/signal'
>> That could be due to a bug, but it could just be that your system is
>> overloaded or something. You can increase the timeout in the code by
>> adding a call to test_harness_timeout().
>>
>> The test also includes lots of randomisation, so if you actually need to
>> bisect it you'd want to change the code to use a consistent random seed
>> in the calls to srand().
>>
>> cheers
> I increased the timeout from 0 to 120, I still see the issue.
>
> Below are the logs with and with out time out.
>
> make -j 33 -C powerpc/signal/ run_tests all clean clean_mods_dir
> emit_tests gen_mods_dir install run_tests [root@ltcden8-lp3
> selftests]# make -j 33 -C powerpc/signal/ run_tests make: Entering
> directory '/root/linux/tools/testing/selftests/powerpc/signal' CC
> signal CC signal_tm CC sigfuz CC sigreturn_vdso CC
> sig_sc_double_restart CC sigreturn_kernel CC sigreturn_unaligned TAP
> version 13 1..7 # timeout set to 0 # selftests: powerpc/signal: signal
> # test: signal # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 #
> success: signal ok 1 selftests: powerpc/signal: signal # timeout set
> to 0 # selftests: powerpc/signal: signal_tm # test: signal_tm # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # [SKIP] Test skipped on line
> 58 # skip: signal_tm ok 2 selftests: powerpc/signal: signal_tm #
> timeout set to 0 # selftests: powerpc/signal: sigfuz # test:
> signal_fuzzer # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # !!
> killing signal_fuzzer # !! child died by signal 15 # failure:
> signal_fuzzer not ok 3 selftests: powerpc/signal: sigfuz # exit=1 #
> timeout set to 0 # selftests: powerpc/signal: sigreturn_vdso # test:
> sigreturn_vdso # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # VDSO
> is at 0x7fffb1860000-0x7fffb186ffff (65536 bytes) # Signal delivered
> OK with VDSO mapped # VDSO moved to 0x7fffb17f0000-0x7fffb17fffff
> (65536 bytes) # Signal delivered OK with VDSO moved # Unmapped VDSO #
> Remapped the stack executable # Signal delivered OK with VDSO unmapped
> # success: sigreturn_vdso ok 4 selftests: powerpc/signal:
> sigreturn_vdso # timeout set to 0 # selftests: powerpc/signal:
> sig_sc_double_restart # test: sig sys restart # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # success: sig sys restart ok 5
> selftests: powerpc/signal: sig_sc_double_restart # timeout set to 0 #
> selftests: powerpc/signal: sigreturn_kernel # test: sigreturn_kernel #
> tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # All children killed as
> expected # success: sigreturn_kernel ok 6 selftests: powerpc/signal:
> sigreturn_kernel # timeout set to 0 # selftests: powerpc/signal:
> sigreturn_unaligned # test: sigreturn_unaligned # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # success: sigreturn_unaligned
> ok 7 selftests: powerpc/signal: sigreturn_unaligned make: Leaving
> directory '/root/linux/tools/testing/selftests/powerpc/signal'
> # vi powerpc/signal/settings make -j 33 -C powerpc/signal/ run_tests
> make: Entering directory
> '/root/linux/tools/testing/selftests/powerpc/signal' TAP version 13
> 1..7 # timeout set to 120 # selftests: powerpc/signal: signal # test:
> signal # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # success:
> signal ok 1 selftests: powerpc/signal: signal # timeout set to 120 #
> selftests: powerpc/signal: signal_tm # test: signal_tm # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # [SKIP] Test skipped on line
> 58 # skip: signal_tm ok 2 selftests: powerpc/signal: signal_tm #
> timeout set to 120 # selftests: powerpc/signal: sigfuz # test:
> signal_fuzzer # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # not ok
> 3 selftests: powerpc/signal: sigfuz # TIMEOUT 120 seconds # timeout
> set to 120 # selftests: powerpc/signal: sigreturn_vdso # test:
> sigreturn_vdso # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # VDSO
> is at 0x7fff8b170000-0x7fff8b17ffff (65536 bytes) # Signal delivered
> OK with VDSO mapped # VDSO moved to 0x7fff8b100000-0x7fff8b10ffff
> (65536 bytes) # Signal delivered OK with VDSO moved # Unmapped VDSO #
> Remapped the stack executable # Signal delivered OK with VDSO unmapped
> # success: sigreturn_vdso ok 4 selftests: powerpc/signal:
> sigreturn_vdso # timeout set to 120 # selftests: powerpc/signal:
> sig_sc_double_restart # test: sig sys restart # tags:
> git_version:v6.14-rc7-69-g81e4f8d68c66 # success: sig sys restart ok 5
> selftests: powerpc/signal: sig_sc_double_restart # timeout set to 120
> # selftests: powerpc/signal: sigreturn_kernel # test: sigreturn_kernel
> # tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # All children killed
> as expected # success: sigreturn_kernel ok 6 selftests:
> powerpc/signal: sigreturn_kernel # timeout set to 120 # selftests:
> powerpc/signal: sigreturn_unaligned # test: sigreturn_unaligned #
> tags: git_version:v6.14-rc7-69-g81e4f8d68c66 # success:
> sigreturn_unaligned ok 7 selftests: powerpc/signal:
> sigreturn_unaligned make: Leaving directory
> '/root/linux/tools/testing/selftests/powerpc/signal' [root@ltcden8-lp3
> selftests]# [root@ltcden8-lp3 selftests]# [root@ltcden8-lp3
> selftests]# uname -r 6.14.0-rc7-00069-g81e4f8d68c66 [root@ltcden8-lp3
> selftests]#
Regards,
Venkat.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails
2025-03-18 10:50 ` Madhavan Srinivasan
2025-03-19 11:44 ` Venkat Rao Bagalkote
@ 2025-03-19 11:57 ` Venkat Rao Bagalkote
1 sibling, 0 replies; 5+ messages in thread
From: Venkat Rao Bagalkote @ 2025-03-19 11:57 UTC (permalink / raw)
To: Madhavan Srinivasan, Michael Ellerman, linuxppc-dev, LKML
/Resending in proper format./
On 18/03/25 4:20 pm, Madhavan Srinivasan wrote:
>
> On 3/17/25 4:43 PM, Michael Ellerman wrote:
>> Venkat Rao Bagalkote <venkat88@linux.ibm.com> writes:
>>> Greetings!!
>>>
>>> I am observing selftests/powerpc/signal:sigfuz test fails on linux
>>> mainline repo on IBM Power10 systems.
>>>
>>> The test passes on the kernel with commit head:
>>> 619f0b6fad524f08d493a98d55bac9ab8895e3a6 and fails on the kernel with
>>> commit head: ce69b4019001407f9cd738dd2ba217b3a8ab831b on the main line.
>>>
>>>
>>> Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
>>>
>>> I tried to do git bisect and the bisect tool pointed first bad commit
>>> to: 16ebb6f5b6295c9688749862a39a4889c56227f8.
>>>
>>> But upon reverting the first bad commit issue is still seen. So please
>>> ignore, if the bisection dosent help.
>>>
>>>
>>> Error:
>>>
>>> # selftests: powerpc/signal: sigfuz
>>> # test: signal_fuzzer
>>> # tags: git_version:v6.14-rc7-1-g49c747976afa
>>> # !! killing signal_fuzzer
>>> # !! child died by signal 15
>>> # failure: signal_fuzzer
>>> not ok 3 selftests: powerpc/signal: sigfuz # exit=1
>> That error means the test is timing out and being killed by the test
>> harness.
>>
I increased the timeout from 0 to 120, I still see the issue.
Below are the logs with and with out time out.
# make -j 33 -C powerpc/signal/ run_tests
CC signal
CC signal_tm
CC sigfuz
CC sigreturn_vdso
CC sig_sc_double_restart
CC sigreturn_kernel
CC sigreturn_unaligned
TAP version 13
1..7
# timeout set to 0
# selftests: powerpc/signal: signal
# test: signal
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: signal
ok 1 selftests: powerpc/signal: signal
# timeout set to 0
# selftests: powerpc/signal: signal_tm
# test: signal_tm
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# [SKIP] Test skipped on line 58
# skip: signal_tm
ok 2 selftests: powerpc/signal: signal_tm
# timeout set to 0
# selftests: powerpc/signal: sigfuz
# test: signal_fuzzer
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# !! killing signal_fuzzer
# !! child died by signal 15
# failure: signal_fuzzer
not ok 3 selftests: powerpc/signal: sigfuz # exit=1
# timeout set to 0
# selftests: powerpc/signal: sigreturn_vdso
# test: sigreturn_vdso
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# VDSO is at 0x7fffb1860000-0x7fffb186ffff (65536 bytes)
# Signal delivered OK with VDSO mapped
# VDSO moved to 0x7fffb17f0000-0x7fffb17fffff (65536 bytes)
# Signal delivered OK with VDSO moved
# Unmapped VDSO
# Remapped the stack executable
# Signal delivered OK with VDSO unmapped
# success: sigreturn_vdso
ok 4 selftests: powerpc/signal: sigreturn_vdso
# timeout set to 0
# selftests: powerpc/signal: sig_sc_double_restart
# test: sig sys restart
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: sig sys restart
ok 5 selftests: powerpc/signal: sig_sc_double_restart
# timeout set to 0
# selftests: powerpc/signal: sigreturn_kernel
# test: sigreturn_kernel
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# All children killed as expected
# success: sigreturn_kernel
ok 6 selftests: powerpc/signal: sigreturn_kernel
# timeout set to 0
# selftests: powerpc/signal: sigreturn_unaligned
# test: sigreturn_unaligned
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: sigreturn_unaligned
ok 7 selftests: powerpc/signal: sigreturn_unaligned
make: Leaving directory '/root/linux/tools/testing/selftests/powerpc/signal'
# vi powerpc/signal/settings
# make -j 33 -C powerpc/signal/ run_tests
TAP version 13
1..7
# timeout set to 120
# selftests: powerpc/signal: signal
# test: signal
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: signal
ok 1 selftests: powerpc/signal: signal
# timeout set to 120
# selftests: powerpc/signal: signal_tm
# test: signal_tm
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# [SKIP] Test skipped on line 58
# skip: signal_tm
ok 2 selftests: powerpc/signal: signal_tm
# timeout set to 120
# selftests: powerpc/signal: sigfuz
# test: signal_fuzzer
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
#
not ok 3 selftests: powerpc/signal: sigfuz # TIMEOUT 120 seconds
# timeout set to 120
# selftests: powerpc/signal: sigreturn_vdso
# test: sigreturn_vdso
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# VDSO is at 0x7fff8b170000-0x7fff8b17ffff (65536 bytes)
# Signal delivered OK with VDSO mapped
# VDSO moved to 0x7fff8b100000-0x7fff8b10ffff (65536 bytes)
# Signal delivered OK with VDSO moved
# Unmapped VDSO
# Remapped the stack executable
# Signal delivered OK with VDSO unmapped
# success: sigreturn_vdso
ok 4 selftests: powerpc/signal: sigreturn_vdso
# timeout set to 120
# selftests: powerpc/signal: sig_sc_double_restart
# test: sig sys restart
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: sig sys restart
ok 5 selftests: powerpc/signal: sig_sc_double_restart
# timeout set to 120
# selftests: powerpc/signal: sigreturn_kernel
# test: sigreturn_kernel
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# All children killed as expected
# success: sigreturn_kernel
ok 6 selftests: powerpc/signal: sigreturn_kernel
# timeout set to 120
# selftests: powerpc/signal: sigreturn_unaligned
# test: sigreturn_unaligned
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: sigreturn_unaligned
ok 7 selftests: powerpc/signal: sigreturn_unaligned
make: Leaving directory '/root/linux/tools/testing/selftests/powerpc/signal'
# uname -r
6.14.0-rc7-00069-g81e4f8d68c66
> I tired multiple times with the config shared by Venkat in my P10 LPAR
> and it always passes for me with default timeout as 0.
>
>
> ok 2 selftests: powerpc/signal: signal_tm
> # timeout set to 0
> # selftests: powerpc/signal: sigfuz
> # test: signal_fuzzer
> # tags: git_version:v6.14-rc2-61-g861efb8a48ee
> # success: signal_fuzzer
> ok 3 selftests: powerpc/signal: sigfuz
> # timeout set to 0
> # selftests: powerpc/signal: sigreturn_vdso
> # test: sigreturn_vdso
> # tags: git_version:v6.14-rc2-61-g861efb8a48ee
> # VDSO is at 0x7fff9aac0000-0x7fff9aacffff (65536 bytes)
> # Signal delivered OK with VDSO mapped
> # VDSO moved to 0x7fff9aa50000-0x7fff9aa5ffff (65536 bytes)
> # Signal delivered OK with VDSO moved
> # Unmapped VDSO
> # Remapped the stack executable
> # Signal delivered OK with VDSO unmapped
> # success: sigreturn_vdso
>
>
> Setup: P10 LPAR with 16CPUs, LPAR running only the selftest
> Kernel: powerpc/next (861efb8a48ee), config shared by venkat
>
> Maddy
One key difference which I could figure out so far in the set up is,
mine is Power10 system running on P11 FW.
I quickly gave a try with P10 system with P10 FW, and issue is not seen.
Logs from P10 system running on P10 FW:
1..7
# timeout set to 0
# selftests: powerpc/signal: signal
# test: signal
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: signal
ok 1 selftests: powerpc/signal: signal
# timeout set to 0
# selftests: powerpc/signal: signal_tm
# test: signal_tm
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# [SKIP] Test skipped on line 58
# skip: signal_tm
ok 2 selftests: powerpc/signal: signal_tm
# timeout set to 0
# selftests: powerpc/signal: sigfuz
# test: signal_fuzzer
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: signal_fuzzer
ok 3 selftests: powerpc/signal: sigfuz
# timeout set to 0
# selftests: powerpc/signal: sigreturn_vdso
# test: sigreturn_vdso
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# VDSO is at 0x7fffae2e0000-0x7fffae2effff (65536 bytes)
# Signal delivered OK with VDSO mapped
# VDSO moved to 0x7fffae270000-0x7fffae27ffff (65536 bytes)
# Signal delivered OK with VDSO moved
# Unmapped VDSO
# Remapped the stack executable
# Signal delivered OK with VDSO unmapped
# success: sigreturn_vdso
ok 4 selftests: powerpc/signal: sigreturn_vdso
# timeout set to 0
# selftests: powerpc/signal: sig_sc_double_restart
# test: sig sys restart
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: sig sys restart
ok 5 selftests: powerpc/signal: sig_sc_double_restart
# timeout set to 0
# selftests: powerpc/signal: sigreturn_kernel
# test: sigreturn_kernel
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# All children killed as expected
# success: sigreturn_kernel
ok 6 selftests: powerpc/signal: sigreturn_kernel
# timeout set to 0
# selftests: powerpc/signal: sigreturn_unaligned
# test: sigreturn_unaligned
# tags: git_version:v6.14-rc7-69-g81e4f8d68c66
# success: sigreturn_unaligned
ok 7 selftests: powerpc/signal: sigreturn_unaligned
Regards,
Venkat.
>
>> That could be due to a bug, but it could just be that your system is
>> overloaded or something. You can increase the timeout in the code by
>> adding a call to test_harness_timeout().
>>
>> The test also includes lots of randomisation, so if you actually need to
>> bisect it you'd want to change the code to use a consistent random seed
>> in the calls to srand().
>>
>> cheers
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-03-19 11:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 9:46 [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails Venkat Rao Bagalkote
2025-03-17 11:13 ` Michael Ellerman
2025-03-18 10:50 ` Madhavan Srinivasan
2025-03-19 11:44 ` Venkat Rao Bagalkote
2025-03-19 11:57 ` Venkat Rao Bagalkote
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).