ubuntu_nbd_smoke_test failed with 4.15 kernel

Bug #1825136 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned
linux (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

ubuntu_nbd_smoke_test is failing with 4.15 kernel, can be reproduced on KVM / bare metals:

creating backing nbd image /tmp/nbd_image.img

--------------------------------------------------------------------------------
Image path: /tmp/nbd_image.img
Mount point: /mnt/nbd-test-11013
Date: Fri Apr 12 00:41:45 UTC 2019
Host: curly
Kernel: 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019
Machine: curly x86_64 x86_64
CPUs online: 2
CPUs total: 2
Page size: 4096
Pages avail: 249824
Pages total: 510259
Free space:
Filesystem Size Used Avail Use% Mounted on
udev 967M 0 967M 0% /dev
tmpfs 200M 752K 199M 1% /run
/dev/vda1 7.3G 4.1G 2.9G 59% /
tmpfs 997M 0 997M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 997M 0 997M 0% /sys/fs/cgroup
tmpfs 200M 0 200M 0% /run/user/1000
--------------------------------------------------------------------------------

NBD device /dev/nbd0 created
found nbd export
NBD exports found:
test
starting client with NBD device /dev/nbd0
Negotiation: ..size = 128MB
creating ext4 on /dev/nbd0
mkfs on /dev/nbd0 succeeded after 0 attempt(s)
checking ext4 on /dev/nbd0
fsck from util-linux 2.31.1
/dev/nbd0: clean, 11/32768 files, 9787/131072 blocks

mount:
/dev/nbd0 on /mnt/nbd-test-11013 type ext4 (rw,relatime,data=ordered)
mounted on /dev/nbd0

free:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nbd0 122835 1550 112111 2% /mnt/nbd-test-11013

creating large file /mnt/nbd-test-11013/largefile
-rw-r--r-- 1 root root 100M Apr 12 00:41 /mnt/nbd-test-11013/largefile

free:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/nbd0 122835 103951 9710 92% /mnt/nbd-test-11013

removing file /mnt/nbd-test-11013/largefile
unmounting /mnt/nbd-test-11013
stopping client
disconnect, sock, done
Found kernel warning, IO error and/or call trace
echo
[ 487.485530] creating backing nbd image /tmp/nbd_image.img
[ 489.055452] NBD device /dev/nbd0 created
[ 489.755524] found nbd export
[ 490.810667] starting client with NBD device /dev/nbd0
[ 490.819578] creating ext4 on /dev/nbd0
[ 491.171437] mkfs on /dev/nbd0 succeeded after 0 attempt(s)
[ 491.369456] checking ext4 on /dev/nbd0
[ 491.391980] EXT4-fs (nbd0): mounted filesystem with ordered data mode. Opts: (null)
[ 491.403665] mounted on /dev/nbd0
[ 491.406022] creating large file /mnt/nbd-test-11013/largefile
[ 492.853579] removing file /mnt/nbd-test-11013/largefile
[ 493.011021] unmounting /mnt/nbd-test-11013
[ 494.062904] stopping client
[ 494.066127] block nbd0: NBD_DISCONNECT
[ 494.066593] block nbd0: shutting down sockets
[ 494.066983] nbd0: detected capacity change from 0 to 134217728
[ 494.067033] print_req_error: I/O error, dev nbd0, sector 0
[ 494.068313] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.069987] print_req_error: I/O error, dev nbd0, sector 0
[ 494.070790] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.071799] print_req_error: I/O error, dev nbd0, sector 0
[ 494.072608] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.073606] ldm_validate_partition_table(): Disk read failed.
[ 494.073613] print_req_error: I/O error, dev nbd0, sector 0
[ 494.074400] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.075390] print_req_error: I/O error, dev nbd0, sector 0
[ 494.076206] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.077208] print_req_error: I/O error, dev nbd0, sector 0
[ 494.077995] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.078985] print_req_error: I/O error, dev nbd0, sector 0
[ 494.079772] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.080771] Dev nbd0: unable to read RDB block 0
[ 494.081734] print_req_error: I/O error, dev nbd0, sector 0
[ 494.082522] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.083518] print_req_error: I/O error, dev nbd0, sector 24
[ 494.084465] Buffer I/O error on dev nbd0, logical block 3, async page read
[ 494.085729] print_req_error: I/O error, dev nbd0, sector 0
[ 494.086517] Buffer I/O error on dev nbd0, logical block 0, async page read
[ 494.087509] nbd0: unable to read partition table
[ 494.171320] Found kernel warning, IO error and/or call trace
[ 494.171374] echo
killing server
================================================================================

Completed

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1036-oem 4.15.0-1036.41
ProcVersionSignature: User Name 4.15.0-1036.41-oem 4.15.18
Uname: Linux 4.15.0-1036-oem x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Wed Apr 17 08:44:35 2019
SourcePackage: linux-signed-oem
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
affects: linux-signed-oem (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1825136

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.