Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1853 Vistas

I am building some custom modules for odoo v14 using Odoo.sh but I get the following error for about half of my builds:


08/05/2021 09:10:03ERRORserverFAIL: WebSuite.test_js Traceback (most recent call last): File "/home/odoo/src/odoo/addons/web/tests/test_js.py", line 15, in test_js self.browser_js('/web/tests?mod=web&failfast', "", "", login='admin', timeout=1800) File "/home/odoo/src/odoo/odoo/tests/common.py", line 1419, in browser_js self.fail('%s\n%s' % (message, error)) AssertionError: Some js test failed Script timeout exceeded : 1800.0239300727844
08/05/2021 09:09:43WARNINGserverCouldn't capture screenshot: expected image data, got {'error': {'code': -32603, 'message': 'Internal error'}, 'id': 6}


Does anybody have an idea about what is going on? PS: ik have no tests in my own code, so it should be related to the odoo codebase.

Avatar
Descartar
Mejor respuesta

This happened for a period in June/July and there was an underlying problem, fairly quickly resolved.  I've seen it happening this week on some days.
IMHO the test timeout should be reduced from 1800 seconds as well, so these problems are spotted more quickly.

Avatar
Descartar
Autor

Thank you for your reply. I disabled the tests in orde to be able to continue. I was a bit dissapointed to hear from support that they wil not investigate this...