Chrony test hangs with libpcap2 1:2.31-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bubblewrap (Debian) |
Fix Released
|
Unknown
|
|||
bubblewrap (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
libcap2 (Debian) |
Fix Released
|
Unknown
|
|||
libcap2 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Tests are blocking and failing eventually with a timeout.
Hits all architectures and is reproducible.
Locally reproducible in autopkgtest:
sudo ~/work/
Seems to be a block on network on __skb_wait_
$cat /proc/3833/wchan
__skb_wait_
From strace POV that is a wait in accept that does not unblock:
$ sudo strace -rT -p 3833
strace: Process 3833 attached
0.000000 accept(6, NULL, NULL
<hangs>
The logs are no help:
/tmp/autopkgtes
/tmp/autopkgtes
$ cat /tmp/autopkgtes
make: Entering directory '/tmp/autopkgte
cc -O2 -Wall -g -fPIC -c -o client.o client.c
cc -O2 -Wall -g -fPIC -shared -o clknetsim.so client.o -ldl -lm
g++ -O2 -Wall -g -fPIC -c -o clock.o clock.cc
g++ -O2 -Wall -g -fPIC -c -o node.o node.cc
g++ -O2 -Wall -g -fPIC -c -o generator.o generator.cc
g++ -O2 -Wall -g -fPIC -c -o network.o network.cc
g++ -O2 -Wall -g -fPIC -c -o server.o server.cc
g++ -O2 -Wall -g -fPIC -c -o stats.o stats.cc
g++ -O2 -Wall -g -fPIC -o clknetsim clock.o node.o generator.o network.o server.o stats.o
make: Leaving directory '/tmp/autopkgte
001-defaults
<hang>
Noisy PS output:
4 0 506 1 20 0 2600 1920 - Ss ttyS1 0:00 /bin/sh
1 0 3690 506 20 0 2600 128 - S+ ttyS1 0:00 \_ /bin/sh
4 0 3691 3690 20 0 8172 3660 - S+ ttyS1 0:00 \_ su -s /bin/bash ubuntu -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile
>/dev/null 2>&1 || true; buildtree=
CTS="/tmp/
KGTEST_
LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtes
d; set -C; echo $$ > /tmp/autopkgtes
tests/upstream-
pq/build.
tion-test-
4 1000 3720 3691 20 0 8608 3852 do_wai Ss ? 0:00 \_ bash -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev/null 2>
&1 || true; buildtree=
pkgtest.
mp/autopkgtest.
TYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtes
o $$ > /tmp/autopkgtes
-simulation-
rc/debian/
e-stdout);
0 1000 3728 3720 20 0 2600 732 do_wai S ? 0:00 \_ /bin/sh /tmp/autopkgtes
1 1000 3729 3728 20 0 8608 1896 do_wai S ? 0:00 \_ bash -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev
/null 2>&1 || true; buildtree=
tmp/autopkgtest
_TMP="/
AGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtes
-C; echo $$ > /tmp/autopkgtes
upstream-
ld.KhE/
est-suite-stdout);
0 1000 3730 3729 20 0 7228 848 pipe_w S ? 0:00 | \_ tee -a /tmp/autopkgtes
1 1000 3731 3728 20 0 8608 1756 do_wai S ? 0:00 \_ bash -c set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true; . ~/.profile >/dev
/null 2>&1 || true; buildtree=
tmp/autopkgtest
_TMP="/
AGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f /tmp/autopkgtes
-C; echo $$ > /tmp/autopkgtes
upstream-
ld.KhE/
est-suite-stdout);
0 1000 3732 3731 20 0 7228 780 pipe_w S ? 0:00 | \_ tee -a /tmp/autopkgtes
0 1000 3794 3728 20 0 8608 3300 do_wai S ? 0:00 \_ /bin/bash ./run -i 20 -m 2
0 1000 3798 3794 20 0 9136 3992 do_wai S ? 0:00 \_ /bin/bash ./001-defaults
0 1000 3833 3798 20 0 5928 1864 skb_wa S ? 0:00 \_ /tmp/autopkgtes
Changed in chrony (Ubuntu): | |
status: | New → Confirmed |
Changed in libcap2 (Ubuntu): | |
importance: | Undecided → High |
Changed in libcap2 (Debian): | |
status: | Unknown → Fix Released |
Changed in bubblewrap (Debian): | |
status: | Unknown → Fix Released |
The clknetsim hangs here: entry=. .., len=len@entry=0x0) at ../sysdeps/ unix/sysv/ linux/accept. c:26 :prepare_ clients (this=0x5644139 23eb0) at network.cc:131 eb08) at server.cc:206
(gdb) bt
#0 0x00007f5061169307 in __libc_accept (fd=fd@entry=6, addr=addr@
#1 0x0000564411e91dad in Network:
#2 0x0000564411e8ceff in main (argc=<optimized out>, argv=0x7fff72e0