Tempest test test_server_connectivity_stop_start is Failed

Bug #1575600 reported by Sergii Turivnyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Invalid
High
Sergii Turivnyi

Bug Description

Detailed bug description:
Tempest test test_server_connectivity_stop_start is Failed with Error:
    AssertionError: False is not true : Timed out waiting for 10.109.4.200 to become reachable

Configuration:
    ISO: http://paste.openstack.org/show/495500/
    Compute - QEMU.
    Network - Neutron with VLAN segmentation, DVR.
    Storage Backends - Ceph RBD for volumes (Cinder), Ceph RBD for ephemeral volumes (Nova), Ceph RBD for images (Glance)
    RADOS
    Additional services - Install Ironic, Sahara

In tab Settings->Compute check Nova quotas

Nodes: controller, compute, ironic, ceph-osd

Steps to reproduce:
    1. Deploy ISO in configuration see (Detailed bug description)
    2. Navigate to controller node
    3. Install git (use apt-get install git)
    4. Clone script to deploy rally + tempest
       # git clone https://github.com/obutenko/mos-rally-verify.git
    5. Navigate to the https://github.com/obutenko/mos-rally-verify
    6. Execute necessary steps to deploy tempest
    7. Tun test in debug mode
        #rally --debug verify start --regex tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_stop_start

Expected results:
Test is passed

Actual result:
Test is Failed
(see comments)

Reproducibility:
See attachment

Workaround:
---

Impact:
---

Description of the environment:
See (Detailed bug description)

Snapshot: https://www.google.com.ua/?gfe_rd=cr&ei=KJwgV4z-DfGIyAWyxqkQ&gws_rd=ssl

Additional information:
Error Message

test failed

Stacktrace

Traceback (most recent call last):
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/test.py", line 113, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/scenario/test_network_advanced_server_ops.py", line 99, in test_server_connectivity_stop_start
    server, keypair, floating_ip = self._setup_network_and_servers()
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/scenario/test_network_advanced_server_ops.py", line 69, in _setup_network_and_servers
    server, keypair, floating_ip)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/scenario/test_network_advanced_server_ops.py", line 93, in _wait_server_status_and_check_network_connectivity
    self._check_network_connectivity(server, keypair, floating_ip)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/scenario/test_network_advanced_server_ops.py", line 86, in _check_network_connectivity
    servers=[server])
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/scenario/manager.py", line 593, in check_public_network_connectivity
    should_connect=should_connect)
  File "/home/rally/.rally/tempest/for-deployment-da64b6f0-10c4-461b-b408-6298750a57d8/tempest/scenario/manager.py", line 577, in check_vm_connectivity
    msg=msg)
  File "/usr/local/lib/python2.7/dist-packages/unittest2/case.py", line 702, in assertTrue
    raise self.failureException(msg)
AssertionError: False is not true : Timed out waiting for 10.109.4.200 to become reachable

Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :
description: updated
Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :
Changed in mos:
status: New → Confirmed
milestone: none → 9.0
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Works for me on the latest ISO (#284):

running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./tempest/test_discover} --list
running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-500} \
OS_TEST_LOCK_PATH=${OS_TEST_LOCK_PATH:-${TMPDIR:-'/tmp'}} \
${PYTHON:-python} -m subunit.run discover -t ${OS_TOP_LEVEL:-./} ${OS_TEST_PATH:-./tempest/test_discover} --load-list /tmp/tmpq9iDJC
{0} tempest.scenario.test_network_advanced_server_ops.TestNetworkAdvancedServerOps.test_server_connectivity_stop_start [80.063700s] ... ok

Sergii, please give it another try - must be some problem with your environment (may be it was overloaded?).

Changed in mos:
status: Confirmed → Incomplete
assignee: MOS Nova (mos-nova) → Sergii Turivnyi (sturivnyi)
Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :

Was tested. Test is Passed.

Changed in mos:
status: Incomplete → Invalid
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.