Closed Bug 1098796 Opened 10 years ago Closed 10 years ago

benchmarking not working on processor w/ boto

Categories

(Socorro :: Backend, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Unassigned)

References

Details

When using the Benchmarking crash store to wrap the boto s3 crash store, an exception is raised by processor on startup:

2014-11-13 20:13:48,940 CRITICAL  - MainThread - Error in creating crash destination
Traceback (most recent call last):
  File "/data/socorro/application/socorro/app/fetch_transform_save_app.py", line 201, in _setup_source_and_destination
    quit_check_callback=self.quit_check
  File "/data/socorro/application/socorro/external/crashstorage_base.py", line 393, in __init__
    quit_check_callback
  File "/data/socorro/application/socorro/external/crashstorage_base.py", line 868, in __init__
    quit_check_callback)
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
  File "/data/socorro/application/socorro/processor/processor_app.py", line 203, in <module>
    main(ProcessorApp)
  File "/data/socorro/application/socorro/app/socorro_app.py", line 493, in main
    values_source_list=values_source_list
  File "/data/socorro/application/socorro/app/socorro_app.py", line 178, in run
    values_source_list=values_source_list
  File "/data/socorro/application/socorro/app/socorro_app.py", line 276, in _do_run
    return_code = fix_exit_code(app_to_run.main())
  File "/data/socorro/application/socorro/app/fetch_transform_save_app.py", line 240, in main
    self._setup_source_and_destination()
  File "/data/socorro/application/socorro/processor/processor_app.py", line 180, in _setup_source_and_destination
    super(ProcessorApp, self)._setup_source_and_destination()
  File "/data/socorro/application/socorro/app/fetch_transform_save_app.py", line 201, in _setup_source_and_destination
    quit_check_callback=self.quit_check
  File "/data/socorro/application/socorro/external/crashstorage_base.py", line 393, in __init__
    quit_check_callback
  File "/data/socorro/application/socorro/external/crashstorage_base.py", line 868, in __init__
    quit_check_callback)
TypeError: 'NoneType' object is not callable
I went ahead and disabled the benchmarking for this destination.
Oh, it doesn't work as a source either :)
Summary: benchmarking not working on processor w/ boto as destination → benchmarking not working on processor w/ boto
Blocks: 1091124
don't no how many times I looked at this without seeing the obvious:  

in the processor.ini:

   %s/wrapped_crashstorage/wrapped_crashstore/g
Sending        processor.ini
Transmitting file data .
Committed revision 96971.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.