[Bug 1976101] Re: py310 failure - AssertionError: Lists differ: ['[extra]'] != ['extra']

Corey Bryant 1976101 at bugs.launchpad.net
Fri May 27 18:09:55 UTC 2022


** Also affects: stevedore (Ubuntu)
   Importance: Undecided
       Status: New

** No longer affects: castellan

** Also affects: python-stevedore
   Importance: Undecided
       Status: New

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

Title:
  py310 failure - AssertionError: Lists differ: ['[extra]'] != ['extra']

Status in stevedore:
  New
Status in stevedore package in Ubuntu:
  New

Bug description:
  $ tox -e py310
  ...

  ==============================                                                                                                                                
  Failed 1 tests - output below:                                                                                                                                                                                                                                                                                               
  ==============================                                                                                                                                
                                                                                                                                                                                                                                                                                                                               
  stevedore.tests.test_extension.TestExtensionProperties.test_extras                                                                                                                                                                                                                                                           
  ------------------------------------------------------------------                                                                                                                                                                                                                                                           
                                                                                                                                                                
  Captured traceback:                                                                                                                                           
  ~~~~~~~~~~~~~~~~~~~                                                                                                                                           
      Traceback (most recent call last):                                                                                                                        
                                                                                                                                                                
        File "/home/corey/pkg/zed/upstream/stevedore/stevedore/tests/test_extension.py", line 278, in test_extras                                               
      self.assertEqual(['[extra]'], self.ext1.extras)                                                                                                           
                                                                                                                                                                
        File "/usr/lib/python3.10/unittest/case.py", line 845, in assertEqual                                                                                   
      assertion_func(first, second, msg=msg)                                                                                                                    
                                                                                                                                                                
        File "/usr/lib/python3.10/unittest/case.py", line 1051, in assertListEqual                                                                              
      self.assertSequenceEqual(list1, list2, msg, seq_type=list)                                                                                                
                                                                                                                                                                
        File "/usr/lib/python3.10/unittest/case.py", line 1033, in assertSequenceEqual                                                                          
      self.fail(msg)                                                                                                                                            
                                                                                                                                                                
        File "/usr/lib/python3.10/unittest/case.py", line 675, in fail                                                                                          
      raise self.failureException(msg)                                                                                                                          
                                                                                                                                                                
      AssertionError: Lists differ: ['[extra]'] != ['extra']                                                                                                    
                                                                                                                                                                
  First differing element 0:                                                                                                                                    
  '[extra]'                                                                                                                                                     
  'extra'                                                                                                                                                       
                                                                                                                                                                
  - ['[extra]']                                                                                                                                                 
  ?   -     -                                                                                                                                                   
                                                                                                                                                                
  + ['extra']                                                                                                                                                   
                                                                                                                                                                
                                                                                                                                                                
                                                                                                                                                                
  ======                                                                                                                                                        
  Totals                                                                                                                                                        
  ======                                                                                                                                                        
  Ran: 92 tests in 0.2354 sec.                                                                                                                                  
   - Passed: 90                                                                                                                                                 
   - Skipped: 1                                                                                                                                                 
   - Expected Fail: 0                                                                                                                                           
   - Unexpected Success: 0                                                                                                                                      
   - Failed: 1                                                                                                                                                  
  Sum of execute time for each test: 0.1221 sec.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-stevedore/+bug/1976101/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list