[tickets:#7964] test_merge_request_detail_view fails (intermittent)

Status: open
Milestone: unreleased
Created: Fri Aug 14, 2015 01:24 PM UTC by Igor Bondarenko
Last Updated: Fri Aug 14, 2015 01:24 PM UTC
Owner: nobody

======================================================================
ERROR: forgegit.tests.functional.test_controllers.TestFork.test_merge_request_detail_view
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/buildenv/2fa433a593c4e35609aa31e4291198025daf5171/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/deploy/buildbot/slave3/full/build/ForgeGit/forgegit/tests/functional/test_controllers.py", line 633, in test_merge_request_detail_view
    c_id = self.forked_repo.get_heads()[0]['object_id']
  File "/home/deploy/buildbot/slave3/full/build/Allura/allura/model/repository.py", line 484, in get_heads
    return self._impl.heads
  File "/var/tmp/buildenv/2fa433a593c4e35609aa31e4291198025daf5171/lib/python2.7/site-packages/ming/utils.py", line 18, in __get__
    result = obj.__dict__[self.__name__] = self._func(obj)
  File "/home/deploy/buildbot/slave3/full/build/ForgeGit/forgegit/model/git_repo.py", line 595, in heads
    return self._get_refs('heads')
  File "/home/deploy/buildbot/slave3/full/build/ForgeGit/forgegit/model/git_repo.py", line 574, in _get_refs
    session(self._repo).flush(self._repo)
AttributeError: 'NoneType' object has no attribute 'flush'
-------------------- >> begin captured stdout << ---------------------
Running setup_app() from allura.websetup
http://localhost/p/test2/code/do_request_merge
 ==> 302 ==> http://localhost/p/test/src-git/merge-requests/1/

--------------------- >> end captured stdout << ----------------------

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

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.