TestNeutronServer: start function not called (or not logged in the temp file)

Bug #1833279 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Confirmed
Medium
Rodolfo Alonso

Bug Description

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
summary: - test_restart_rpc_on_sighup_multiple_workers: start file not initialized
+ TestNeutronServer: start file not initialized
summary: - TestNeutronServer: start file not initialized
+ TestNeutronServer: start function not called (or not logged in the temp
+ file)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/666261

Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/666261
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2ffde257cfba3db213edab047cb8f99fd60011a9
Submitter: Zuul
Branch: master

commit 2ffde257cfba3db213edab047cb8f99fd60011a9
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Jun 19 10:45:26 2019 +0000

    Add more debug information TestNeutronServer

    The test cases implemented calling "_test_restart_service_on_sighup",
    mock the service "start" function. This function appends a temporary
    file and this file is read by the main to check the correctness of
    the service and workers executing.

    In case of failure waiting for the file to be created and populated,
    the main function will report now:
    - If the file was not created.
    - The current size of the file, compared to the expected one (the number
      of times the "start" function was called)

    The polling time to check the status of the file was increased to 1
    second.

    Change-Id: I68452408920ad9a1ee7252dd9012f898ddfa7e09
    Related-Bug: #1833279

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.