ubuntu_ltp_kernel_misc compilation error on bionic kernels

Bug #1988486 reported by Cory Todd
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-kernel-tests
New
Undecided
Unassigned

Bug Description

While testing bionic:linux-kvm-4.15.0-1127.132 the test appears to have failed due to a compilation issue with autotest client:

12:34:41 DEBUG| [stdout] make -C /lib/modules/4.15.0-1127-kvm/build M=/home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel
12:34:44 DEBUG| [stdout] CC [M] /home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.o
12:34:44 ERROR| [stderr] /home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.c: In function ‘send_request’:
12:34:44 ERROR| [stderr] /home/ubuntu/autotest/client/tmp/ubuntu_ltp_kernel_misc/src/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ltp_tbio.c:82:7: error: implicit declaration of function ‘blk_make_request’; did you mean ‘blk_end_request’? [-Werror=implicit-function-declaration]
12:34:44 ERROR| [stderr] rq = blk_make_request(q, bio, GFP_KERNEL);
12:34:44 ERROR| [stderr] ^~~~~~~~~~~~~~~~
12:34:44 ERROR| [stderr] blk_end_request
12:34:44 ERROR| [stderr]

... (repeated for a many files)

This also appears to affect bionic:linux-aws-5.4-1085.91~18.04.1

Cory Todd (corytodd)
tags: added: bionic linux-kvm
Po-Hsu Lin (cypressyew)
summary: - autotest client fails to compile on bionic kernels
+ ubuntu_ltp_kernel_misc compilation error on bionic kernels
description: updated
Po-Hsu Lin (cypressyew)
tags: added: sru-20220829 ubuntu-qrt-apparmor
tags: added: ubuntu-ltp-kernel-misc
removed: ubuntu-qrt-apparmor
Revision history for this message
Cory Todd (corytodd) wrote :

The api this test is relying on was removed from upstream linux

4613c5f1df92 (2016-07-19) scsi/osd: open code blk_make_request

so this has been broken for a long time. Only now know this because of the new sut deploy failure detection feature. We've been manually marking this test as passed for as long as I can find historical data for.

The upstream linux-test-project has (ltp) has commit

b1bbd738e "tbio/ltp_tbio.c: Change the order of calling blk_cleanup_queue() and del_gendisk()"

which acknowledges that this will not compile.

Would it be appropriate to blacklist this test case instead of adding hints at this point?

Cory Todd (corytodd)
tags: added: sru-20220919
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.