Date |
Level |
Type |
Message |
2024-10-21 20:20:39
|
INFO
|
runbot
|
Init build environment with config Adhoc Conf con tests 17+
|
2024-10-21 20:20:39
|
|
|
Starting step base from config Adhoc Conf con tests 17+
|
2024-10-21 20:20:39
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-18
|
2024-10-21 20:21:00
|
INFO
|
server
|
odoo.modules.loading:327
1 modules loaded in 10.99s, 9195 queries (+9195 extra)
|
2024-10-21 20:21:18
|
INFO
|
server
|
odoo.modules.loading:327
18 modules loaded in 9.04s, 7993 queries (+7993 extra)
|
2024-10-21 20:21:18
|
|
|
Step base finished in 34s
|
2024-10-21 20:21:18
|
|
|
Starting step all from config Adhoc Conf con tests 17+
|
2024-10-21 20:21:18
|
INFO
|
runbot
|
Using Dockerfile Tag odoo:adhoc-odoo-18
|
2024-10-21 20:21:46
|
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-21 20:21:52
|
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 5756, in _search
query = self._where_calc(domain)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5511, 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 3125, in _condition_to_sql
sql_field = self._field_to_sql(alias, fname, query)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 2959, 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-21 20:21:52
|
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-21 20:22:16
|
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-21 20:22:16
|
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-21 20:22:16
|
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-21 20:22:16
|
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-21 20:22:16
|
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-21 20:22:22
|
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-21 20:22:22
|
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-21 20:22:34
|
ERROR
|
server
|
odoo.modules.loading:319
Module base: 8 failures, 2 errors of 973 tests
|
2024-10-21 20:22:34
|
INFO
|
server
|
odoo.modules.loading:327
1 modules loaded in 64.43s, 9195 queries (+35242 extra)
|
2024-10-21 20:23:28
|
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 6699, in flush_model
self._flush(fnames)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6776, in _flush
model.browse(some_ids)._write_multi(vals_list)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 4880, 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-21 20:23:28
|
ERROR
|
server
|
odoo.modules.loading:319
Module mail: 0 failures, 1 errors of 72 tests
|
2024-10-21 20:23:58
|
ERROR
|
server
|
odoo.addons.partner_state.tests.test_partner_state:23
ERROR: TestPartnerState.test_partner_state_approved
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6211, in ensure_one
_id, = self._ids
ValueError: not enough values to unpack (expected 1, got 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/ingadhoc-partner/partner_state/tests/test_partner_state.py", line 23, in test_partner_state_approved
self.partner.partner_state_approved()
File "/data/build/ingadhoc-partner/partner_state/models/res_partner.py", line 80, in partner_state_approved
self.check_partner_approve()
File "/data/build/ingadhoc-partner/partner_state/models/res_partner.py", line 85, in check_partner_approve
'res.users'].has_group('partner_state.approve_partners')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/res_users.py", line 1181, in has_group
self.ensure_one()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6214, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: res.users()
|
2024-10-21 20:23:58
|
ERROR
|
server
|
odoo.addons.partner_state.tests.test_partner_state:26
ERROR: TestPartnerState.test_partner_state_block_edition
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6211, in ensure_one
_id, = self._ids
ValueError: not enough values to unpack (expected 1, got 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/build/ingadhoc-partner/partner_state/tests/test_partner_state.py", line 26, in test_partner_state_block_edition
self.partner.partner_state_approved()
File "/data/build/ingadhoc-partner/partner_state/models/res_partner.py", line 80, in partner_state_approved
self.check_partner_approve()
File "/data/build/ingadhoc-partner/partner_state/models/res_partner.py", line 85, in check_partner_approve
'res.users'].has_group('partner_state.approve_partners')
File "/data/build/adhoc-cicd-odoo-odoo/odoo/addons/base/models/res_users.py", line 1181, in has_group
self.ensure_one()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 6214, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: res.users()
|
2024-10-21 20:23:58
|
ERROR
|
server
|
odoo.modules.loading:319
Module partner_state: 0 failures, 2 errors of 4 tests
|
2024-10-21 20:25:23
|
ERROR
|
server
|
odoo.addons.base_vat.tests.test_validate_ruc:57
ERROR: TestStructure.test_parent_validation
Traceback (most recent call last):
File "/data/build/adhoc-cicd-odoo-odoo/addons/base_vat/tests/test_validate_ruc.py", line 57, in test_parent_validation
with self.assertRaises(ValidationError), self.env.cr.savepoint():
File "/usr/local/lib/python3.10/contextlib.py", line 135, in __enter__
return next(self.gen)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/tests/common.py", line 465, in _assertRaises
init.enter_context(self.env.cr.savepoint())
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 182, in savepoint
return _FlushingSavepoint(self)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 125, in __init__
cr.flush()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/sql_db.py", line 159, in flush
self.transaction.flush()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 1006, in flush
env_to_flush.flush_all()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 831, in flush_all
self._recompute_all()
File "/data/build/adhoc-cicd-odoo-odoo/odoo/api.py", line 827, in _recompute_all
self[field.model_name]._recompute_field(field)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 7281, in _recompute_field
field.recompute(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1447, in recompute
apply_except_missing(self.compute_value, recs)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1420, in apply_except_missing
func(records)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 1469, in compute_value
records._compute_field_value(self)
File "/data/build/adhoc-cicd-odoo-odoo/addons/mail/models/mail_thread.py", line 427, in _compute_field_value
return super()._compute_field_value(field)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/models.py", line 5244, in _compute_field_value
fields.determine(field.compute, self)
File "/data/build/adhoc-cicd-odoo-odoo/odoo/fields.py", line 109, in determine
return needle(*args)
File "/data/build/adhoc-cicd-odoo-odoo/addons/base_vat/models/res_partner.py", line 209, in _compute_vies_valid
vies_valid = check_vies(partner.vies_vat_to_check, timeout=10)
TypeError: TestStructure.setUpClass.<locals>.check_vies() got an unexpected keyword argument 'timeout'
|
2024-10-21 20:25:23
|
ERROR
|
server
|
odoo.modules.loading:319
Module base_vat: 0 failures, 1 errors of 8 tests
|
2024-10-21 20:25:41
|
INFO
|
runbot
|
Build automatically killed, new build found.
|
2024-10-21 20:25:42
|
INFO
|
runbot
|
Kill build 84333-18-0
|