pre_hook_test fail and sidebar menu fail in integration tests

Bug #1573726 reported by Sergei Chipiga
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Critical
Sergei Chipiga

Bug Description

Right now exception in pre_hook_test in integration tests breaks build. So we need to remove code to restart apache, because it fails pre_test_hook.

Also we need fix bug in sidebar menu click, because right now in tests, after sidebar menu click test doesn't wait until menu collapse will be finished and click next item. But due to collapse isn't finished, next item can't be expanded, and our test waits over 5 mins expanded menu, that is absent, and then test breaks.

Changed in horizon:
assignee: nobody → Sergei Chipiga (schipiga)
status: New → In Progress
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

These 2 issues block the gate, so they should be fixed ASAP.

Proposed patch is at https://review.openstack.org/#/c/309332/

Changed in horizon:
importance: Undecided → Critical
milestone: none → newton-1
Changed in horizon:
assignee: Sergei Chipiga (schipiga) → Timur Sufiev (tsufiev-x)
Timur Sufiev (tsufiev-x)
Changed in horizon:
assignee: Timur Sufiev (tsufiev-x) → Sergei Chipiga (schipiga)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/309332
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=79fcc65491052adf50ffe141997c28b658a0461b
Submitter: Jenkins
Branch: master

commit 79fcc65491052adf50ffe141997c28b658a0461b
Author: Sergei Chipiga <email address hidden>
Date: Fri Apr 22 13:00:16 2016 +0300

    Fix pre_test_hook fail and sidebar menu fail

    It fixes two small but important bugs:
    - remove apache restart, because it fails pre_test_hook, which fails
      test build (the latter implication was introduced recently in a
      devstack-gate scripts);
    - fix sidebar menu item click before prev item was collapsed, because
      in this case menu item won't be expanded (supposedly a result of
      recent update of one of XStatic dependencies).

    Change-Id: If463c4c8b16b54f033e2a2ee33ba995ca7844f2b
    Closes-Bug: #1573726

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/314017

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/mitaka)

Reviewed: https://review.openstack.org/314017
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=408114a0bc3df1bce8e65cc54a69a3f5476395a9
Submitter: Jenkins
Branch: stable/mitaka

commit 408114a0bc3df1bce8e65cc54a69a3f5476395a9
Author: Sergei Chipiga <email address hidden>
Date: Fri Apr 22 13:00:16 2016 +0300

    Fix pre_test_hook fail and sidebar menu fail

    It fixes two small but important bugs:
    - remove apache restart, because it fails pre_test_hook, which fails
      test build (the latter implication was introduced recently in a
      devstack-gate scripts);
    - fix sidebar menu item click before prev item was collapsed, because
      in this case menu item won't be expanded (supposedly a result of
      recent update of one of XStatic dependencies).

    Change-Id: If463c4c8b16b54f033e2a2ee33ba995ca7844f2b
    Closes-Bug: #1573726
    (cherry picked from commit 79fcc65491052adf50ffe141997c28b658a0461b)

tags: added: in-stable-mitaka
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/horizon 10.0.0.0b1

This issue was fixed in the openstack/horizon 10.0.0.0b1 development milestone.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/horizon 9.0.1

This issue was fixed in the openstack/horizon 9.0.1 release.

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.