New issue
Advanced search Search tips

Issue 716214 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 716077



Sign in to add a comment

apache error.log contains lots of site_utils deprecation warnings

Project Member Reported by akes...@chromium.org, Apr 27 2017

Issue description

[Thu Apr 27 15:05:18.074325 2017] [:error] [pid 3481:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:18.074497 2017] [:error] [pid 3481:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:18.074517 2017] [:error] [pid 3481:tid 140340224046848] 
[Thu Apr 27 15:05:18.369647 2017] [:error] [pid 3356:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:18.369774 2017] [:error] [pid 3356:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:18.369792 2017] [:error] [pid 3356:tid 140340224046848] 
[Thu Apr 27 15:05:21.719417 2017] [:error] [pid 3543:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:21.719622 2017] [:error] [pid 3543:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:21.719662 2017] [:error] [pid 3543:tid 140340224046848] 
[Thu Apr 27 15:05:22.721075 2017] [:error] [pid 3544:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:22.721215 2017] [:error] [pid 3544:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:22.721231 2017] [:error] [pid 3544:tid 140340224046848] 
[Thu Apr 27 15:05:26.555194 2017] [:error] [pid 3593:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:26.555358 2017] [:error] [pid 3593:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:26.555377 2017] [:error] [pid 3593:tid 140340224046848] 
[Thu Apr 27 15:05:26.818450 2017] [:error] [pid 3603:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:26.818614 2017] [:error] [pid 3603:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:26.818633 2017] [:error] [pid 3603:tid 140340224046848] 
[Thu Apr 27 15:05:27.073247 2017] [:error] [pid 3604:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:27.073403 2017] [:error] [pid 3604:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:27.073422 2017] [:error] [pid 3604:tid 140340224046848] 
[Thu Apr 27 15:05:27.770467 2017] [:error] [pid 3605:tid 140340224046848] WARNING:root:/usr/local/autotest/client/common_lib/site_utils.py:18: UserWarning: autotest_lib.client.common_lib.site_utils module is deprecated; use the equivalent utils module instead
[Thu Apr 27 15:05:27.770617 2017] [:error] [pid 3605:tid 140340224046848]   % __name__)
[Thu Apr 27 15:05:27.770636 2017] [:error] [pid 3605:tid 140340224046848]


Probably the simplest fix is to fix this one caller, whoever it is.
 
I have a fix for the stack level so the warning message will include the filename and line number of the place to fix

https://chromium-review.googlesource.com/c/489683/
Labels: -Pri-2 Pri-1
Owner: ayatane@chromium.org
This needs to be fixed or the warning message silenced, since it adds significant noise to our apache error metrics.
Status: Assigned (was: Untriaged)
Blockedon: 716077

Comment 5 by aut...@google.com, May 16 2017

Labels: -current-issue
 Issue 724589  has been merged into this issue.
Status: Fixed (was: Assigned)
Looks fixed

Comment 8 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 9 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment