** Description changed:

+ [Impact]
+ 
+ The udisks2 autopkgtest suite fails in Ubuntu Noble (24.04 LTS) with the      
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ following error:                                                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+   modprobe: FATAL: Module scsi_debug not found in directory                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+   /lib/modules/6.8.0-124-generic                                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+   ...                                                                         
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+   AssertionError: Failure to modprobe scsi_debug                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ The scsi_debug kernel module is used by the udisks2 integration test to       
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ simulate a virtual SCSI block device. It is shipped in the                    
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ linux-modules-extra package, which is NOT installed by default in the LXD     
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ VM images now used by the autopkgtest infrastructure.                         
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ The udisks2 package itself and its runtime behaviour are entirely             
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ unaffected. This is a pure test-environment regression that blocks SRUs
+ for some packages.                                                            
                                                                                
                                                                                
                                                                                
                                                                                
        
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ The issue only affects Noble and older Ubuntu releases. Since Questing,       
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ scsi_debug is part of linux-modules directly and does not require             
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ linux-modules-extra.                                                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ [Test Case]                                                                   
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ 
+ Prerequisites: an Ubuntu Noble (24.04 LTS) system. The fix only touches       
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ debian/tests/control, so testing is done by triggering the autopkgtest.       
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+                                                                               
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ [Regression Potential]                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ 
+ Very low. The change is limited to debian/tests/control (test metadata        
                                                                                
                                                                                
                                                                                
                                                                                
                                                              
+ only). No production code, daemon, library or configuration is modified.      
           
+ 
+ Original Report
+ ----
+ 
  On noble, autopkgtest for udisks has regressed and show the following
  error:
  
  207s autopkgtest [22:26:06]: test upstream-system: [-----------------------
  208s modprobe: FATAL: Module scsi_debug not found in directory 
/lib/modules/6.8.0-124-generic
  208s Testing installed system binaries
  208s daemon path: /usr/libexec/udisks2/udisksd
  208s Traceback (most recent call last):
  208s   File 
"/tmp/autopkgtest.B8WMTw/build.zP9/src/src/tests/integration-test", line 1958, 
in <module>
  208s     UDisksTestCase.init(logfile=cli_args.logfile, system=cli_args.system)
  208s   File 
"/tmp/autopkgtest.B8WMTw/build.zP9/src/src/tests/integration-test", line 159, 
in init
  208s     (cls.device, cls.cd_device) = cls.setup_vdev()
  208s                                   ^^^^^^^^^^^^^^^^
  208s   File 
"/tmp/autopkgtest.B8WMTw/build.zP9/src/src/tests/integration-test", line 447, 
in setup_vdev
  208s     assert subprocess.call(['modprobe', 'scsi_debug', 'dev_size_mb=%i' % 
(
  208s            
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  208s AssertionError: Failure to modprobe scsi_debug
  
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  noble/noble/amd64/u/udisks2/20260610_222609_50253@/log.gz
  
  My theory is that the LXD VMs that we use nowadays don't come with
  linux-modules-extra-$(uname -r) installed.
  
-   0s autopkgtest [22:22:39]: host juju-bc7b8f-prod-autopkgtest-
+   0s autopkgtest [22:22:39]: host juju-bc7b8f-prod-autopkgtest-
  orchestrator-ps7-29; [...] lxd --delete-existing --name
  dispatcher-8-remote-amd64-27-1 --vm -r remote-amd64-27 remote-
  amd64-27:autopkgtest/ubuntu/noble/amd64/vm -c limits.cpu=2 -c
  limits.memory=4GiB -d root,size=20GiB
  
  Previous runs (that were successful) were using a different autopkgtest
  virtualization method:
  
-   0s autopkgtest [20:17:04]: host 
juju-7f2275-prod-proposed-migration-environment-15; [...] -- ssh -s 
/home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor 
autopkgtest-cpu2-ram4-disk20-amd64 --security-groups 
autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-11.secgroup
 --name 
adt-noble-amd64-udisks2-20260326-201704-juju-7f2275-prod-proposed-migration-environment-15-4eb35114-1f91-48ea-843d-c0d64a98c10f
 --image adt/ubuntu-noble-amd64-server --keyname 
testbed-juju-7f2275-prod-proposed-migration-environment-15 
--net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux 
--mirror=http://ftpmaster.internal/ubuntu/
-   4s Creating nova instance 
adt-noble-amd64-udisks2-20260326-201704-juju-7f2275-prod-proposed-migration-environment-15-4eb35114-1f91-48ea-843d-c0d64a98c10f
 from image adt/ubuntu-noble-amd64-server-20260326.img (UUID 
3dba2ef6-6380-4272-b77e-10610b470636)...
+   0s autopkgtest [20:17:04]: host 
juju-7f2275-prod-proposed-migration-environment-15; [...] -- ssh -s 
/home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor 
autopkgtest-cpu2-ram4-disk20-amd64 --security-groups 
autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-11.secgroup
 --name 
adt-noble-amd64-udisks2-20260326-201704-juju-7f2275-prod-proposed-migration-environment-15-4eb35114-1f91-48ea-843d-c0d64a98c10f
 --image adt/ubuntu-noble-amd64-server --keyname 
testbed-juju-7f2275-prod-proposed-migration-environment-15 
--net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux 
--mirror=http://ftpmaster.internal/ubuntu/
+   4s Creating nova instance 
adt-noble-amd64-udisks2-20260326-201704-juju-7f2275-prod-proposed-migration-environment-15-4eb35114-1f91-48ea-843d-c0d64a98c10f
 from image adt/ubuntu-noble-amd64-server-20260326.img (UUID 
3dba2ef6-6380-4272-b77e-10610b470636)...
  
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  noble/noble/amd64/u/udisks2/20260326_202416_e80e7@/log.gz
  
  In resolute/stonking, there is no linux-modules-extra-$(uname -r)
  package anymore it seems. So this is only affecting previous series.

** Changed in: udisks2 (Ubuntu Noble)
     Assignee: (unassigned) => Hector CAO (hectorcao)

** Changed in: udisks2 (Ubuntu Noble)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156438

Title:
  Autopkgtest fails on noble - scsi_debug module not available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udisks2/+bug/2156438/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to