linux 4.13.0-42.47 ADT test failure with linux 4.13.0-42.47 (nbd-smoke-test)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nbd (Ubuntu) |
Fix Released
|
High
|
Thadeu Lima de Souza Cascardo | ||
Artful |
Won't Fix
|
Medium
|
Thadeu Lima de Souza Cascardo | ||
Bionic |
Fix Released
|
Medium
|
Thadeu Lima de Souza Cascardo | ||
Cosmic |
Fix Released
|
High
|
Thadeu Lima de Souza Cascardo |
Bug Description
[Impact]
nbd-server will crash when a client connects to it, if it was started without a server name. It may also leak fds if fork fails.
[Test Case]
Running the server with an empty config file and an image on the command line, and then starting a local client will crash the server. After the fix, it doesn't crash anymore, and a filesystem may be created and used after that.
[Regression Potential]
The fix also implies a small package change, to use quilt. It has built just fine and many tests have been run on top of those packages and no failure seemed to be the result of those userspace changes, but known failures in the kernel driver.
Testing failed on:
amd64: https:/
i386: https:/
ppc64el: https:/
s390x: https:/
Changed in linux (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
status: | New → In Progress |
Changed in nbd (Ubuntu Cosmic): | |
assignee: | nobody → Thadeu Lima de Souza Cascardo (cascardo) |
importance: | Undecided → Medium |
milestone: | none → ubuntu-18.06 |
status: | New → In Progress |
tags: | added: patch |
description: | updated |
Changed in linux (Ubuntu Cosmic): | |
assignee: | Colin Ian King (colin-king) → nobody |
no longer affects: | linux (Ubuntu Cosmic) |
no longer affects: | linux (Ubuntu Bionic) |
no longer affects: | linux (Ubuntu Artful) |
no longer affects: | linux (Ubuntu Xenial) |
no longer affects: | linux (Ubuntu Trusty) |
no longer affects: | linux (Ubuntu) |
Changed in nbd (Ubuntu Artful): | |
status: | Incomplete → Won't Fix |
no longer affects: | nbd (Ubuntu Xenial) |
no longer affects: | nbd (Ubuntu Trusty) |
tags: | removed: verification-needed |
ubuntu_ nbd_smoke_ test.nbd- smoke-test is causing the failure:
04:01:24 DEBUG| [stdout] Preparing to unpack .../nbd- client_ 1%3a3.15. 2-3_amd64. deb ... server_ 1%3a3.15. 2-3_amd64. deb ... server/ config with new version img-4.13. 0-42-generic st.UhL3tr/ build.gne/ src/autotest/ client/ tests/ubuntu_ nbd_smoke_ test/ubuntu_ nbd_smoke_ test.sh' ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
04:01:24 DEBUG| [stdout] Unpacking nbd-client (1:3.15.2-3) ...
04:01:24 DEBUG| [stdout] Selecting previously unselected package nbd-server.
04:01:24 DEBUG| [stdout] Preparing to unpack .../nbd-
04:01:24 DEBUG| [stdout] Unpacking nbd-server (1:3.15.2-3) ...
04:01:24 DEBUG| [stdout] Setting up nbd-server (1:3.15.2-3) ...
04:01:25 DEBUG| [stdout]
04:01:25 DEBUG| [stdout] Creating config file /etc/nbd-
04:01:25 DEBUG| [stdout] Adding system user `nbd' (UID 113) ...
04:01:25 DEBUG| [stdout] Adding new group `nbd' (GID 117) ...
04:01:25 DEBUG| [stdout] Adding new user `nbd' (UID 113) with group `nbd' ...
04:01:25 DEBUG| [stdout] Not creating home directory `/etc/nbd-server'.
04:01:25 DEBUG| [stdout] Processing triggers for systemd (234-2ubuntu12.4) ...
04:01:26 DEBUG| [stdout] Processing triggers for man-db (2.7.6.1-2) ...
04:01:26 DEBUG| [stdout] Setting up nbd-client (1:3.15.2-3) ...
04:01:26 DEBUG| [stdout] update-initramfs: deferring update (trigger activated)
04:01:26 DEBUG| [stdout] update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
04:01:26 DEBUG| [stdout] Processing triggers for systemd (234-2ubuntu12.4) ...
04:01:26 DEBUG| [stdout] Processing triggers for initramfs-tools (0.125ubuntu12.1) ...
04:01:26 DEBUG| [stdout] update-initramfs: Generating /boot/initrd.
04:01:51 ERROR| [stderr] W: --force-yes is deprecated, use one of the options starting with --allow instead.
04:01:51 DEBUG| Running 'rm -f /etc/*/S99autotest || true'
04:01:51 DEBUG| Running '/tmp/autopkgte
04:01:51 DEBUG| [stdout]
04:01:51 DEBUG| [stdout] -------
04:01:51 DEBUG| [stdout] Image path: /tmp/nbd_image.img
04:01:51 DEBUG| [stdout] Mount point: /mnt/nbd-test-2954
04:01:51 DEBUG| [stdout] Date: Fri May 18 04:01:51 UTC 2018
04:01:51 DEBUG| [stdout] Host: autopkgtest
04:01:51 DEBUG| [stdout] Kernel: 4.13.0-42-generic #47-Ubuntu SMP Wed May 9 08:48:35 UTC 2018
04:01:51 DEBUG| [stdout] Machine: autopkgtest x86_64 x86_64
04:01:51 DEBUG| [stdout] CPUs online: 4
04:01:51 DEBUG| [stdout] CPUs total: 4
04:01:51 DEBUG| [stdout] Page size: 4096
04:01:52 DEBUG| [stdout] Pages avail: 1743769
04:01:52 DEBUG| [stdout] Pages total: 2042037
04:01:52 DEBUG| [stdout] -------
04:01:52 DEBUG| [stdout]
04:01:52 ERROR| [stderr]
04:01:52 ERROR| [stderr] ** (process:3018): WARNING **: Specifying an export on the command line no longer uses the oldstyle protocol.
04:01:52 DEBUG| [stdout] Warning: the oldstyle protocol is no longer supported.
04:01:52 DEBUG| [stdout] This method now uses the newstyle protocol with a default export
04:01:54 ERROR| [stderr] Error: Read failed: End of file
04:01:54 ERROR| [stderr] Exiting.
04:01:54 DEBUG| [st...