Date |
Level |
Type |
Message |
2024-10-22 11:56:19
|
INFO
|
runbot
|
Init build environment with config Adhoc Conf con tests 17+
|
2024-10-22 11:56:19
|
|
|
Starting step base from config Adhoc Conf con tests 17+
|
2024-10-22 11:56:19
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-18
|
2024-10-22 11:56:41
|
INFO
|
server
|
odoo.modules.loading:327
1 modules loaded in 12.14s, 9195 queries (+9195 extra)
|
2024-10-22 11:57:00
|
INFO
|
server
|
odoo.modules.loading:327
18 modules loaded in 9.29s, 7993 queries (+7993 extra)
|
2024-10-22 11:57:00
|
|
|
Step base finished in 36s
|
2024-10-22 11:57:00
|
|
|
Starting step all from config Adhoc Conf con tests 17+
|
2024-10-22 11:57:00
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-18
|
2024-10-22 11:57:31
|
ERROR
|
server
|
odoo.addons.base.tests.test_configmanager:384
FAIL: TestConfigManager.test_04_odoo16_config_file
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_configmanager.py", line 384, in test_04_odoo16_config_file
self.assertEqual(config.options, assert_options, "Options don't match")
AssertionError: {'adm[42 chars],', 'publisher_warranty_url': 'http://services[2110 chars]: {}} != {'adm[42 chars],', 'db_host': False, 'db_maxconn': 64, 'db_na[2112 chars]5536}
{'addons_path': '/data/build/adhoc-cicd-odoo-odoo/odoo/addons,/data/build/adhoc-cicd-odoo-odoo/addons',
'admin_passwd': 'admin',
'config': None,
'csv_internal_sep': ',',
- 'data_dir': '/home/odoo/.local/share/Odoo',
? ^^^
+ 'data_dir': '/home/runbot/.local/share/Odoo',
? ++++ ^
'db_host': False,
'db_maxconn': 64,
'db_maxconn_gevent': False,
'db_name': False,
'db_password': False,
'db_port': False,
'db_replica_host': False,
'db_replica_port': False,
'db_sslmode': 'prefer',
'db_template': 'template0',
'db_user': False,
'dbfilter': '',
'demo': {},
'dev_mode': [],
'email_from': False,
'from_filter': False,
'geoip_city_db': '/usr/share/GeoIP/GeoLite2-City.mmdb',
'geoip_country_db': '/usr/share/GeoIP/GeoLite2-Country.mmdb',
'gevent_port': 8072,
'http_enable': True,
'http_interface': '',
'http_port': 8069,
'import_partial': '',
'init': {},
'language': None,
'limit_memory_hard': 2684354560,
'limit_memory_hard_gevent': False,
'limit_memory_soft': 2147483648,
'limit_memory_soft_gevent': False,
'limit_request': 65536,
'limit_time_cpu': 60,
'limit_time_real': 120,
'limit_time_real_cron': -1,
'list_db': True,
'load_language': None,
'log_db': False,
'log_db_level': 'warning',
'log_handler': [':INFO'],
'log_level': 'info',
'logfile': '',
'max_cron_threads': 2,
'osv_memory_count_limit': 0,
'overwrite_existing_translations': False,
'pg_path': '',
'pidfile': '',
'proxy_mode': False,
'publisher_warranty_url': 'http://services.odoo.com/publisher-warranty/',
'reportgz': False,
'root_path': '/data/build/adhoc-cicd-odoo-odoo/odoo',
'save': None,
'screencasts': '',
'screenshots': '/tmp/odoo_tests',
'server_wide_modules': 'base,web',
'shell_interface': None,
'smtp_password': False,
'smtp_port': 25,
'smtp_server': 'localhost',
'smtp_ssl': False,
'smtp_ssl_certificate_filename': False,
'smtp_ssl_private_key_filename': False,
'smtp_user': False,
'stop_after_init': False,
'syslog': False,
'test_enable': False,
'test_file': '',
'test_tags': None,
'transient_age_limit': 1.0,
'translate_in': '',
'translate_modules': ['all'],
'translate_out': '',
'unaccent': False,
'update': {},
'upgrade_path': '',
'websocket_keep_alive_timeout': '3600',
'websocket_rate_limit_burst': '10',
'websocket_rate_limit_delay': '0.2',
'without_demo': False,
'workers': 0,
'x_sendfile': False} : Options don't match
|
2024-10-22 11:57:31
|
ERROR
|
server
|
odoo.addons.base.tests.test_expression:993
ERROR: TestExpression.test_invalid
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/misc.py", line 785, in deco
return func(*args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_expression.py", line 993, in test_invalid
Country.search([('name."Et plouf"', 'ilike', 'foo')])
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1717, in search
return self.search_fetch(domain, [], offset=offset, limit=limit, order=order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 1741, in search_fetch
query = self._search(domain, offset=offset, limit=limit, order=order or self._order)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5733, in _search
query = self._where_calc(domain)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5484, in _where_calc
return expression.expression(domain, self).query
File "/data/build/adhoc-cicd-odoo-odoo/odoo/osv/expression.py", line 787, in __init__
self.parse()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/osv/expression.py", line 1434, in parse
push_result(model._condition_to_sql(alias, left, operator, right, self.query))
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 3098, in _condition_to_sql
sql_field = self._field_to_sql(alias, fname, query)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 2935, in _field_to_sql
raise ValueError(f"Invalid field {fname!r} on model {self._name!r}")
ValueError: Invalid field 'name."Et plouf"' on model 'res.country'
|
2024-10-22 11:57:37
|
ERROR
|
server
|
odoo.addons.base.tests.test_float:251
FAIL: TestFloatPrecision.test_rounding_invalid
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_float.py", line 251, in test_rounding_invalid
with self.assertRaises(AssertionError):
File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 473, in _assertRaises
with ExitStack() as inner:
File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__
raise exc_details[1]
File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__
if cb(*exc_details):
AssertionError: AssertionError not raised
|
2024-10-22 11:58:03
|
ERROR
|
server
|
odoo.addons.base.tests.test_misc:617
FAIL: TestMiscToken.test_None_payload
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_misc.py", line 617, in test_None_payload
with self.assertRaises(Exception):
File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 473, in _assertRaises
with ExitStack() as inner:
File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__
raise exc_details[1]
File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__
if cb(*exc_details):
AssertionError: Exception not raised
|
2024-10-22 11:58:03
|
ERROR
|
server
|
odoo.addons.base.tests.test_osv:63
FAIL: QueryTestCase.test_raise_missing_lhs
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_osv.py", line 63, in test_raise_missing_lhs
with self.assertRaises(AssertionError):
File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 473, in _assertRaises
with ExitStack() as inner:
File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__
raise exc_details[1]
File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__
if cb(*exc_details):
AssertionError: AssertionError not raised
|
2024-10-22 11:58:03
|
ERROR
|
server
|
odoo.addons.base.tests.test_qweb:64
FAIL: TestQWebTField.test_reject_crummy_tags
Traceback (most recent call last):
File "<None>", line 50, in template__td_t_field_company_name_
AttributeError: 'NoneType' object has no attribute '_fields'
The above exception was the direct cause of the following exception:
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
AttributeError: 'NoneType' object has no attribute '_fields'
Template: <td t-field="company.name"/>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_qweb.py", line 64, in test_reject_crummy_tags
with self.assertRaisesRegex(QWebException, r'QWeb widgets do not work correctly'):
AssertionError: "QWeb widgets do not work correctly" does not match "Error while render the template
AttributeError: 'NoneType' object has no attribute '_fields'
Template: <td t-field="company.name"/>"
|
2024-10-22 11:58:03
|
ERROR
|
server
|
odoo.addons.base.tests.test_qweb:70
FAIL: TestQWebTField.test_reject_t_tag
Traceback (most recent call last):
File "<None>", line 29, in template__t_t_field_company_name_
AttributeError: 'NoneType' object has no attribute '_fields'
The above exception was the direct cause of the following exception:
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
AttributeError: 'NoneType' object has no attribute '_fields'
Template: <t t-field="company.name"/>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_qweb.py", line 70, in test_reject_t_tag
with self.assertRaisesRegex(QWebException, r't-field can not be used on a t element'):
AssertionError: "t-field can not be used on a t element" does not match "Error while render the template
AttributeError: 'NoneType' object has no attribute '_fields'
Template: <t t-field="company.name"/>"
|
2024-10-22 11:58:03
|
ERROR
|
server
|
odoo.addons.base.tests.test_qweb:1443
ERROR: TestQWebBasic.test_error_message_4
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_qweb.py", line 1443, in test_error_message_4
self.env['ir.qweb']._render(False)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/profiler.py", line 306, in _tracked_method_render
return method_render(self, template, values, **options)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/ir_qweb.py", line 599, in _render
rendering = render_template(irQweb, values)
File "<False>", line 5, in not_found_template
ValueError: Expected singleton: ir.ui.view()
|
2024-10-22 11:58:09
|
ERROR
|
server
|
odoo.addons.base.tests.test_sql:103
FAIL: TestSQL.test_sql_identifier
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_sql.py", line 103, in test_sql_identifier
with self.assertRaises(AssertionError):
File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 473, in _assertRaises
with ExitStack() as inner:
File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__
raise exc_details[1]
File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__
if cb(*exc_details):
AssertionError: AssertionError not raised
|
2024-10-22 11:58:09
|
ERROR
|
server
|
odoo.addons.base.tests.test_translate:45
FAIL: TranslationToolsTestCase.test_quote_unquote
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/tests/test_translate.py", line 45, in test_quote_unquote
self.assertRaises(AssertionError, quote, """test \nall kinds\n\no\r
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 485, in assertRaises
with self._assertRaises(exception):
File "/usr/local/lib/python3.10/contextlib.py", line 142, in __exit__
next(self.gen)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 473, in _assertRaises
with ExitStack() as inner:
File "/usr/local/lib/python3.10/contextlib.py", line 576, in __exit__
raise exc_details[1]
File "/usr/local/lib/python3.10/contextlib.py", line 561, in __exit__
if cb(*exc_details):
AssertionError: AssertionError not raised
|
2024-10-22 11:58:21
|
ERROR
|
server
|
odoo.modules.loading:319
Module base: 8 failures, 2 errors of 973 tests
|
2024-10-22 11:58:21
|
INFO
|
server
|
odoo.modules.loading:327
1 modules loaded in 65.84s, 9195 queries (+35242 extra)
|
2024-10-22 11:59:09
|
ERROR
|
server
|
odoo.addons.mail.tests.test_res_partner:543
ERROR: Subtest TestPartner.test_partner_merge_wizards (login='admin')
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/wizard/base_partner_merge.py", line 178, in update_records
records.env.flush_all()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 833, in flush_all
self[model_name].flush_model()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6676, in flush_model
self._flush(fnames)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6753, in _flush
model.browse(some_ids)._write_multi(vals_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4853, in _write_multi
self.env.execute_query(SQL(
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 962, in execute_query
self.cr.execute(query)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 354, in execute
res = self._obj.execute(query, params)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "mail_followers_mail_followers_res_partner_res_model_id_uniq"
DETAIL: Key (res_model, res_id, partner_id)=(res.partner, 743, 3) already exists.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<decorator-gen-272>", line 2, in test_partner_merge_wizards
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 2132, in _users
func(*args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tools/misc.py", line 785, in deco
return func(*args, **kwargs)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/tests/test_res_partner.py", line 543, in test_partner_merge_wizards
merge_form.action_merge()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/wizard/base_partner_merge.py", line 728, in action_merge
self._merge(self.partner_ids.ids, self.dst_partner_id)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/wizard/base_partner_merge.py", line 411, in _merge
self._update_reference_fields(src_partners, dst_partner)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/wizard/base_partner_merge.py", line 283, in _update_reference_fields
self._update_reference_fields_generic('res.partner', src_partners, dst_partner, additional_update_records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/wizard/base_partner_merge.py", line 186, in _update_reference_fields_generic
update_records('mail.followers', src=record, field_model='res_model')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/wizard/base_partner_merge.py", line 182, in update_records
raise UserError('Error updating the record. A unique constraint may have been violated.\n\nError details: %s' % str(e))
odoo.exceptions.UserError: Error updating the record. A unique constraint may have been violated.
Error details: duplicate key value violates unique constraint "mail_followers_mail_followers_res_partner_res_model_id_uniq"
DETAIL: Key (res_model, res_id, partner_id)=(res.partner, 743, 3) already exists.
|
2024-10-22 11:59:09
|
ERROR
|
server
|
odoo.modules.loading:319
Module mail: 0 failures, 1 errors of 72 tests
|
2024-10-22 11:59:29
|
INFO
|
runbot
|
Killing build 84397-18-0, requested by Administrator (user #2)
|
2024-10-22 11:59:30
|
INFO
|
runbot
|
Kill build 84397-18-0
|