** Description changed:

+ [Impact]          
+                                                                               
                                                                                
                                                                                
      
+ The gvfs autopkgtest suite fails in Ubuntu Noble (24.04 LTS) with the         
                                                                                
                                                                                
                        
+ following error:                                                              
                                                                                
                                                                                
                        
+                                                                               
                                                                                
                                                                                
                        
+   SystemError: command "modprobe scsi_debug add_host=0 dev_size_mb=64"        
                                                                                
                                                                                
                        
+   failed with code 1:                                                         
                                                                                
                                                                                
                        
+   modprobe: FATAL: Module scsi_debug not found in directory                   
                                                                                
                                                                                
                        
+   /lib/modules/6.8.0-124-generic                                              
                                                                                
                                                                                
                        
+                                                                               
                                                                                
                                                                                
                        
+ The scsi_debug kernel module is used by the Drive test class in the gvfs      
                                                                                
                                                                                
                        
+ test suite to simulate a removable block device. It is shipped in the         
                                                                                
                                                                                
                        
+ linux-modules-extra package, which is not installed by default in the LXD     
                                                                                
                                                                                
                        
+ VM images used by the autopkgtest infrastructure.                             
                                                                                
                                                                                
                        
+                                                                               
                                                                                
                                                                                
                        
+ The failure started after the autopkgtest infrastructure migrated to LXD      
                                                                                
                                                                                
                        
+ VMs. Prior to that migration the test was passing. The gvfs package itself 
and its runtime behaviour are unaffected; this is a pure test-environment 
regression that blocks SRUs.                                                    
                                                                                
                                                                  
+                                                                               
                                                                                
                                                                                
                        
+ The issue only affects Noble and potentially older Ubuntu releases. Since 
Questing, scsi_debug is included in linux-modules directly and does not require 
                                                                                
                                                                                
                                
+ linux-modules-extra.                                                          
                                                                                
                                                                                
                        
+                                                                               
                                                                                
                                                                                
                        
+ Reference autopkgtest failure log:
+                                                                               
                                                                                
                                                                      
+   
https://autopkgtest.ubuntu.com/results/autopkgtest-noble/noble/amd64/g/gvfs/20260630_140720_929ed@/log.gz
                                                                                
                                                                           
+                                                                               
                                                                                
                                                                                
                        
+                                                                               
                                                                                
                                                                                
                        
+ [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, library, or daemon is modified.                    
                                                                                
                                                                                
                        
+ 
+ 
+ Original report
+ ---
+ 
  test_file_in_system (__main__.Trash.test_file_in_system)
  trash:// deletion for system location ... ok
  
  ======================================================================
  ERROR: setUpClass (__main__.Drive)
  ----------------------------------------------------------------------
  Traceback (most recent call last):
-   File "/home/gvfs-testbed-script", line 939, in setUpClass
-     klass.root_command_success('modprobe scsi_debug add_host=0 
dev_size_mb=64')
-   File "/home/gvfs-testbed-script", line 172, in root_command_success
-     raise SystemError('command "%s" failed with code %i:\n%s' % (command, 
code, err))
+   File "/home/gvfs-testbed-script", line 939, in setUpClass
+     klass.root_command_success('modprobe scsi_debug add_host=0 
dev_size_mb=64')
+   File "/home/gvfs-testbed-script", line 172, in root_command_success
+     raise SystemError('command "%s" failed with code %i:\n%s' % (command, 
code, err))
  SystemError: command "modprobe scsi_debug add_host=0 dev_size_mb=64" failed 
with code 1:
  modprobe: FATAL: Module scsi_debug not found in directory 
/lib/modules/6.8.0-124-generic
  
- 
  ----------------------------------------------------------------------
  Ran 26 tests in 25.205s
- 
  
  Reference
  ---
  
  https://autopkgtest.ubuntu.com/results/autopkgtest-
  noble/noble/amd64/g/gvfs/20260630_140720_929ed@/log.gz

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

Title:
  autopkgtest fails in Noble because of missing scsi_debug kernel module

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


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

Reply via email to