mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: Michael Ellerman <mpe@ellerman.id.au>,
	Venkat Rao Bagalkote <venkat88@linux.ibm.com>,
	linuxppc-dev@lists.ozlabs.org,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [main-line][PowerPC]selftests/powerpc/signal: sigfuz fails
Date: Tue, 18 Mar 2025 16:20:32 +0530	[thread overview]
Message-ID: <8efb89d6-cae0-441c-909c-3de5574e9058@linux.ibm.com> (raw)
In-Reply-To: <87v7s7di56.fsf@mpe.ellerman.id.au>



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


  reply	other threads:[~2025-03-18 10:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-17  9:46 Venkat Rao Bagalkote
2025-03-17 11:13 ` Michael Ellerman
2025-03-18 10:50   ` Madhavan Srinivasan [this message]
2025-03-19 11:44     ` Venkat Rao Bagalkote
2025-03-19 11:57     ` Venkat Rao Bagalkote

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8efb89d6-cae0-441c-909c-3de5574e9058@linux.ibm.com \
    --to=maddy@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=venkat88@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®