New issue
Advanced search Search tips
Starred by 1 user

Issue metadata

Status: Verified
Closed: Apr 2017
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Sign in to add a comment

logging_UserCrash fails on x86-generic-incremental

Project Member Reported by, Apr 24 2017 Back to list

Issue description

04/22 01:33:57.016 DEBUG|              test:0389| Test failed due to _check_generated_report_sending() takes at most 6 arguments (7 given). Exception log follows the after_iteration_hooks.
04/22 01:33:57.016 DEBUG|              test:0392| starting after_iteration_hooks
04/22 01:33:57.017 DEBUG|             utils:0202| Running 'logger "autotest finished iteration /usr/local/autotest/results/default/logging_UserCrash/sysinfo/iteration.1"'
04/22 01:33:57.020 DEBUG|              test:0395| after_iteration_hooks completed
04/22 01:33:57.021 WARNI|              test:0615| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/", line 609, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autotest/common_lib/", line 823, in _call_test_function
    raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled TypeError: _check_generated_report_sending() takes at most 6 arguments (7 given)
Traceback (most recent call last):
  File "/usr/local/autotest/common_lib/", line 817, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autotest/common_lib/", line 470, in execute
  File "/usr/local/autotest/common_lib/", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autotest/common_lib/", line 380, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autotest/tests/logging_UserCrash/", line 323, in run_once
  File "/usr/local/autotest/cros/crash/", line 700, in run_crash_tests
    getattr(self, '_test_' + test_name)()
  File "/usr/local/autotest/tests/logging_UserCrash/", line 197, in _test_core2md_failure
  File "/usr/local/autotest/tests/logging_UserCrash/", line 188, in _check_collection_failure
TypeError: _check_generated_report_sending() takes at most 6 arguments (7 given)

This is likely fallout from which changed the number of parameters on that function.

I have no idea why it's calling the function with 7 parameters as the above-linked change updates the test code as well...

Comment 1 by, Apr 26 2017

Status: Fixed
it's fixed itself.  i suspect one of our outstanding race conditions wrt uprevs.  or not.
Status: Verified

Sign in to add a comment