Conversation
Stack of error happening before this change:
2025-08-28 06:19:26,925 550 ERROR odoo odoo.tests.loader: Can not `import web_edit_user_filter`.
Traceback (most recent call last):
File "/opt/odoo/odoo/tests/loader.py", line 29, in _get_tests_modules
mod = importlib.import_module('.tests', modpath)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/__w/web/web/web_edit_user_filter/tests/__init__.py", line 1, in <module>
from . import test_edit_user_filter
File "/__w/web/web/web_edit_user_filter/tests/test_edit_user_filter.py", line 4, in <module>
from odoo.tests.common import SingleTransactionCase, post_install
ImportError: cannot import name 'post_install'
|
@OCA/web-maintainers could you please take a look? Thanks! |
|
What a great day to merge this nice PR. Let's do it! |
|
@etobella your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-3281-by-etobella-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
|
|
thanks for looking into this. Disabling a test should be a last resort, first try to change https://github.com/OCA/web/blob/14.0/web_disable_export_group/tests/test_tour.py#L27 and following. I wonder why you can't reproduce this? Do you possibly not have the |
|
Quite funny, I made a PR to execute the module independently, and it gave the same error. However, in local the tests are executed. It seems that the problem comes from here: https://github.com/OCA/web/actions/runs/17665134973/job/50205409179?pr=3283#step:8:60 So, when it is making the first connection, it fails, but locally, it works as expected:
|
|
oh nice catch. Might be an issue with how v14 acts on github, as it looks like this is the only v14 js test. Could you try if |
|
It seems that it doesn't work, but why??? |
|
what error does the requests module return? timeout, connection refused, ...? |
|
Aborted. 2025-09-12 05:09:14,813 550 INFO odoo odoo.addons.web_disable_export_group.tests.test_tour.TestTour: Chrome pid: 561 |
|
that's chrome's quite unhelpful error message, that's why I asked you to make a request yourself and see what you get back there |
|
@francesco-ooops OCA/oca-ci#109 was merged just few minutes ago. Let's restart the CI jobs. |
|
All green, let's merge 🚀 |
|
/ocabot merge patch |
|
This PR looks fantastic, let's merge it! |
|
@yvaucher your merge command was aborted due to failed check(s), which you can inspect on this commit of 14.0-ocabot-merge-pr-3281-by-yvaucher-bump-patch. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
|
Still failing on only one test, I misread the list of checks. There is progress. |
|
The last error seems related to the ci images not properly built in some case. More on #odoo-ci/109 |
Please try again, all the builds are green now in https://github.com/OCA/oca-ci. |
|
/ocabot merge patch |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 226b172. Thanks a lot for contributing to OCA. ❤️ |

We have noticed that the tests in
14.0are failing, this is a known issue for (at least one of) @OCA/web-maintainers:Originally posted by @hbrunn in #2433 (review)
I have managed to fix one of the failures but can't reproduce the others, like:
(from https://github.com/OCA/web/actions/runs/17475451661/job/49634125811#step:8:674)
Does anybody have a clue?
Looks like all the failing tests are from module
web_disable_export_group, should we disable them?Let me know what you think, thanks!