incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cory Johns" <masterbunn...@users.sf.net>
Subject [allura:tickets] #7178 error with parallel tests: 'solr' is None
Date Tue, 25 Feb 2014 19:36:11 GMT
- **status**: open --> in-progress
- **assigned_to**: Cory Johns



---

** [tickets:#7178] error with parallel tests: 'solr' is None**

**Status:** in-progress
**Created:** Fri Feb 14, 2014 06:35 PM UTC by Dave Brondsema
**Last Updated:** Mon Feb 24, 2014 06:03 PM UTC
**Owner:** Cory Johns

Sometimes when using ./run_tests with multiple processes, I get lots of these errors:

~~~~
  File "/var/local/env-allura/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/case.py",
line 381, in setUp
    try_run(self.inst, ('setup', 'setUp'))
  File "/var/local/env-allura/lib/python2.7/site-packages/nose-1.3.0-py2.7.egg/nose/util.py",
line 469, in try_run
    return func()
  File "/home/dbrondsema/dbrondsema-1019/forge/AlluraTest/alluratest/controller.py", line
129, in setUp
    setup_functional_test(app_name=self.application_under_test))
  File "/home/dbrondsema/dbrondsema-1019/forge/AlluraTest/alluratest/controller.py", line
83, in setup_functional_test
    setup_basic_test(config, app_name)
  File "/home/dbrondsema/dbrondsema-1019/forge/AlluraTest/alluratest/controller.py", line
75, in setup_basic_test
    while M.MonQTask.run_ready('setup'):
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/monq_model.py", line 239,
in run_ready
    task()
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/model/monq_model.py", line 267,
in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/home/dbrondsema/dbrondsema-1019/forge/Allura/allura/tasks/index_tasks.py", line 66,
in add_artifacts
    solr.add(solr_updates)
AttributeError: 'NoneType' object has no attribute 'add'
~~~~


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message