ubuntu_unionmount_ovlfs failed on Google n2d-standard-2 with kernel tainted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned |
Bug Description
Issue found on:
* F-gke 5.4.0-1079.85 (sur-20220711)
* F-gcp 5.4.0-1084.92 (sru-20220620)
* F-gcp-fips 5.4.0-1081.88+fips1 (sru-20220620)
It seems a bit flaky, not happen with every kernel on this instance.
Test failed with:
***
*** ./run --ov --xino open-plain
***
TEST open-plain.py:10: Open O_RDONLY
./run --open-file /mnt/a/foo100 -r -R :xxx:yyy:zzz
./run --open-file /mnt/a/foo100 -r -R :xxx:yyy:zzz
TEST open-plain.py:18: Open O_WRONLY
./run --open-file /mnt/a/foo101 -w -W q
./run --open-file /mnt/a/foo101 -r -R qxxx:yyy:zzz
./run --open-file /mnt/a/foo101 -w -W p
./run --open-file /mnt/a/foo101 -r -R pxxx:yyy:zzz
TEST open-plain.py:28: Open O_APPEND|O_WRONLY
./run --open-file /mnt/a/foo102 -a -W q
./run --open-file /mnt/a/foo102 -r -R :xxx:yyy:zzzq
./run --open-file /mnt/a/foo102 -a -W p
./run --open-file /mnt/a/foo102 -r -R :xxx:yyy:zzzqp
TEST open-plain.py:38: Open O_RDWR
./run --open-file /mnt/a/foo103 -r -w -W q
./run --open-file /mnt/a/foo103 -r -R qxxx:yyy:zzz
./run --open-file /mnt/a/foo103 -r -w -W p
./run --open-file /mnt/a/foo103 -r -R pxxx:yyy:zzz
TEST open-plain.py:48: Open O_APPEND|O_RDWR
./run --open-file /mnt/a/foo104 -r -a -W q
./run --open-file /mnt/a/foo104 -r -R :xxx:yyy:zzzq
./run --open-file /mnt/a/foo104 -r -a -W p
./run --open-file /mnt/a/foo104 -r -R :xxx:yyy:zzzqp
stderr:
Traceback (most recent call last):
File "./run", line 369, in
check_
File "/home/
raise RuntimeError(
RuntimeError: ('TAINTED 0\n -> ', '512\n')
END ERROR ubuntu_
Flag 512 here means kernel issued warning:
[ 273.676972] nvme 0000:00:04.0: overflow 0x0008000203502
[ 273.687031] ------------[ cut here ]------------
[ 273.687036] WARNING: CPU: 1 PID: 8 at kernel/
[ 273.687037] Modules linked in: nls_iso8859_1 dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua input_leds serio_raw sch_fq_codel drm ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid1 raid0 multipath linear crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper nvme psmouse nvme_core gve
[ 273.687052] CPU: 1 PID: 8 Comm: kworker/u4:0 Not tainted 5.4.0-1079-gke #85-Ubuntu
[ 273.687052] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
[ 273.687056] Workqueue: writeback wb_workfn (flush-259:0)
[ 273.687058] RIP: 0010:report_
[ 273.687060] Code: 48 8b 87 30 02 00 00 48 89 75 f8 48 85 c0 74 2a 4c 8b 00 b8 fe ff ff ff 49 39 c0 76 11 80 3d f7 aa b2 01 00 0f 84 5a 78 96 00 <0f> 0b c9 c3 48 83 bf 40 02 00 00 00 74 f2 eb e3 80 3d db aa b2 01
[ 273.687060] RSP: 0018:ffffa6e640
[ 273.687061] RAX: 0000000000000000 RBX: ffff9809fb21a000 RCX: 0000000000000000
[ 273.687062] RDX: ffff980a37b2c780 RSI: ffff980a37b1c8c8 RDI: ffff980a37b1c8c8
[ 273.687062] RBP: ffffa6e640057550 R08: ffff980a37b1c8c8 R09: 0000000000000001
[ 273.687062] R10: ffffffffb919e228 R11: ffffa6e640057290 R12: 0000000000000000
[ 273.687063] R13: 0000000000040000 R14: 0000000000000001 R15: 0000000000000100
[ 273.687066] FS: 000000000000000
[ 273.687067] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 273.687067] CR2: 00007fca1531f4b0 CR3: 0008000216b74000 CR4: 0000000000340ee0
[ 273.687070] Call Trace:
[ 273.687073] dma_direct_
[ 273.687075] dma_direct_
[ 273.687077] nvme_map_
[ 273.687080] ? recalibrate_
[ 273.687082] ? blk_add_
[ 273.687084] nvme_queue_
[ 273.687085] ? crypto_
[ 273.687087] __blk_mq_
[ 273.687088] blk_mq_
[ 273.687090] ? common_
[ 273.687091] ? recalibrate_
[ 273.687092] blk_mq_
[ 273.687093] blk_mq_
[ 273.687094] blk_mq_
[ 273.687094] ? __blk_mq_
[ 273.687096] blk_flush_
[ 273.687096] blk_mq_
[ 273.687098] generic_
[ 273.687099] submit_
[ 273.687100] ext4_io_
[ 273.687102] ext4_writepages
[ 273.687103] ? nvme_submit_
[ 273.687106] do_writepages+
[ 273.687106] ? mpage_map_
[ 273.687107] ? do_writepages+
[ 273.687108] __writeback_
[ 273.687110] writeback_
[ 273.687111] wb_writeback+
[ 273.687112] wb_workfn+
[ 273.687113] ? __switch_
[ 273.687114] ? __switch_
[ 273.687114] ? __switch_
[ 273.687116] ? finish_
[ 273.687118] ? __schedule+
[ 273.687120] process_
[ 273.687121] worker_
[ 273.687122] kthread+0x104/0x140
[ 273.687123] ? process_
[ 273.687124] ? kthread_
[ 273.687125] ret_from_
[ 273.687126] ---[ end trace 612d400c38106d5d ]---
[ 274.845534] overlayfs: "xino" feature enabled using 1 upper inode bits.
tags: | added: 5.4 focal gcp ubuntu-unionmount-ovlfs |
One interesting fact is that if you try to run this test locally on the target instance, it won't trigger this warning.
However if you run it remotely from our jenkins, it will trigger this warning message.