← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490403] [NEW] Gate failing on test_routerrule_detail

 

You have been subscribed to a public bug:

The gate/jenkins checks is currently bombing out on this error:

ERROR: test_routerrule_detail (openstack_dashboard.dashboards.project.routers.tests.RouterRuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/horizon/openstack_dashboard/test/helpers.py", line 111, in instance_stub_out
    return fn(self, *args, **kwargs)
  File "/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/tests.py", line 711, in test_routerrule_detail
    res = self._get_detail(router)
  File "/home/ubuntu/horizon/openstack_dashboard/test/helpers.py", line 111, in instance_stub_out
    return fn(self, *args, **kwargs)
  File "/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/tests.py", line 49, in _get_detail
    args=[router.id]))
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py", line 470, in get
    **extra)
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py", line 286, in get
    return self.generic('GET', path, secure=secure, **r)
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py", line 358, in generic
    return self.request(**r)
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/test/client.py", line 440, in request
    six.reraise(*exc_info)
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/ubuntu/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/home/ubuntu/horizon/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/home/ubuntu/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/home/ubuntu/horizon/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/ubuntu/horizon/.venv/local/lib/python2.7/site-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/ubuntu/horizon/horizon/tabs/views.py", line 146, in get
    context = self.get_context_data(**kwargs)
  File "/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/views.py", line 140, in get_context_data
    context = super(DetailView, self).get_context_data(**kwargs)
  File "/home/ubuntu/horizon/horizon/tables/views.py", line 107, in get_context_data
    context = super(MultiTableMixin, self).get_context_data(**kwargs)
  File "/home/ubuntu/horizon/horizon/tabs/views.py", line 56, in get_context_data
    exceptions.handle(self.request)
  File "/home/ubuntu/horizon/horizon/exceptions.py", line 359, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/home/ubuntu/horizon/horizon/tabs/views.py", line 54, in get_context_data
    context["tab_group"].load_tab_data()
  File "/home/ubuntu/horizon/horizon/tabs/base.py", line 128, in load_tab_data
    exceptions.handle(self.request)
  File "/home/ubuntu/horizon/horizon/exceptions.py", line 359, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/home/ubuntu/horizon/horizon/tabs/base.py", line 125, in load_tab_data
    tab._data = tab.get_context_data(self.request)
  File "/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/extensions/routerrules/tabs.py", line 82, in get_context_data
    data["rulesmatrix"] = self.get_routerrulesgrid_data(rules)
  File "/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/extensions/routerrules/tabs.py", line 127, in get_routerrulesgrid_data
    source, target, rules))
  File "/home/ubuntu/horizon/openstack_dashboard/dashboards/project/routers/extensions/routerrules/tabs.py", line 159, in _get_subnet_connectivity
    if (int(dst.network) >= int(rd.broadcast) or
TypeError: int() argument must be a string or a number, not 'NoneType'

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
Gate failing on test_routerrule_detail
https://bugs.launchpad.net/bugs/1490403
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).


References