public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container
@ 2023-07-01 12:46 sam at gentoo dot org
2023-07-01 12:47 ` [Bug build/30603] " sam at gentoo dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-07-01 12:46 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
Bug ID: 30603
Summary: Various test failures with EPERM in systemd-nspawn
container
Product: glibc
Version: 2.37
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: sam at gentoo dot org
CC: carlos at redhat dot com
Target Milestone: ---
Created attachment 14950
--> https://sourceware.org/bugzilla/attachment.cgi?id=14950&action=edit
build.log.xz
I mentioned this to Carlos a few months ago but only now getting to file a bug,
sorry! When we discussed it, the conclusion was these tests should really be
autoskipped.
One example of many is tst-ntp_gettimex:
```
/var/tmp/portage/sys-libs/glibc-2.37-r3/work/build-hppa-hppa2.0-unknown-linux-gnu-nptl/misc/tst-ntp_gettimex.out
```
error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL
failed: Operation not permitted
error: 1 test failures
```
Full failure list (a handful of these are unrelated, like the math ones, but I
figure that's obvious);
```
# grep FAIL /var/tmp/portage/sys-libs/glibc-2.37-r3/temp/build.log
FAIL: debug/tst-ssp-1
FAIL: elf/tst-execstack
FAIL: elf/tst-execstack-needed
FAIL: elf/tst-execstack-prog
FAIL: math/test-double-j0
FAIL: math/test-double-j1
FAIL: math/test-double-log
FAIL: math/test-float32x-j0
FAIL: math/test-float32x-j1
FAIL: math/test-float32x-log
FAIL: math/test-float64-j0
FAIL: math/test-float64-j1
FAIL: math/test-float64-log
FAIL: math/test-ldouble-j0
FAIL: math/test-ldouble-j1
FAIL: math/test-ldouble-log
FAIL: misc/test-errno-linux
FAIL: misc/tst-mlock2
FAIL: misc/tst-ntp_gettime
FAIL: misc/tst-ntp_gettime-time64
FAIL: misc/tst-ntp_gettimex
FAIL: misc/tst-ntp_gettimex-time64
FAIL: misc/tst-pkey
FAIL: misc/tst-process_mrelease
FAIL: nptl/tst-execstack
FAIL: time/tst-adjtime
FAIL: time/tst-adjtime-time64
FAIL: time/tst-clock2
FAIL: time/tst-clock2-time64
29 FAIL
21 XFAIL
```
I've seen the same sort of thing on arm64 and possibly amd64 (but would need to
check).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
@ 2023-07-01 12:47 ` sam at gentoo dot org
2023-07-01 12:47 ` sam at gentoo dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-07-01 12:47 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://github.com/moby/mob
| |y/issues/33126
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
2023-07-01 12:47 ` [Bug build/30603] " sam at gentoo dot org
@ 2023-07-01 12:47 ` sam at gentoo dot org
2023-07-03 2:37 ` carlos at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: sam at gentoo dot org @ 2023-07-01 12:47 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
Sam James <sam at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |toolchain at gentoo dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
2023-07-01 12:47 ` [Bug build/30603] " sam at gentoo dot org
2023-07-01 12:47 ` sam at gentoo dot org
@ 2023-07-03 2:37 ` carlos at redhat dot com
2023-07-22 19:15 ` dilfridge at gentoo dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: carlos at redhat dot com @ 2023-07-03 2:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
--- Comment #1 from Carlos O'Donell <carlos at redhat dot com> ---
(In reply to Sam James from comment #0)
> One example of many is tst-ntp_gettimex:
> ```
> /var/tmp/portage/sys-libs/glibc-2.37-r3/work/build-hppa-hppa2.0-unknown-
> linux-gnu-nptl/misc/tst-ntp_gettimex.out
> ```
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL
> failed: Operation not permitted
>
> error: 1 test failures
> ```
Are you able to reproduce this under strace and determine the exact syscall
that is failing? Sometimes it's surprising what's failing.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
` (2 preceding siblings ...)
2023-07-03 2:37 ` carlos at redhat dot com
@ 2023-07-22 19:15 ` dilfridge at gentoo dot org
2023-07-22 19:31 ` dilfridge at gentoo dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dilfridge at gentoo dot org @ 2023-07-22 19:15 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
Andreas K. Huettel <dilfridge at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|2.37 |2.38
CC| |dilfridge at gentoo dot org
--- Comment #2 from Andreas K. Huettel <dilfridge at gentoo dot org> ---
aarch64 (jiji)
* baremetal
no failures
* in systemd-nspawn:
FAIL: misc/test-errno-linux
FAIL: misc/tst-mlock2
FAIL: misc/tst-ntp_gettime
FAIL: misc/tst-ntp_gettimex
FAIL: misc/tst-pkey
FAIL: misc/tst-process_mrelease
FAIL: time/tst-adjtime
Details from jiji:
FAIL: misc/test-errno-linux
> FAIL: mlock: errno is: 1 (Operation not permitted) expected one of LIST_FORWARD ({ 22, 12 })
FAIL: misc/tst-mlock2
> error: ../sysdeps/unix/sysv/linux/tst-mlock2.c:40: mlock: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-ntp_gettime
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL failed: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-ntp_gettimex
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL failed: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-pkey
> error: ../sysdeps/unix/sysv/linux/tst-pkey.c:206: pkey_alloc: Operation not permitted
> error: 1 test failures
FAIL: misc/tst-process_mrelease
> ../sysdeps/unix/sysv/linux/tst-process_mrelease.c:54: numeric comparison failure
> left: 1 (0x1); from: errno
> right: 9 (0x9); from: EBADF
> ../sysdeps/unix/sysv/linux/tst-process_mrelease.c:69: numeric comparison failure
> left: 1 (0x1); from: errno
> right: 22 (0x16); from: EINVAL
> error: 2 test failures
FAIL: time/tst-adjtime
> error: tst-adjtime.c:38: adjtime (NULL, ...) failed: Operation not permitted
> error: 1 test failures
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
` (3 preceding siblings ...)
2023-07-22 19:15 ` dilfridge at gentoo dot org
@ 2023-07-22 19:31 ` dilfridge at gentoo dot org
2023-07-22 19:32 ` dilfridge at gentoo dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: dilfridge at gentoo dot org @ 2023-07-22 19:31 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
--- Comment #3 from Andreas K. Huettel <dilfridge at gentoo dot org> ---
x86 build on x86-64 (demeter)
* baremetal
no failures
* in systemd-nspawn
FAIL: misc/test-errno-linux
FAIL: misc/tst-bz21269
FAIL: misc/tst-mlock2
FAIL: misc/tst-ntp_gettime
FAIL: misc/tst-ntp_gettime-time64
FAIL: misc/tst-ntp_gettimex
FAIL: misc/tst-ntp_gettimex-time64
FAIL: misc/tst-pkey
FAIL: misc/tst-process_mrelease
FAIL: time/tst-adjtime
FAIL: time/tst-adjtime-time64
Details from demeter:
FAIL: misc/test-errno-linux
> FAIL: mlock: errno is: 1 (Operation not permitted) expected one of LIST_FORWARD ({ 22, 12 })
FAIL: misc/tst-bz21269
> error: ../sysdeps/unix/sysv/linux/i386/tst-bz21269.c:55: not true: syscall (SYS_modify_ldt, 1, ptr, bytecount) == 0
> error: 1 test failures
FAIL: misc/tst-mlock2
> error: ../sysdeps/unix/sysv/linux/tst-mlock2.c:40: mlock: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-ntp_gettime
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL failed: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-ntp_gettime-time64
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL failed: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-ntp_gettimex
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL failed: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-ntp_gettimex-time64
> error: ../sysdeps/unix/sysv/linux/tst-ntp_gettime.c:46: NTP_GETTIME_SYSCALL failed: Operation not permitted
>
> error: 1 test failures
FAIL: misc/tst-pkey
> error: ../sysdeps/unix/sysv/linux/tst-pkey.c:206: pkey_alloc: Operation not permitted
> error: 1 test failures
FAIL: misc/tst-process_mrelease
> ../sysdeps/unix/sysv/linux/tst-process_mrelease.c:54: numeric comparison failure
> left: 1 (0x1); from: errno
> right: 9 (0x9); from: EBADF
> ../sysdeps/unix/sysv/linux/tst-process_mrelease.c:69: numeric comparison failure
> left: 1 (0x1); from: errno
> right: 22 (0x16); from: EINVAL
> error: 2 test failures
FAIL: time/tst-adjtime
> error: tst-adjtime.c:38: adjtime (NULL, ...) failed: Operation not permitted
> error: 1 test failures
FAIL: time/tst-adjtime-time64
> error: ./tst-adjtime.c:38: adjtime (NULL, ...) failed: Operation not permitted
> error: 1 test failures
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
` (4 preceding siblings ...)
2023-07-22 19:31 ` dilfridge at gentoo dot org
@ 2023-07-22 19:32 ` dilfridge at gentoo dot org
2023-07-27 13:58 ` gabravier at gmail dot com
2023-08-01 15:12 ` freswa at archlinux dot org
7 siblings, 0 replies; 9+ messages in thread
From: dilfridge at gentoo dot org @ 2023-07-22 19:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
--- Comment #4 from Andreas K. Huettel <dilfridge at gentoo dot org> ---
PS The last comments are from git master builds at
bb9a4fc02841cf58a112a44b259477547893838b
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
` (5 preceding siblings ...)
2023-07-22 19:32 ` dilfridge at gentoo dot org
@ 2023-07-27 13:58 ` gabravier at gmail dot com
2023-08-01 15:12 ` freswa at archlinux dot org
7 siblings, 0 replies; 9+ messages in thread
From: gabravier at gmail dot com @ 2023-07-27 13:58 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
Gabriel Ravier <gabravier at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gabravier at gmail dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug build/30603] Various test failures with EPERM in systemd-nspawn container
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
` (6 preceding siblings ...)
2023-07-27 13:58 ` gabravier at gmail dot com
@ 2023-08-01 15:12 ` freswa at archlinux dot org
7 siblings, 0 replies; 9+ messages in thread
From: freswa at archlinux dot org @ 2023-08-01 15:12 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=30603
Frederik Schwan <freswa at archlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freswa at archlinux dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-08-01 15:12 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 12:46 [Bug build/30603] New: Various test failures with EPERM in systemd-nspawn container sam at gentoo dot org
2023-07-01 12:47 ` [Bug build/30603] " sam at gentoo dot org
2023-07-01 12:47 ` sam at gentoo dot org
2023-07-03 2:37 ` carlos at redhat dot com
2023-07-22 19:15 ` dilfridge at gentoo dot org
2023-07-22 19:31 ` dilfridge at gentoo dot org
2023-07-22 19:32 ` dilfridge at gentoo dot org
2023-07-27 13:58 ` gabravier at gmail dot com
2023-08-01 15:12 ` freswa at archlinux dot org
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 read-only IMAP folder(s) and NNTP newsgroup(s).