Test pylint
  • Commits
  • Build time
    43m
    Wait time
    47m
    Load time
    43m5s
Logs
Date (UTC) Level Message
2026-10-31 07:11:50 INFO Init build environment with config duong-addons-run-test-20
2026-10-31 07:11:50 Starting step test_pylint from config duong-addons-run-test-20
2026-10-31 07:11:50 Using Dockerfile Tag odoo:Docker20
2026-10-31 07:12:38 INFO 1 modules loaded in 27.16s, 8721 queries (+8721 extra)
2026-10-31 07:14:16 INFO pylint version: 3.0.3
2026-10-31 07:53:23 ERROR FAIL: TestPyLint.test_pylint Traceback (most recent call last): File "/data/build/odoo/odoo/addons/test_lint/tests/test_pylint.py", line 109, in test_pylint self.fail(f"pylint test failed:\n\n{r.stdout}\n{r.stderr}".strip()) AssertionError: pylint test failed: ************* Module addons.base_automation.models.base_automation Using variable 'status' before assignment (E0601) at odoo/addons/base_automation/models/base_automation.py:820 ************* Module odoo.tools.intervals Undefined variable 'T' (E0602) at odoo/odoo/tools/intervals.py:31 Undefined variable 'T' (E0602) at odoo/odoo/tools/intervals.py:31 Undefined variable 'T' (E0602) at odoo/odoo/tools/intervals.py:36 ************* Module odoo.tools.func Undefined variable 'T' (E0602) at odoo/odoo/tools/func.py:106 ************* Module odoo.tools.lru Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:9 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:9 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:20 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:20 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:24 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:24 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:39 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:60 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:60 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:66 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:66 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:92 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:98 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:102 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:102 Undefined variable 'K' (E0602) at odoo/odoo/tools/lru.py:117 Undefined variable 'V' (E0602) at odoo/odoo/tools/lru.py:117 ************* Module odoo.tools.misc Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:792 Undefined variable 'K' (E0602) at odoo/odoo/tools/misc.py:929 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:929 Undefined variable 'K' (E0602) at odoo/odoo/tools/misc.py:957 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:957 Undefined variable 'K' (E0602) at odoo/odoo/tools/misc.py:998 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:998 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:1010 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:1015 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:1061 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:1150 Undefined variable 'K' (E0602) at odoo/odoo/tools/misc.py:1639 Undefined variable 'V' (E0602) at odoo/odoo/tools/misc.py:1639 Undefined variable 'T' (E0602) at odoo/odoo/tools/misc.py:1673 ************* Module odoo.orm.fields_temporal Undefined variable 'T' (E0602) at odoo/odoo/orm/fields_temporal.py:29 ************* Module addons.populate.generators.generator Using variable 'Callable' before assignment (E0601) at odoo/addons/populate/generators/generator.py:29 ************* Module addons.populate.utils.distributions Using variable 'Callable' before assignment (E0601) at odoo/addons/populate/utils/distributions.py:15 Using variable 'Distribution' before assignment (E0601) at odoo/addons/populate/utils/distributions.py:15 ------------------------------------ Your code has been rated at 10.00/10 <unknown>:736: SyntaxWarning: invalid escape sequence '\-' <unknown>:1219: SyntaxWarning: invalid escape sequence '\;' <unknown>:1219: SyntaxWarning: invalid escape sequence '\,'
2026-10-31 07:54:23 ERROR FAIL: TestSqlInjection.test_sql_injection Traceback (most recent call last): File "/data/build/odoo/odoo/addons/test_lint/tests/test_sql_injection.py", line 522, in test_sql_injection self.fail("\n- ".join(errors)) AssertionError: 1 sql-injection error - /data/build/duong-addons/d_bank_connector_wise/migrations/17.0.1.1.0/post-migrate.py:28 "cr.execute('SELECT %s FROM d_bank_connector_connection WHERE id = %%s' % ', '..."
2026-10-31 07:54:25 ERROR Module test_lint: 2 failures, 0 errors of 32 tests
2026-10-31 07:54:42 INFO 17 modules loaded in 2520.98s, 5360 queries (+5368 extra)
2026-10-31 07:54:42 ERROR At least one test failed when loading the modules.
2026-10-31 07:54:43 ERROR 2 failed, 0 error(s) of 32 tests when loading database '03599-20-0-all'
2026-10-31 07:54:54 INFO Getting results for build 03599-20-0
2026-10-31 07:54:54 Step test_pylint finished in 43m