Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE3
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
5
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3c5b8045
authored
Jun 28, 2022
by
Karsa Zoltán István
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests out
parent
edec537a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
562 additions
and
0 deletions
+562
-0
circle/test220628.out
+562
-0
No files found.
circle/test220628.out
0 → 100644
View file @
3c5b8045
fatal: not a git repository: '/home/cloud/agent/agent-linux/.git'
nosetests --with-doctest --exclude-dir=dashboard/tests/selenium --exclude=circle --verbosity=1
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating levels for models: Lease, InstanceTemplate, Instance, Vlan, GroupProfile, TestModel, Test2Model.
Creating test database for alias 'default'...
.............................E...............................F..........E....F.................EFF...E..................E............FF.E...E...........F......EE.E.F......EEE.FEE
======================================================================
ERROR: test_activity_created_before_async_job (common.tests.test_operations.OperationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/common/tests/test_operations.py", line 37, in test_activity_created_before_async_job
op.async(system=True)
AttributeError: 'TestOp' object has no attribute 'async'
======================================================================
ERROR: test_create_no_concurrency_check (vm.tests.test_models.InstanceActivityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/vm/tests/test_models.py", line 245, in test_create_no_concurrency_check
original_create.__self__.__class__)
TypeError: method expected 2 arguments, got 3
======================================================================
ERROR: test_migrate_with_error (vm.tests.test_models.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/unittest/case.py", line 174, in handle
self.obj_name = callable_obj.__name__
AttributeError: 'MigrateOperation' object has no attribute '__name__'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/cloud/circle/circle/vm/tests/test_models.py", line 154, in test_migrate_with_error
self.assertRaises(Exception, migrate_op, system=True)
File "/usr/lib/python3.6/unittest/case.py", line 733, in assertRaises
return context.handle('assertRaises', args, kwargs)
File "/usr/lib/python3.6/unittest/case.py", line 176, in handle
self.obj_name = str(callable_obj)
TypeError: __str__ returned non-string (type __proxy__)
======================================================================
ERROR: test_interface_create (vm.tests.test_models.InterfaceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/test/testcases.py", line 284, in _setup_and_call
self._post_teardown()
File "/home/cloud/circle/circle/common/tests/celery_mock.py", line 41, in _post_teardown
super(MockCeleryMixin, self)._post_teardown()
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/test/testcases.py", line 1006, in _post_teardown
self._fixture_teardown()
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/test/testcases.py", line 1248, in _fixture_teardown
connections[db_name].check_constraints()
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 358, in check_constraints
bad_value, referenced_table_name, referenced_column_name
django.db.utils.IntegrityError: The row in table 'vm_instanceactivity' with primary key '1' has an invalid foreign key: vm_instanceactivity.instance_id contains a value '10' that does not have a corresponding value in vm_instance.id.
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'sha')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/cloud/circle/circle/common/backends.py", line 21, in <module>
import sha
ModuleNotFoundError: No module named 'sha'
======================================================================
ERROR: test_renew_get_by_nonowner_w_key (dashboard.tests.test_mockedviews.RenewViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 495, in test_renew_get_by_nonowner_w_key
assert view.as_view()(request, pk=1234).render().status_code == 200
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 77, in dispatch
request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 293, in get
return super(OperationView, self).get(request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/detail.py", line 107, in get
context = self.get_context_data(object=self.object)
File "/home/cloud/circle/circle/dashboard/views/vm.py", line 688, in get_context_data
context = super(VmRenewView, self).get_context_data(**kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 402, in get_context_data
ctx['form'] = self.form_class(**self.get_form_kwargs())
File "/home/cloud/circle/circle/dashboard/views/vm.py", line 674, in get_form_kwargs
Lease.objects.filter(pk=default.pk).distinct())
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/query.py", line 941, in filter
return self._filter_or_exclude(False, args, kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/query.py", line 961, in _filter_or_exclude
clone._filter_or_exclude_inplace(negate, args, kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/query.py", line 968, in _filter_or_exclude_inplace
self._query.add_q(Q(*args, **kwargs))
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1391, in add_q
clause, _ = self._add_q(q_object, self.used_aliases)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1413, in _add_q
split_subq=split_subq, check_filterable=check_filterable,
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1345, in build_filter
condition = self.build_lookup(lookups, col, value)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1191, in build_lookup
lookup = lookup_class(lhs, rhs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/lookups.py", line 25, in __init__
self.rhs = self.get_prep_lookup()
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/lookups.py", line 77, in get_prep_lookup
return self.lhs.output_field.get_prep_value(self.rhs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 1827, in get_prep_value
) from e
TypeError: Field 'id' expected a number but got [].
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=10
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=10
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=11
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=11
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_renew_post_by_anon_w_key (dashboard.tests.test_mockedviews.RenewViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 512, in test_renew_post_by_anon_w_key
assert view.as_view()(request, pk=1234).render().status_code == 200
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 77, in dispatch
request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 293, in get
return super(OperationView, self).get(request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/detail.py", line 107, in get
context = self.get_context_data(object=self.object)
File "/home/cloud/circle/circle/dashboard/views/vm.py", line 688, in get_context_data
context = super(VmRenewView, self).get_context_data(**kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 402, in get_context_data
ctx['form'] = self.form_class(**self.get_form_kwargs())
File "/home/cloud/circle/circle/dashboard/views/vm.py", line 674, in get_form_kwargs
Lease.objects.filter(pk=default.pk).distinct())
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/manager.py", line 85, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/query.py", line 941, in filter
return self._filter_or_exclude(False, args, kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/query.py", line 961, in _filter_or_exclude
clone._filter_or_exclude_inplace(negate, args, kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/query.py", line 968, in _filter_or_exclude_inplace
self._query.add_q(Q(*args, **kwargs))
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1391, in add_q
clause, _ = self._add_q(q_object, self.used_aliases)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1413, in _add_q
split_subq=split_subq, check_filterable=check_filterable,
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1345, in build_filter
condition = self.build_lookup(lookups, col, value)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1191, in build_lookup
lookup = lookup_class(lhs, rhs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/lookups.py", line 25, in __init__
self.rhs = self.get_prep_lookup()
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/lookups.py", line 77, in get_prep_lookup
return self.lhs.output_field.get_prep_value(self.rhs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/db/models/fields/__init__.py", line 1827, in get_prep_value
) from e
TypeError: Field 'id' expected a number but got [].
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=13
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=13
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_migrate (dashboard.tests.test_mockedviews.VmOperationViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 173, in test_migrate
assert view.as_view()(request, pk=1234)['location']
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 77, in dispatch
request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 408, in post
form = self.form_class(self.request.POST, **self.get_form_kwargs())
File "/home/cloud/circle/circle/dashboard/forms.py", line 820, in __init__
widget=forms.RadioSelect(), label=_("Node"))
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/forms/models.py", line 1215, in __init__
self.queryset = queryset
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/forms/models.py", line 1240, in _set_queryset
self._queryset = None if queryset is None else queryset.all()
AttributeError: 'QuerySet' object has no attribute 'all'
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=32
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=32
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_migrate_failed (dashboard.tests.test_mockedviews.VmOperationViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 195, in test_migrate_failed
assert view.as_view()(request, pk=1234)['location']
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 77, in dispatch
request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 408, in post
form = self.form_class(self.request.POST, **self.get_form_kwargs())
File "/home/cloud/circle/circle/dashboard/forms.py", line 820, in __init__
widget=forms.RadioSelect(), label=_("Node"))
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/forms/models.py", line 1215, in __init__
self.queryset = queryset
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/forms/models.py", line 1240, in _set_queryset
self._queryset = None if queryset is None else queryset.all()
AttributeError: 'QuerySet' object has no attribute 'all'
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=33
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=33
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: test_migrate_wo_permission (dashboard.tests.test_mockedviews.VmOperationViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 215, in test_migrate_wo_permission
assert view.as_view()(request, pk=1234)['location']
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 77, in dispatch
request, *args, **kwargs)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/home/cloud/circle/circle/dashboard/views/util.py", line 408, in post
form = self.form_class(self.request.POST, **self.get_form_kwargs())
File "/home/cloud/circle/circle/dashboard/forms.py", line 820, in __init__
widget=forms.RadioSelect(), label=_("Node"))
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/forms/models.py", line 1215, in __init__
self.queryset = queryset
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/forms/models.py", line 1240, in _set_queryset
self._queryset = None if queryset is None else queryset.all()
AttributeError: 'QuerySet' object has no attribute 'all'
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=35
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=35
--------------------- >> end captured logging << ---------------------
======================================================================
ERROR: Test all templates for syntax errors.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_templates.py", line 33, in test_templates
self._test_dir(loader.get_template_sources(''))
File "/home/cloud/circle/circle/dashboard/tests/test_templates.py", line 42, in _test_dir
self._test_dir(listdir(i), i)
File "/home/cloud/circle/circle/dashboard/tests/test_templates.py", line 42, in _test_dir
self._test_dir(listdir(i), i)
File "/home/cloud/circle/circle/dashboard/tests/test_templates.py", line 42, in _test_dir
self._test_dir(listdir(i), i)
File "/home/cloud/circle/circle/dashboard/tests/test_templates.py", line 39, in _test_dir
self._test_template(join(path, i))
File "/home/cloud/circle/circle/dashboard/tests/test_templates.py", line 47, in _test_template
Template(open(path).read()).render(Context({}))
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/template/base.py", line 170, in render
return self._render(context)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/test/utils.py", line 100, in instrumented_test_render
return self.nodelist.render(context)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/template/loader_tags.py", line 183, in render
template = context.template.engine.select_template(template_name)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/template/engine.py", line 180, in select_template
raise TemplateDoesNotExist(', '.join(not_found))
django.template.exceptions.TemplateDoesNotExist: django/forms/widgets/attrs.html
-------------------- >> begin captured stdout << ---------------------
<django.template.loaders.cached.Loader object at 0x7f8b91a45b70>
/home/cloud/circle/circle/templates:
/home/cloud/circle/circle/templates/404.html
/home/cloud/circle/circle/templates/registration:
/home/cloud/circle/circle/templates/registration/two-factor-login.html
'str' object has no attribute 'form'
/home/cloud/circle/circle/templates/registration/password_reset_complete.html
/home/cloud/circle/circle/templates/registration/password_reset_form.html
Failed lookup for key [form] in [{'True': True, 'False': False, 'None': None}, {}]
/home/cloud/circle/circle/templates/registration/password_reset_done.html
/home/cloud/circle/circle/templates/registration/login.html
Failed lookup for key [form] in [{'True': True, 'False': False, 'None': None}, {}]
/home/cloud/circle/circle/templates/registration/base.html
/home/cloud/circle/circle/templates/registration/password_reset_confirm.html
/home/cloud/circle/circle/templates/info:
/home/cloud/circle/circle/templates/info/help.html
/home/cloud/circle/circle/templates/info/resize.html
/home/cloud/circle/circle/templates/info/support.html
/home/cloud/circle/circle/templates/info/help:
/home/cloud/circle/circle/templates/info/help/overview_toc.html
/home/cloud/circle/circle/templates/info/help/overview.html
/home/cloud/circle/circle/templates/info/help/faq_toc.html
/home/cloud/circle/circle/templates/info/help/faq.html
/home/cloud/circle/circle/templates/info/policy.html
/home/cloud/circle/circle/templates/info/legal.html
/home/cloud/circle/circle/templates/500.html
/home/cloud/circle/circle/templates/403.html
/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/contrib/auth/templates:
/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/contrib/auth/templates/registration:
/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/contrib/auth/templates/registration/password_reset_subject.txt
/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/contrib/auth/templates/auth:
/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/contrib/auth/templates/auth/widgets:
/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/django/contrib/auth/templates/auth/widgets/read_only_password_hash.html
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'circle.common')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/cloud/circle/circle/dashboard/tests/test_views.py", line 28, in <module>
from circle.common.tests.celery_mock import MockCeleryMixin
ModuleNotFoundError: No module named 'circle.common'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'fabric.api')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/cloud/circle/circle/fabfile.py", line 23, in <module>
from fabric.api import env, run, settings, sudo, prefix, cd, execute
ModuleNotFoundError: No module named 'fabric.api'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'circle.common')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/cloud/circle/circle/network/tests/test_views.py", line 24, in <module>
from dashboard.tests.test_views import LoginMixin
File "/home/cloud/circle/circle/dashboard/tests/test_views.py", line 28, in <module>
from circle.common.tests.celery_mock import MockCeleryMixin
ModuleNotFoundError: No module named 'circle.common'
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'circle.common')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/loader.py", line 418, in loadTestsFromName
addr.filename, addr.module)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/home/cloud/.virtualenvs/circle/lib/python3.6/imp.py", line 172, in load_source
module = _load(spec)
File "<frozen importlib._bootstrap>", line 684, in _load
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/cloud/circle/circle/request/tests.py", line 29, in <module>
from dashboard.tests.test_views import LoginMixin
File "/home/cloud/circle/circle/dashboard/tests/test_views.py", line 28, in <module>
from circle.common.tests.celery_mock import MockCeleryMixin
ModuleNotFoundError: No module named 'circle.common'
======================================================================
FAIL: test_periodic_task (firewall.tests.test_firewall.ReloadTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/firewall/tests/test_firewall.py", line 347, in test_periodic_task
assert cache.delete.called
AssertionError
======================================================================
FAIL: test_flush (vm.tests.test_models.InstanceActivityTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/vm/tests/test_models.py", line 388, in test_flush
user.is_superuser.assert_called()
File "/usr/lib/python3.6/unittest/mock.py", line 786, in assert_called
raise AssertionError(msg)
AssertionError: Expected 'is_superuser' to have been called.
======================================================================
FAIL: test_migrate_with_scheduling (vm.tests.test_models.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/vm/tests/test_models.py", line 118, in test_migrate_with_scheduling
migr.apply_async.assert_called()
File "/usr/lib/python3.6/unittest/mock.py", line 786, in assert_called
raise AssertionError(msg)
AssertionError: Expected 'apply_async' to have been called.
======================================================================
FAIL: test_migrate_wo_scheduling (vm.tests.test_models.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/vm/tests/test_models.py", line 136, in test_migrate_wo_scheduling
migr.apply_async.assert_called()
File "/usr/lib/python3.6/unittest/mock.py", line 786, in assert_called
raise AssertionError(msg)
AssertionError: Expected 'apply_async' to have been called.
======================================================================
FAIL: test_renew_by_owner_w_param (dashboard.tests.test_mockedviews.RenewViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 434, in test_renew_by_owner_w_param
assert not msg.error.called
AssertionError:
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=8
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=8
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_renew_by_owner_wo_param (dashboard.tests.test_mockedviews.RenewViewTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 415, in test_renew_by_owner_wo_param
assert not msg.error.called
AssertionError:
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=9
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=9
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_migrate (dashboard.tests.test_mockedviews.VmMassOperationViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 337, in test_migrate
assert not msg2.error.called
AssertionError:
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=25
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=25
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: test_save_as_w_name (dashboard.tests.test_mockedviews.VmOperationViewTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cloud/circle/circle/dashboard/tests/test_mockedviews.py", line 263, in test_save_as_w_name
assert not msg.error.called
AssertionError:
-------------------- >> begin captured logging << --------------------
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b932958c8> for seq=37
factory.generate: DEBUG: Sequence: Computing next value of <function UserFactory.<lambda> at 0x7f8b93295950> for seq=37
--------------------- >> end captured logging << ---------------------
======================================================================
FAIL: Doctest: firewall.models.Vlan._magic_ipv6_template
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/doctest.py", line 2199, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for firewall.models.Vlan._magic_ipv6_template
File "/home/cloud/circle/circle/firewall/models.py", line 448, in _magic_ipv6_template
----------------------------------------------------------------------
File "/home/cloud/circle/circle/firewall/models.py", line 453, in firewall.models.Vlan._magic_ipv6_template
Failed example:
Vlan._magic_ipv6_template(IPNetwork("198.51.100.0/24"),
IPNetwork("2001:0DB8:1:1::/64"))
Expected:
('2001:db8:1:1:%(d)d::', 80)
Got:
('2001:db8:1:1:%(d)d::', 48)
----------------------------------------------------------------------
File "/home/cloud/circle/circle/firewall/models.py", line 458, in firewall.models.Vlan._magic_ipv6_template
Failed example:
Vlan._magic_ipv6_template(IPNetwork("198.51.100.0/24"),
IPNetwork("2001:0DB8:1:1::/64"), False)
Expected:
('2001:db8:1:1:%(d)02x00::', 72)
Got:
('2001:db8:1:1:%(d)02x00::', 48)
----------------------------------------------------------------------
Ran 177 tests in 3.868s
FAILED (errors=15, failures=9)
Destroying test database for alias 'default'...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment