linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process
@ 2022-11-08  9:58 Naresh Kamboju
  2022-11-08 10:04 ` Christian Brauner
  2022-11-08 10:35 ` Florian Weimer
  0 siblings, 2 replies; 6+ messages in thread
From: Naresh Kamboju @ 2022-11-08  9:58 UTC (permalink / raw)
  To: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage
  Cc: Florian Weimer, libc-alpha, linux-api, Christian Brauner,
	Shuah Khan

selftests: clone3: clone3_clear_sighand failed on arm32 and i386
but passed on arm64 and x86_64.

Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>

# selftests: clone3: clone3_clear_sighand
# TAP version 13
# 1..1
# # clone3() syscall supported
# Bail out! Failed to clear signal handler for child process
# # Planned tests != run tests (1 != 0)
# # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
not ok 2 selftests: clone3: clone3_clear_sighand # exit=1

Test details links,
https://lkft.validation.linaro.org/scheduler/job/5820146#L1795

Test results comparison link,
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221107/testrun/12848543/suite/kselftest-clone3/test/clone3.clone3_clear_sighand/history/

metadata:
  git_ref: master
  git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next
  git_sha: b6fc3fddade7a194bd141a49f2689e50f796ef46
  git_describe: next-20221108
  kernel_version: 6.1.0-rc4
  kernel-config: https://builds.tuxbuild.com/2HFnr3jvzSvcbeO3iSMp7Fbvmmq/config
  build-url: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/pipelines/688275399
  artifact-location: https://builds.tuxbuild.com/2HFnr3jvzSvcbeO3iSMp7Fbvmmq
  toolchain: gcc-11

--
Linaro LKFT
https://lkft.linaro.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process
  2022-11-08  9:58 selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process Naresh Kamboju
@ 2022-11-08 10:04 ` Christian Brauner
  2022-11-08 10:21   ` Naresh Kamboju
  2022-11-08 10:35 ` Florian Weimer
  1 sibling, 1 reply; 6+ messages in thread
From: Christian Brauner @ 2022-11-08 10:04 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage,
	Florian Weimer, libc-alpha, linux-api, Christian Brauner,
	Shuah Khan

On Tue, Nov 08, 2022 at 03:28:55PM +0530, Naresh Kamboju wrote:
> selftests: clone3: clone3_clear_sighand failed on arm32 and i386
> but passed on arm64 and x86_64.
> 
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> 
> # selftests: clone3: clone3_clear_sighand
> # TAP version 13
> # 1..1
> # # clone3() syscall supported
> # Bail out! Failed to clear signal handler for child process
> # # Planned tests != run tests (1 != 0)
> # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
> not ok 2 selftests: clone3: clone3_clear_sighand # exit=1
> 
> Test details links,
> https://lkft.validation.linaro.org/scheduler/job/5820146#L1795
> 
> Test results comparison link,
> https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221107/testrun/12848543/suite/kselftest-clone3/test/clone3.clone3_clear_sighand/history/

Seems before 27 September 2022 this test wasn't run on 32bit instances
and noone ever noticed?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process
  2022-11-08 10:04 ` Christian Brauner
@ 2022-11-08 10:21   ` Naresh Kamboju
  2022-11-08 11:25     ` Christian Brauner
  0 siblings, 1 reply; 6+ messages in thread
From: Naresh Kamboju @ 2022-11-08 10:21 UTC (permalink / raw)
  To: Christian Brauner
  Cc: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage,
	Florian Weimer, libc-alpha, linux-api, Christian Brauner,
	Shuah Khan

On Tue, 8 Nov 2022 at 15:34, Christian Brauner <brauner@kernel.org> wrote:
>
> On Tue, Nov 08, 2022 at 03:28:55PM +0530, Naresh Kamboju wrote:
> > selftests: clone3: clone3_clear_sighand failed on arm32 and i386
> > but passed on arm64 and x86_64.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > # selftests: clone3: clone3_clear_sighand
> > # TAP version 13
> > # 1..1
> > # # clone3() syscall supported
> > # Bail out! Failed to clear signal handler for child process
> > # # Planned tests != run tests (1 != 0)
> > # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
> > not ok 2 selftests: clone3: clone3_clear_sighand # exit=1
> >
> > Test details links,
> > https://lkft.validation.linaro.org/scheduler/job/5820146#L1795
> >
> > Test results comparison link,
> > https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221107/testrun/12848543/suite/kselftest-clone3/test/clone3.clone3_clear_sighand/history/
>
> Seems before 27 September 2022 this test wasn't run on 32bit instances
> and noone ever noticed?

This email is about sharing the results log and reporting failures.
If you think it is not supported on 32bit the test should SKIP instead of fail.

We have test data available from more than a year,
https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221107/testrun/12848543/suite/kselftest-clone3/test/clone3.clone3_clear_sighand/history/?page=13

- Naresh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process
  2022-11-08  9:58 selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process Naresh Kamboju
  2022-11-08 10:04 ` Christian Brauner
@ 2022-11-08 10:35 ` Florian Weimer
  2022-11-08 10:53   ` Naresh Kamboju
  1 sibling, 1 reply; 6+ messages in thread
From: Florian Weimer @ 2022-11-08 10:35 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage,
	libc-alpha, linux-api, Christian Brauner, Shuah Khan

* Naresh Kamboju:

> selftests: clone3: clone3_clear_sighand failed on arm32 and i386
> but passed on arm64 and x86_64.
>
> Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
>
> # selftests: clone3: clone3_clear_sighand
> # TAP version 13
> # 1..1
> # # clone3() syscall supported
> # Bail out! Failed to clear signal handler for child process
> # # Planned tests != run tests (1 != 0)
> # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
> not ok 2 selftests: clone3: clone3_clear_sighand # exit=1

Not sure why you are reporting this to libc-alpha.  We'd like to help,
but there doesn't seem to be anything glibc-specific in this report?

Thanks,
Florian


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process
  2022-11-08 10:35 ` Florian Weimer
@ 2022-11-08 10:53   ` Naresh Kamboju
  0 siblings, 0 replies; 6+ messages in thread
From: Naresh Kamboju @ 2022-11-08 10:53 UTC (permalink / raw)
  To: Florian Weimer
  Cc: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage,
	libc-alpha, linux-api, Christian Brauner, Shuah Khan

On Tue, 8 Nov 2022 at 16:05, Florian Weimer <fweimer@redhat.com> wrote:
>
> * Naresh Kamboju:
>
> > selftests: clone3: clone3_clear_sighand failed on arm32 and i386
> > but passed on arm64 and x86_64.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> >
> > # selftests: clone3: clone3_clear_sighand
> > # TAP version 13
> > # 1..1
> > # # clone3() syscall supported
> > # Bail out! Failed to clear signal handler for child process
> > # # Planned tests != run tests (1 != 0)
> > # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
> > not ok 2 selftests: clone3: clone3_clear_sighand # exit=1
>
> Not sure why you are reporting this to libc-alpha.  We'd like to help,
> but there doesn't seem to be anything glibc-specific in this report?

This is coming from a commit log having CC to the libc-alpha list.
However, please ignore the report if it is not related.

--
tests: test CLONE_CLEAR_SIGHAND
Test that CLONE_CLEAR_SIGHAND resets signal handlers to SIG_DFL for the
child process and that CLONE_CLEAR_SIGHAND and CLONE_SIGHAND are
mutually exclusive.

Cc: Florian Weimer <fweimer@redhat.com>
Cc: libc-alpha@sourceware.org
Cc: linux-api@vger.kernel.org
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20191014104538.3096-2-christian.brauner@ubuntu.com

>
> Thanks,
> Florian


- Naresh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process
  2022-11-08 10:21   ` Naresh Kamboju
@ 2022-11-08 11:25     ` Christian Brauner
  0 siblings, 0 replies; 6+ messages in thread
From: Christian Brauner @ 2022-11-08 11:25 UTC (permalink / raw)
  To: Naresh Kamboju
  Cc: open list:KERNEL SELFTEST FRAMEWORK, open list, lkft-triage,
	Florian Weimer, libc-alpha, linux-api, Christian Brauner,
	Shuah Khan

On Tue, Nov 08, 2022 at 03:51:24PM +0530, Naresh Kamboju wrote:
> On Tue, 8 Nov 2022 at 15:34, Christian Brauner <brauner@kernel.org> wrote:
> >
> > On Tue, Nov 08, 2022 at 03:28:55PM +0530, Naresh Kamboju wrote:
> > > selftests: clone3: clone3_clear_sighand failed on arm32 and i386
> > > but passed on arm64 and x86_64.
> > >
> > > Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
> > >
> > > # selftests: clone3: clone3_clear_sighand
> > > # TAP version 13
> > > # 1..1
> > > # # clone3() syscall supported
> > > # Bail out! Failed to clear signal handler for child process
> > > # # Planned tests != run tests (1 != 0)
> > > # # Totals: pass:0 fail:0 xfail:0 xpass:0 skip:0 error:0
> > > not ok 2 selftests: clone3: clone3_clear_sighand # exit=1
> > >
> > > Test details links,
> > > https://lkft.validation.linaro.org/scheduler/job/5820146#L1795
> > >
> > > Test results comparison link,
> > > https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20221107/testrun/12848543/suite/kselftest-clone3/test/clone3.clone3_clear_sighand/history/
> >
> > Seems before 27 September 2022 this test wasn't run on 32bit instances
> > and noone ever noticed?
> 
> This email is about sharing the results log and reporting failures.
> If you think it is not supported on 32bit the test should SKIP instead of fail.

No, I was just asking whether this has been detected just now for the
first time. If this has been a problem for such a long time I was just
puzzled why this was never reported.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-11-08 11:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-08  9:58 selftests: clone3: clone3_clear_sighand failed - Bail out! Failed to clear signal handler for child process Naresh Kamboju
2022-11-08 10:04 ` Christian Brauner
2022-11-08 10:21   ` Naresh Kamboju
2022-11-08 11:25     ` Christian Brauner
2022-11-08 10:35 ` Florian Weimer
2022-11-08 10:53   ` Naresh Kamboju

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).