← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1962594] Re: [FT] Test class "TestIsSessionActiveMySQL" failing randomly

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/831409
Committed: https://opendev.org/openstack/neutron/commit/4a66adf94c4e01ca92dfe12cf8646d11acfc7176
Submitter: "Zuul (22348)"
Branch:    master

commit 4a66adf94c4e01ca92dfe12cf8646d11acfc7176
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Feb 11 17:43:34 2022 +0000

    Group execution of SQL functional tests
    
    Functional SQL tests (MySQL and PostgreSQL) use the DB installed
    backend. To avoid overloading the DB engine, the test cases are
    grouped [1] together and executed by the same worker process.
    That will ensure those tests are not executed in parallel,
    interfering each other.
    
    All test classes ended in "MySQL" or "PostgreSQL" are now grouped.
    That means the tests implemented inside the same class are
    executed in the same worker, not in parallel. **HOWEVER**, that
    doesn't guarantee all test cases using the same database backend
    will run in the same worker serially. The FT job can still execute
    test cases from different classes, using the same DB backend,
    in two workers at the same time.
    
    This patch also fixes the ``TestReservation*`` classes to inherit
    from the parent classes in the correct order. That sets the
    "DRIVER" value to the expected one "mysql" or "postgresql".
    
    [1]https://review.opendev.org/c/openstack/neutron/+/785568
    
    Closes-Bug: #1962594
    Related-Bug: #1687027
    Change-Id: I6bca7daf4d3e46071686bb62d5988ae314af8e7e


** 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/1962594

Title:
  [FT] Test class "TestIsSessionActiveMySQL" failing randomly

Status in neutron:
  Fix Released

Bug description:
  Error:
  https://f7e1d46dbc2e3f05ff14-bdc442ba3e90f0570dc90e3be6cfc7bb.ssl.cf5.rackcdn.com/830622/3/check/neutron-
  functional-with-uwsgi/c6a67e0/testr_results.html

  Snippet: https://paste.opendev.org/show/bfPkkH6P4omJ6xbwxP2r/

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



References