test_trigger_crash_dump_in_res continues failing

Bug #1553597 reported by Ken'ichi Ohmichi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Undecided
Ken'ichi Ohmichi

Bug Description

novaclient functional test test_trigger_crash_dump_in_res fails like the following:

http://logs.openstack.org/35/286435/1/gate/gate-novaclient-dsvm-functional/0e8eba7

Traceback (most recent call last):
  File "novaclient/tests/functional/v2/test_trigger_crash_dump.py", line 105, in test_trigger_crash_dump_in_resized_state
    self.assertIn("Uhhuh. NMI received for unknown reason ", output)
  File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 368, in assertIn
    self.assertThat(haystack, Contains(needle), message)
  File "/opt/stack/new/python-novaclient/.tox/functional/local/lib/python2.7/site-packages/testtools/testcase.py", line 447, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: 'Uhhuh. NMI received for unknown reason ' not in '[ 0.000000] Initializing cgroup subsys cpuset

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

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

Changed in python-novaclient:
assignee: nobody → Ken'ichi Ohmichi (oomichi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/288937
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=471e08a4d41f9d1bcf4703b4a0c64731a94f2510
Submitter: Jenkins
Branch: master

commit 471e08a4d41f9d1bcf4703b4a0c64731a94f2510
Author: Ken'ichi Ohmichi <email address hidden>
Date: Sun Mar 6 06:34:04 2016 +0900

    Remove console expectation from NMI tests

    The original tests expect the server console contains a message
      "Uhhuh. NMI received for unknown reason"
    but the expectation is wrong because this message is fallback one
    when disabling crash dump, that means the test expects the crash
    dump is disable. That is not the purpose of this NMI feature.

    In addition, this message is output on x86 cpu architecture only
    because the message is implemented in
      https://github.com/torvalds/linux/blob/master/arch/x86/kernel/nmi.c#L304
    So if we use the other cpu architectures on the test, this test will
    fail.

    Let's remove the expectation from the tests.

    Change-Id: I62fe2e00433fd216def25d99a2f20d17b988fb84
    Closes-Bug: #1553597

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

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

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

Reviewed: https://review.openstack.org/299037
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=e5afdbb42ec044b1e7970f307e2a7d3830f7126d
Submitter: Jenkins
Branch: stable/mitaka

commit e5afdbb42ec044b1e7970f307e2a7d3830f7126d
Author: Ken'ichi Ohmichi <email address hidden>
Date: Sun Mar 6 06:34:04 2016 +0900

    Remove console expectation from NMI tests

    The original tests expect the server console contains a message
      "Uhhuh. NMI received for unknown reason"
    but the expectation is wrong because this message is fallback one
    when disabling crash dump, that means the test expects the crash
    dump is disable. That is not the purpose of this NMI feature.

    In addition, this message is output on x86 cpu architecture only
    because the message is implemented in
      https://github.com/torvalds/linux/blob/master/arch/x86/kernel/nmi.c#L304
    So if we use the other cpu architectures on the test, this test will
    fail.

    Let's remove the expectation from the tests.

    Change-Id: I62fe2e00433fd216def25d99a2f20d17b988fb84
    Closes-Bug: #1553597
    (cherry picked from commit 471e08a4d41f9d1bcf4703b4a0c64731a94f2510)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-novaclient 3.3.1

This issue was fixed in the openstack/python-novaclient 3.3.1 release.

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

This issue was fixed in the openstack/python-novaclient 3.4.0 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.