2024-10-21 20:29:19
|
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:29:19
|
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'
|