Test with ldap for authentication failed with Not all required panels are available in main menu

Bug #1628526 reported by Vitaly Gusev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StackLight
Fix Released
High
Rodion Promyshlennikov

Bug Description

9.1, snapshot #315

Steps to reproduce:
Run deploy_toolchain_with_ldap test

Expected result:
test passed

Actual result:
Test failed with
Traceback (most recent call last):

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run

    testMethod()

  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest

    self._testFunc()

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/venv_test/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func

    compatability.capture_type_error(s_func)

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/venv_test/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error

    func()

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/venv_test/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func

    func(test_case.state.get_state())

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/venv_test/local/lib/python2.7/site-packages/fuelweb_test/helpers/decorators.py", line 120, in wrapper

    result = func(*args, **kwargs)

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/stacklight_tests/toolchain/test_ldap_plugins.py", line 48, in deploy_toolchain_with_ldap

    self._create_ldap_toolchain()

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/stacklight_tests/toolchain/test_ldap_plugins.py", line 167, in _create_ldap_toolchain

    plugin[0].check_plugin_ldap(authz=authz)

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/stacklight_tests/influxdb_grafana/api.py", line 163, in check_plugin_ldap

    ui_api.check_grafana_ldap(self.get_grafana_url(), authz)

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/stacklight_tests/influxdb_grafana/grafana_ui/api.py", line 79, in check_grafana_ldap

    _check_available_menu_items_for_user(uadmin, grafana_url, authz)

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/stacklight_tests/influxdb_grafana/grafana_ui/api.py", line 72, in _check_available_menu_items_for_user

    msg

  File "/home/jenkins/workspace/9.x.stacklight.master.ldap/venv_test/local/lib/python2.7/site-packages/proboscis/asserts.py", line 163, in assert_true

    raise ASSERTION_ERROR(message)

AssertionError: Not all required panels are available in main menu.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stacklight-integration-tests (master)

Fix proposed to branch: master
Review: https://review.openstack.org/380482

Changed in lma-toolchain:
assignee: LMA-Toolchain Fuel Plugins (mos-lma-toolchain) → Rodion Promyshlennikov (rpromyshlennikov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stacklight-integration-tests (master)

Reviewed: https://review.openstack.org/380482
Committed: https://git.openstack.org/cgit/openstack/stacklight-integration-tests/commit/?id=032186bb786a9a61be6861e514bb9c04b4422258
Submitter: Jenkins
Branch: master

commit 032186bb786a9a61be6861e514bb9c04b4422258
Author: Rodion Promyshlennikov <email address hidden>
Date: Fri Sep 30 21:31:50 2016 +0300

    Fix ldap tests: mostly ui testing part

    Added main menu locator for Kibana UI.
    Increased timeout to load page to prevent timeout
    on opening of Kibana UI.
    Improved message for Grafana UI LDAP tests.
    Fixed "is_admin" determination in Grafana UI LDAP tests.

    Change-Id: I7e79a365a1ca722f9ce6b0c64eff991dbb1d93e8
    Closes-Bug: #1621414
    Partial-Bug: #1628526

Changed in lma-toolchain:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.