← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1838068] Re: "QoSTest:test_qos_basic_and_update" failing in DVR node scenario

 

Reviewed:  https://review.opendev.org/673023
Committed: https://git.openstack.org/cgit/openstack/neutron-tempest-plugin/commit/?id=fa5ebc4b98e4964b73210e38772af50e2524be3b
Submitter: Zuul
Branch:    master

commit fa5ebc4b98e4964b73210e38772af50e2524be3b
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Jul 26 17:02:40 2019 +0000

    Refactor the test_qos.QoSTestMixin._check_bw function
    
    Improved the robustness of this function:
    - The remote process ("nc"), will be stopped both at the beginning and
      the end of this function, just to ensure the process is not left
      running at the beginning of the next check.
    - The socket connection is closed when the file is received (or in case
      of exception). This will close the client socket and will end the "nc"
      process in the remote VM.
    - Set a socket timeout. This timeout, specifically defined for each
      iteration, depending on the expected bandwidth, will force a quick
      timeout while receiving from the remote VM. The check will fail and it
      will be tested again, if the "FILE_DOWNLOAD_TIMEOUT" didn't happen yet.
    
    Change-Id: I5ce1a34f7d5d635002baa1e5b14c288e6d2bc43e
    Closes-Bug: #1838068


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1838068

Title:
  "QoSTest:test_qos_basic_and_update" failing in DVR node scenario

Status in neutron:
  Fix Released

Bug description:
  According to [1], this problem has been seen several times in the log
  reports. The BW testing method is failing with a timeout exception. No
  logs for this BW check are stored in the reports, that could means the
  test is blocked in the following command [2]:

   File "/opt/stack/tempest/.tox/tempest/lib/python3.6/site-packages/neutron_tempest_plugin/scenario/test_qos.py", line 110, in _check_bw
      data = client_socket.recv(QoSTestMixin.BUFFER_SIZE)

  
  [1] http://logstash.openstack.org/#/dashboard/file/logstash.json?query=message:%5C%22test_connectivity_through_2_routers%5C%22%20AND%20build_status:%5C%22FAILURE%5C%22%20AND%20build_branch:%5C%22master%5C%22%20AND%20build_name:%5C%22neutron-tempest-plugin-dvr-multinode-scenario%5C%22%20AND%20project:%5C%22openstack%2Fneutron%5C%22
  [2] http://logs.openstack.org/65/672465/1/check/neutron-tempest-plugin-dvr-multinode-scenario/1d68297/testr_results.html.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1838068/+subscriptions


References