bundletester --dry-run raises exception, keeps looping

Bug #1391091 reported by Stuart Bishop
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charmtester
New
Undecided
Unassigned

Bug Description

bundletester --dry-run fails horribly, continuously raising an AttributeError in a loop.

stub@belch:~/charms/postgresql/enable-integration-tests$ bundletester -t `pwd` -l DEBUG --dry-run
DEBUG:root:Bootstrap environment: local
ERROR:root:'NoneType' object has no attribute 'get_stat'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/bundletester/builder.py", line 81, in reset
    self.environment.reset(terminate_machines=True)
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 70, in reset
    status = self.status()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 203, in status
    return self.client.get_stat()
AttributeError: 'NoneType' object has no attribute 'get_stat'
DEBUG:root:Retrying environment reset...
ERROR:root:'NoneType' object has no attribute 'get_stat'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/bundletester/builder.py", line 81, in reset
    self.environment.reset(terminate_machines=True)
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 70, in reset
    status = self.status()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 203, in status
    return self.client.get_stat()
AttributeError: 'NoneType' object has no attribute 'get_stat'
DEBUG:root:Retrying environment reset...
ERROR:root:'NoneType' object has no attribute 'get_stat'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.