Horizon integration tests are failing

Bug #1505320 reported by Doug Fish
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Timur Sufiev

Bug Description

Horizon integration tests are failing.

test_image_create_delete
example http://logs.openstack.org/82/201582/16/check/gate-horizon-dsvm-integration/acd8598/console.html

David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → High
status: New → Confirmed
milestone: none → mitaka-1
Changed in horizon:
assignee: nobody → Timur Sufiev (tsufiev-x)
status: Confirmed → In Progress
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Here is the CR: https://review.openstack.org/#/c/233745 (just in case if infra won't post it here).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to horizon (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/234323

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

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to horizon (master)

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

commit f77080bd87c260e5c014c0540d09d67f7116254d
Author: Timur Sufiev <email address hidden>
Date: Tue Oct 13 09:23:11 2015 -0700

    Dump browser log on integration test failure

    Having all messages from browser console inside a test log sometimes
    may be very valuable in understanding the cause of test failure.

    Change-Id: I9ef39e412e0b9f1faacf0a3e42418ca138c52d66
    Related-Bug: #1505320

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

Reviewed: https://review.openstack.org/233745
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=56b2fd89142930c537f6b0cd09de9f4edff949a7
Submitter: Jenkins
Branch: master

commit 56b2fd89142930c537f6b0cd09de9f4edff949a7
Author: Timur Sufiev <email address hidden>
Date: Wed Oct 14 14:56:49 2015 +0300

    Wait until the success message popup disappears before proceeding

    It seems that integration test runner became faster (forgive me
    Jenkins, I was unfair to you, initially thinking that the error was
    caused by your slowdown!). In times before October 7, 2015 the
    auto-fading success message faded away before next actions were taken
    by the test. After this date, tests started to manage (in some cases)
    to click the 'Delete Xs' button that was right under the success
    message before the message was gone. This effectively dismissed the
    message and stole the click from button. The situation was worsened by
    the fact that at the time the failure screenshot was made, a message
    was already gone, leaving no evidence. Once this case was uncovered,
    the solution was easy: to wait until the message disappears (combining
    waiting for spinner and the message into a single function), then take
    further actions.

    Change-Id: I4f5743abbb3cc00852df4647fee0c68b70131833
    Partial-Bug: #1505320

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/234936
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=4c2bd8136410bf42a2ac9d511af7b342e715ff89
Submitter: Jenkins
Branch: master

commit 4c2bd8136410bf42a2ac9d511af7b342e715ff89
Author: Timur Sufiev <email address hidden>
Date: Wed Oct 14 22:11:26 2015 +0300

    Prevent the click loss at navbar accordion in integration tests

    Simplify code for handling the navbar in integration tests, replace
    the loop with explicit waits for the menu items to receive the proper
    classes (which mark collapsed/expanded/in-transit states). Besides
    fixing intermittent failures this also clarifies the overall logic.

    Change-Id: I7a58a59be66264ce6e3c05f78033961954f0c553
    Closes-Bug: #1505320

Changed in horizon:
status: In Progress → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b1

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

Changed in horizon:
status: Fix Committed → 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.