[yoga][horizon] Broken Horizon plugins UT: murano-dashboard, magnum-ui, heat-dashboard

Thomas Goirand zigo at debian.org
Thu Mar 31 14:05:59 UTC 2022


On 3/31/22 12:14, Thomas Goirand wrote:
> Hi,
> 
> Building Horizon plugins for yoga after upgrading to Horizon 22.1.0 lead 
> me to broken unit tests. I haven't filed separate bugs yet, as I'd like 
> to have the opinion of upstream about what's going on first.
> 
> I've pushed the build logs over here:
> 
> http://shade.infomaniak.ch/yoga-dashboard-plugins-build-logs/
> 
> So, what's going on? :)
> 
> Cheers,
> 
> Thomas Goirand (zigo)
> 
> P.S: These are the last remaining failed to build issues I have for 
> Yoga, everything else has been uploaded already.
> 

I found out that these are the fixes:
https://review.opendev.org/c/openstack/heat-dashboard/+/835890
https://review.opendev.org/c/openstack/magnum-ui/+/835963
https://review.opendev.org/c/openstack/murano-dashboard/+/835781

I still have this after applying the murano-dashboard patch though:

======================================================================
ERROR: test_get_data_except_glance_image_list_exception 
(muranodashboard.tests.unit.images.test_views.TestMarkedImagesView)
Test that glance_v1_client.images.list exception is handled.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/<<PKGBUILDDIR>>/muranodashboard/images/views.py", line 68, in 
get_data
     images_iter = glance_v2_client.images.list(
   File "/usr/lib/python3.10/unittest/mock.py", line 1104, in __call__
     return self._mock_call(*args, **kwargs)
   File "/usr/lib/python3.10/unittest/mock.py", line 1108, in _mock_call
     return self._execute_mock_call(*args, **kwargs)
   File "/usr/lib/python3.10/unittest/mock.py", line 1163, in 
_execute_mock_call
     raise effect
Exception

Thanks a lot Vishal Manchanda for your work!

Cheers,

Thomas Goirand (zigo)



More information about the openstack-discuss mailing list