← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475156] [NEW] DeprecationWarning message occurs in gate-neutron-python27

 

Public bug reported:

oslo_utils.timeutils.strtime() is deprecated in version '1.6'.

2015-07-16 00:51:00.081 | {0} neutron.tests.unit.agent.test_rpc.AgentPluginReportState.test_plugin_report_state_use_call [0.010257s] ... ok
2015-07-16 00:51:00.081 | 
2015-07-16 00:51:00.081 | Captured stderr:
2015-07-16 00:51:00.081 | ~~~~~~~~~~~~~~~~
2015-07-16 00:51:00.081 |     neutron/agent/rpc.py:83: DeprecationWarning: Using function/method 'oslo_utils.timeutils.strtime()' is deprecated in version '1.6' and will be removed in a future version: use either datetime.datetime.isoformat() or datetime.datetime.strftime() instead
2015-07-16 00:51:00.081 |       'time': timeutils.strtime(),
2015-07-16 00:51:00.081 |     
2015-07-16 00:51:00.084 | {7} neutron.tests.unit.agent.linux.test_iptables_firewall.IptablesFirewallTestCase.test_filter_ipv4_ingress [0.013247s] ... ok


The whole log can be gotten from the following.

http://logs.openstack.org/11/183411/7/check/gate-neutron-
python27/9c769e9/console.html

** Affects: neutron
     Importance: Undecided
     Assignee: fumihiko kakuma (kakuma)
         Status: In Progress

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

Title:
  DeprecationWarning message occurs in gate-neutron-python27

Status in neutron:
  In Progress

Bug description:
  oslo_utils.timeutils.strtime() is deprecated in version '1.6'.

  2015-07-16 00:51:00.081 | {0} neutron.tests.unit.agent.test_rpc.AgentPluginReportState.test_plugin_report_state_use_call [0.010257s] ... ok
  2015-07-16 00:51:00.081 | 
  2015-07-16 00:51:00.081 | Captured stderr:
  2015-07-16 00:51:00.081 | ~~~~~~~~~~~~~~~~
  2015-07-16 00:51:00.081 |     neutron/agent/rpc.py:83: DeprecationWarning: Using function/method 'oslo_utils.timeutils.strtime()' is deprecated in version '1.6' and will be removed in a future version: use either datetime.datetime.isoformat() or datetime.datetime.strftime() instead
  2015-07-16 00:51:00.081 |       'time': timeutils.strtime(),
  2015-07-16 00:51:00.081 |     
  2015-07-16 00:51:00.084 | {7} neutron.tests.unit.agent.linux.test_iptables_firewall.IptablesFirewallTestCase.test_filter_ipv4_ingress [0.013247s] ... ok

  
  The whole log can be gotten from the following.

  http://logs.openstack.org/11/183411/7/check/gate-neutron-
  python27/9c769e9/console.html

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


Follow ups