Ticket #10433 (closed: fixed)
Change from ActiveMQ topics to queues
| Reported by: | MarcusNoble | Owned by: | MarcusNoble |
|---|---|---|---|
| Priority: | major | Milestone: | Release 3.3 |
| Component: | Tools | Keywords: | AUTOREDUCTION |
| Cc: | doucetm@…, tom.griffin@…, nick.draper@…, anders.markvardsen@… | Blocked By: | |
| Blocking: | #10147 | Tester: | Anders Markvardsen |
Description (last modified by MarcusNoble) (diff)
Need to change to using queues so that multiple autoreduction servers could listen for jobs without both actioning it.
Only requires changes in settings.py and queue_processor.py
For Tester:
- Connect to datareducedev.isis.cclrc.ac.uk
- sudo su
- export PATH="/usr/local/bin:$PATH"
- python /var/www/autoreduce_webapp/manage.py test autoreduce_webapp.tests.QueueProcessorTestCase
Change History
comment:2 Changed 6 years ago by MarcusNoble
- Status changed from assigned to verify
- Resolution set to fixed
- Description modified (diff)
comment:3 Changed 6 years ago by Anders Markvardsen
- Status changed from verify to verifying
- Tester set to Anders Markvardsen
comment:4 Changed 6 years ago by Anders Markvardsen
- Status changed from verifying to reopened
- Resolution fixed deleted
I get the message:
[root@datareducedev ajm64]# python /var/www/autoreduce_webapp/manage.py test autoreduce_webapp.tests.QueueProcessorTestCase
Traceback (most recent call last):
File "/var/www/autoreduce_webapp/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 50, in run_from_argv
super(Command, self).run_from_argv(argv)
File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 71, in execute
super(Command, self).execute(*args, **options)
File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 88, in handle
failures = test_runner.run_tests(test_labels)
File "/usr/local/lib/python2.7/site-packages/django/test/runner.py", line 146, in run_tests
suite = self.build_suite(test_labels, extra_tests)
File "/usr/local/lib/python2.7/site-packages/django/test/runner.py", line 66, in build_suite
tests = self.test_loader.loadTestsFromName(label)
File "/usr/local/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'tests'
Note: See
TracTickets for help on using
tickets.
