dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
598 stars 397 forks source link

Test 30 - "root=dhcp" fails on Debian #2497

Open bdrung opened 1 year ago

bdrung commented 1 year ago

https://github.com/dracutdevs/dracut/blob/master/test/TEST-30-ISCSI/test.sh#L81 hangs (no output for minutes) when running on a Debian container:

$ podman run --rm -it --cap-add=SYS_PTRACE --user 0 -v /dev:/dev -v ./:/dracut:z ghcr.io/dracutdevs/debian:latest bash -l
$ dpkg --purge multipath-tools
$ cd /dracut && ./configure && make -j8 && cd test
$ make V=1 KVERSION="$(cd /lib/modules; ls -1 | tail -1)" TESTS="30" clean check
[...]
iSCSI TEST SETUP: Starting DHCP/iSCSI server
Waiting for the server to startup
Waiting for the server to startup
Waiting for the server to startup
Waiting for the server to startup
+ echo Serving iSCSI
Serving iSCSI
CLIENT TEST START: root=dhcp
1+0 records in
1+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00087621 s, 1.2 GB/s
LaszloGombos commented 1 year ago

Test 30 seem to be passing both on Fedora and Arch (log from those containers can be used as reference).

dracut[I]: *** Including module: iscsi ***
Failed to enable unit, unit iscsiuio.socket does not exist.

Test 35. seems to have a similar issue as Test 30.

In the Fedora and Arch test container /usr/lib/systemd/system/iscsiuio.socket file exists. In the Debian and Ubuntu test container it does not. Installing the iscsiuio might be required for in the Debian and Ubuntu test container, but even installing that package does not seems to install iscsiuio.socket file.

Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056733