[Bug 1935617] Re: systemd autopkgtest broken on ppc64el with qemu 6.0
Christian Ehrhardt
1935617 at bugs.launchpad.net
Mon Jul 12 14:25:29 UTC 2021
Backtraces
Two times (on rm, only slight variations)
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000798b9f361d0 in quotearg_buffer_restyled (buffer=buffer at entry=0x798b9f60130 <slot0> "'", buffersize=buffersize at entry=256,
arg=arg at entry=0x800369e198070000 <error: Cannot access memory at address 0x800369e198070000>, argsize=argsize at entry=18446744073709551615, quoting_style=shell_always_quoting_style,
flags=flags at entry=1, quote_these_too=quote_these_too at entry=0x7fffcf48d7c0, left_quote=<optimized out>, right_quote=<optimized out>) at lib/quotearg.c:400
400 lib/quotearg.c: No such file or directory.
(gdb) bt
#0 0x00000798b9f361d0 in quotearg_buffer_restyled (buffer=buffer at entry=0x798b9f60130 <slot0> "'", buffersize=buffersize at entry=256,
arg=arg at entry=0x800369e198070000 <error: Cannot access memory at address 0x800369e198070000>, argsize=argsize at entry=18446744073709551615, quoting_style=shell_always_quoting_style,
flags=flags at entry=1, quote_these_too=quote_these_too at entry=0x7fffcf48d7c0, left_quote=<optimized out>, right_quote=<optimized out>) at lib/quotearg.c:400
#1 0x00000798b9f38f64 in quotearg_n_options (options=0x7fffcf48d7b8, argsize=18446744073709551615, arg=0x800369e198070000 <error: Cannot access memory at address 0x800369e198070000>, n=0)
at lib/quotearg.c:907
#2 quotearg_n_style (arg=0x800369e198070000 <error: Cannot access memory at address 0x800369e198070000>, s=shell_escape_always_quoting_style, n=0) at lib/quotearg.c:958
#3 quotearg_style (s=shell_escape_always_quoting_style, arg=0x800369e198070000 <error: Cannot access memory at address 0x800369e198070000>) at lib/quotearg.c:972
#4 0x00000798b9f33538 in excise (fts=fts at entry=0x798e16902f0, ent=ent at entry=0x798e16915b0, x=x at entry=0x7fffcf48dbd8, is_dir=is_dir at entry=false) at src/remove.c:406
#5 0x00000798b9f34424 in rm_fts (x=<optimized out>, ent=0x798e16915b0, fts=<optimized out>) at src/remove.c:548
#6 rm (file=<optimized out>, x=0x7fffcf48dbd8) at src/remove.c:607
#7 0x00000798b9f32b70 in main (argc=<optimized out>, argv=<optimized out>) at src/rm.c:370
Once
Program terminated with signal SIGSEGV, Segmentation fault.
#0 last_component (name=0x804170e3450d0000 <error: Cannot access memory at address 0x804170e3450d0000>) at lib/basename-lgpl.c:36
36 lib/basename-lgpl.c: No such file or directory.
(gdb) bt
#0 last_component (name=0x804170e3450d0000 <error: Cannot access memory at address 0x804170e3450d0000>) at lib/basename-lgpl.c:36
#1 0x00000d45ade24298 in rm_fts (x=<optimized out>, ent=0xd45e37053b0, fts=<optimized out>) at src/remove.c:444
#2 rm (file=<optimized out>, x=0x7fffcbf8f508) at src/remove.c:607
#3 0x00000d45ade22b70 in main (argc=<optimized out>, argv=<optimized out>) at src/rm.c:370
Once (chgrp)
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000e0cb28f5190 in quotearg_buffer_restyled (buffer=buffer at entry=0xe0cb2920130 <slot0> "'", buffersize=buffersize at entry=256,
arg=arg at entry=0x606513d00c0e0000 <error: Cannot access memory at address 0x606513d00c0e0000>, argsize=argsize at entry=18446744073709551615, quoting_style=shell_always_quoting_style,
flags=flags at entry=1, quote_these_too=quote_these_too at entry=0x7fffd194aca0, left_quote=<optimized out>, right_quote=<optimized out>) at lib/quotearg.c:400
400 lib/quotearg.c: No such file or directory.
(gdb) bt
#0 0x00000e0cb28f5190 in quotearg_buffer_restyled (buffer=buffer at entry=0xe0cb2920130 <slot0> "'", buffersize=buffersize at entry=256,
arg=arg at entry=0x606513d00c0e0000 <error: Cannot access memory at address 0x606513d00c0e0000>, argsize=argsize at entry=18446744073709551615, quoting_style=shell_always_quoting_style,
flags=flags at entry=1, quote_these_too=quote_these_too at entry=0x7fffd194aca0, left_quote=<optimized out>, right_quote=<optimized out>) at lib/quotearg.c:400
#1 0x00000e0cb28f7f24 in quotearg_n_options (options=0x7fffd194ac98, argsize=18446744073709551615, arg=0x606513d00c0e0000 <error: Cannot access memory at address 0x606513d00c0e0000>, n=0)
at lib/quotearg.c:907
#2 quotearg_n_style (arg=0x606513d00c0e0000 <error: Cannot access memory at address 0x606513d00c0e0000>, s=shell_escape_always_quoting_style, n=0) at lib/quotearg.c:958
#3 quotearg_style (s=shell_escape_always_quoting_style, arg=0x606513d00c0e0000 <error: Cannot access memory at address 0x606513d00c0e0000>) at lib/quotearg.c:972
#4 0x00000e0cb28f357c in change_file_owner (fts=0xe0cd0134da0, ent=0xe0cd0134f50, uid=<optimized out>, gid=<optimized out>, required_uid=<optimized out>, required_gid=<optimized out>,
chopt=0x7fffd194b070) at src/chown-core.c:465
#5 0x00000e0cb28f45b4 in chown_files (files=<optimized out>, bit_flags=<optimized out>, uid=<optimized out>, gid=<optimized out>, required_uid=<optimized out>,
required_gid=<optimized out>, chopt=0x7fffd194b070) at src/chown-core.c:544
#6 0x00000e0cb28f2754 in main (argc=<optimized out>, argv=0x7fffd194b5a8) at src/chgrp.c:312
One was not unwindable
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00000147684c5050 in ?? ()
and in find on strlen
Program terminated with signal SIGSEGV, Segmentation fault.
#0 __strlen_power9 () at ../sysdeps/powerpc/powerpc64/le/power9/strlen.S:44
44 ../sysdeps/powerpc/powerpc64/le/power9/strlen.S: No such file or directory.
(gdb) bt
#0 __strlen_power9 () at ../sysdeps/powerpc/powerpc64/le/power9/strlen.S:44
#1 0x00007b7009036d00 in __vfprintf_internal (s=0x7b70091e17f8 <_IO_2_1_stdout_>, format=0x1bf41417420 "%s\n", ap=0x7ffffa0550b0 "", mode_flags=<optimized out>) at vfprintf-internal.c:1647
#2 0x00007b700911b400 in ___fprintf_chk (fp=<optimized out>, flag=<optimized out>, format=<optimized out>) at fprintf_chk.c:33
#3 0x000001bf413d6be0 in fprintf (__fmt=0x1bf41417420 "%s\n", __stream=<optimized out>) at /usr/include/powerpc64le-linux-gnu/bits/stdio2.h:105
#4 print_quoted (fp=<optimized out>, qopts=<optimized out>, dest_is_tty=<optimized out>, format=0x1bf41417420 "%s\n", s=<optimized out>) at printquoted.c:77
#5 0x000001bf413bb2d4 in pred_print () at pred.c:827
#6 0x000001bf413c7834 in apply_predicate (pathname=0x601e804bbf010000 <error: Cannot access memory at address 0x601e804bbf010000>, stat_buf=0x7ffffa057268, p=0x1bf4b8010d0) at util.c:1093
#7 0x000001bf413b8838 in pred_and (pred_ptr=<optimized out>, pred_ptr=<optimized out>, stat_buf=0x7ffffa057268,
pathname=0x601e804bbf010000 <error: Cannot access memory at address 0x601e804bbf010000>) at pred.c:156
#8 pred_and (pathname=0x601e804bbf010000 <error: Cannot access memory at address 0x601e804bbf010000>, stat_buf=0x7ffffa057268, pred_ptr=0x1bf4b800f90) at pred.c:151
#9 0x000001bf413c7834 in apply_predicate (pathname=0x601e804bbf010000 <error: Cannot access memory at address 0x601e804bbf010000>, stat_buf=0x7ffffa057268, p=0x1bf4b800f90) at util.c:1093
#10 0x000001bf413b7f24 in visit (pstat=<optimized out>, ent=0x1bf4b801530, p=0x1bf4b801390) at ftsfind.c:181
#11 consider_visiting (p=p at entry=0x1bf4b801390, ent=0x1bf4b801530) at ftsfind.c:460
#12 0x000001bf413b8488 in find (arg=arg at entry=0x7ffffa05ff63 "/var/lib/update-notifier/updates-available") at ftsfind.c:533
#13 0x000001bf413b7510 in process_all_startpoints (argv=<optimized out>, argc=<optimized out>) at ftsfind.c:574
#14 main (argc=<optimized out>, argv=<optimized out>) at ftsfind.c:683
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1935617
Title:
systemd autopkgtest broken on ppc64el with qemu 6.0
Status in qemu package in Ubuntu:
New
Status in systemd package in Ubuntu:
New
Bug description:
I'm not sure yet if this is flaky or a real issue, but I'm filing it
to avoid multiple people analyzing the same.
The Qemu 6.0 upload https://launchpad.net/ubuntu/+source/qemu/1:6.0+dfsg-1~ubuntu2 triggers a test failure like
https://autopkgtest.ubuntu.com/results/autopkgtest-impish/impish/ppc64el/s/systemd/20210708_223311_e3bbb@/log.gz
I have tested the new qemu on ppc64 and it worked fine for device emulation and migration cases.
But this is suspicious.
Of the last tests exactly and only those with the new qemu failed.
impish
ppc64el
tests-in-lxd (F 5% f 0% S 0% B 0% => P 95%/) F.........F.............................
systemd-fsckd (F 0% f 0% S 100% B 0% => P 0%/) SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
upstream-1 (F 15% f 0% S 0% B 0% => P 85%/) F..FFFF....F............................
upstream-2 (F 12% f 0% S 0% B 0% => P 87%/) F..FFFF.................................
For an insight in flakyness/reproducibility I've retriggered the missing qemu and the non-qemu cases a few times. If those reproduce all-bad vs all-good again this would further indicate a real issue.
Unfortunately the ppc maas seems down right now and canonistack also
isn't too nice this week - overall that inhibits the testing a bit :-/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1935617/+subscriptions
More information about the foundations-bugs
mailing list