Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are failing on Runbot #123

Open
harunyasar opened this issue Aug 2, 2017 · 0 comments
Open

Tests are failing on Runbot #123

harunyasar opened this issue Aug 2, 2017 · 0 comments

Comments

@harunyasar
Copy link

When build has been completed it is turning red and I can see several failures log lines. I'll be sharing different types of failures below.

2017-08-01 13:49:34,542 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: ====================================================================== 2017-08-01 13:49:34,542 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: FAIL: test_auto_join (odoo.addons.base.tests.test_expression.TestAutoJoin) 2017-08-01 13:49:34,546 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: Traceback (most recent call last): 2017-08-01 13:49:34,547 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: File "/usr/lib/python2.7/dist-packages/odoo/addons/base/tests/test_expression.py", line 687, in test_auto_join
2017-08-01 13:49:34,549 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: "_auto_join off: ('bank_ids.sanitized_acc_number', 'like', '..') should produce 3 queries (1 in res_partner_bank, 2 on res_partner)") 2017-08-01 13:49:34,550 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: AssertionError: 2 != 3 : _auto_join off: ('bank_ids.sanitized_acc_number', 'like', '..') should produce 3 queries (1 in res_partner_bank, 2 on res_partner)
2017-08-01 13:49:34,552 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: Ran 20 tests in 2.671s
2017-08-01 13:49:34,552 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: FAILED
2017-08-01 13:49:34,553 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_expression: (failures=1)
2017-08-01 13:49:34,553 217 ERROR 21190-feature-3fe831-all odoo.modules.module: Module base: 1 failures, 0 errors`

2017-08-01 13:57:26,350 217 ERROR runbot10 odoo.modules.registry: Failed to load registry Traceback (most recent call last): File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 82, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/loading.py", line 341, in load_modules registry.setup_models(cr) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 274, in setup_models ir_model = env['ir.model'] File "/var/lib/odoo/build/21190-feature-3fe831/odoo/api.py", line 752, in __getitem__ return self.registry[model_name]._browse((), self) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 174, in __getitem__ return self.models[model_name] KeyError: 'ir.model' 2017-08-01 13:57:26,354 217 INFO runbot10 odoo.modules.loading: loading 25 modules... 2017-08-01 13:57:26,383 217 INFO runbot10 odoo.modules.loading: 25 modules loaded in 0.03s, 1 queries 2017-08-01 13:57:26,388 217 INFO runbot10 werkzeug: 127.0.0.1 - - [01/Aug/2017 13:57:26] "GET /web/content/811-74a4ec6/report.assets_pdf.0.css HTTP/1.1" 500 - 2017-08-01 13:57:26,488 217 ERROR runbot10 werkzeug: Error on request: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 177, in run_wsgi execute(self.server.app) File "/usr/lib/python2.7/dist-packages/werkzeug/serving.py", line 165, in execute application_iter = app(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/service/server.py", line 250, in app return self.app(e, s) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/service/wsgi_server.py", line 184, in application return application_unproxied(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/service/wsgi_server.py", line 170, in application_unproxied result = handler(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/http.py", line 1306, in __call__ return self.dispatch(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/http.py", line 1280, in __call__ return self.app(environ, start_wrapped) File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 588, in __call__ return self.app(environ, start_response) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/http.py", line 1461, in dispatch odoo.registry(db).check_signaling() File "/usr/lib/python2.7/dist-packages/odoo/__init__.py", line 52, in registry return modules.registry.Registry(database_name) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 59, in __new__ return cls.new(db_name) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 82, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/loading.py", line 341, in load_modules registry.setup_models(cr) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 274, in setup_models ir_model = env['ir.model'] File "/var/lib/odoo/build/21190-feature-3fe831/odoo/api.py", line 752, in __getitem__ return self.registry[model_name]._browse((), self) File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 174, in __getitem__ return self.models[model_name] KeyError: 'ir.model'

2017-08-01 13:57:26,716 217 INFO runbot10 odoo.modules.module: odoo.addons.base.tests.test_xmlrpc running tests. 2017-08-01 13:57:26,716 217 INFO runbot10 odoo.addons.base.tests.test_xmlrpc: test_01_xmlrpc_login (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC) 2017-08-01 13:57:26,716 217 INFO runbot10 odoo.addons.base.tests.test_xmlrpc: Try to login on the common service.
2017-08-01 13:57:26,717 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR
2017-08-01 13:57:26,721 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: test_xmlrpc_ir_model_search (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC)
2017-08-01 13:57:26,721 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Try a search on the object service. 2017-08-01 13:57:26,721 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR 2017-08-01 13:57:26,724 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ====================================================================== 2017-08-01 13:57:26,724 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR: test_01_xmlrpc_login (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC) 2017-08-01 13:57:26,726 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Try to login on the common service.
2017-08-01 13:57:26,727 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Traceback (most recent call last):
2017-08-01 13:57:26,728 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/usr/lib/python2.7/dist-packages/odoo/tests/common.py", line 246, in setUp 2017-08-01 13:57:26,730 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: self.registry.enter_test_mode()
2017-08-01 13:57:26,731 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 430, in enter_test_mode 2017-08-01 13:57:26,732 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: assert self.test_cr is None
2017-08-01 13:57:26,733 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: AssertionError 2017-08-01 13:57:26,735 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ====================================================================== 2017-08-01 13:57:26,735 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: ERROR: test_xmlrpc_ir_model_search (odoo.addons.base.tests.test_xmlrpc.TestXMLRPC) 2017-08-01 13:57:26,736 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Try a search on the object service.
2017-08-01 13:57:26,738 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Traceback (most recent call last):
2017-08-01 13:57:26,739 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/usr/lib/python2.7/dist-packages/odoo/tests/common.py", line 246, in setUp 2017-08-01 13:57:26,741 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: self.registry.enter_test_mode()
2017-08-01 13:57:26,742 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: File "/var/lib/odoo/build/21190-feature-3fe831/odoo/modules/registry.py", line 430, in enter_test_mode 2017-08-01 13:57:26,743 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: assert self.test_cr is None
2017-08-01 13:57:26,745 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: AssertionError 2017-08-01 13:57:26,746 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: Ran 2 tests in 0.008s 2017-08-01 13:57:26,746 217 ERROR 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: FAILED 2017-08-01 13:57:26,748 217 INFO 21190-feature-3fe831-all odoo.addons.base.tests.test_xmlrpc: (errors=2) 2017-08-01 13:57:26,748 217 ERROR 21190-feature-3fe831-all odoo.modules.module: Module base: 0 failures, 2 errors

After these failures all tests are getting errors. Runbot is running on Odoo v10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant