yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #96028
[Bug 2114832] [NEW] [FT] ``test_agent_show_real_heartbeat_timestamp`` should check the timestamp in UTC timezone
Public bug reported:
The test ``test_agent_show_real_heartbeat_timestamp`` is checking that
the OVN agent heartbeat timestamp is equal to the "update_at" field. The
agent code retrieves the agent "update_at" value and returns the UTC
value of this timestamp [1].
The test however is not converting the timestamp to UTC [2]. In some
environments, this test is failing locally.
[1]https://github.com/openstack/neutron/blob/39b183645e071f9c2926f0bd870723fb6e300cb3/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py#L52-L54
[2]https://github.com/openstack/neutron/blob/39b183645e071f9c2926f0bd870723fb6e300cb3/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py#L1427
** Affects: neutron
Importance: Low
Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
Status: New
** Changed in: neutron
Importance: Undecided => Low
** Changed in: neutron
Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2114832
Title:
[FT] ``test_agent_show_real_heartbeat_timestamp`` should check the
timestamp in UTC timezone
Status in neutron:
New
Bug description:
The test ``test_agent_show_real_heartbeat_timestamp`` is checking that
the OVN agent heartbeat timestamp is equal to the "update_at" field.
The agent code retrieves the agent "update_at" value and returns the
UTC value of this timestamp [1].
The test however is not converting the timestamp to UTC [2]. In some
environments, this test is failing locally.
[1]https://github.com/openstack/neutron/blob/39b183645e071f9c2926f0bd870723fb6e300cb3/neutron/plugins/ml2/drivers/ovn/agent/neutron_agent.py#L52-L54
[2]https://github.com/openstack/neutron/blob/39b183645e071f9c2926f0bd870723fb6e300cb3/neutron/tests/functional/plugins/ml2/drivers/ovn/mech_driver/test_mech_driver.py#L1427
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2114832/+subscriptions