Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

purchase_sign: CI broken. #2415

Closed
legalsylvain opened this issue Sep 24, 2024 · 2 comments
Closed

purchase_sign: CI broken. #2415

legalsylvain opened this issue Sep 24, 2024 · 2 comments
Labels

Comments

@legalsylvain
Copy link
Contributor

Hi all.

I try to make a PR against this repo, and there is an unrelated error in purchase_sign module.

My PR : #2171
The issue : https://github.com/OCA/purchase-workflow/actions/runs/11016589474/job/30592466774#step:8:1363

2024-09-24 15:11:05,843 487 INFO odoo odoo.addons.purchase_sign.tests.test_purchase_sign: ====================================================================== 
2024-09-24 15:11:05,843 487 ERROR odoo odoo.addons.purchase_sign.tests.test_purchase_sign: ERROR: TestPurchaseSign.test_01_portal_purchase_signature_tour
Traceback (most recent call last):
  File "/opt/odoo/odoo/tests/common.py", line 1163, in _websocket_request
    return f.result(timeout=timeout)
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 460, in result
    raise TimeoutError()
concurrent.futures._base.TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/__w/purchase-workflow/purchase-workflow/purchase_sign/tests/test_purchase_sign.py", line 45, in test_01_portal_purchase_signature_tour
    self.start_tour("/", "purchase_signature", login="portal")
  File "/opt/odoo/odoo/tests/common.py", line 1857, in start_tour
    return self.browser_js(url_path=url_path, code=code, ready=ready, **kwargs)
  File "/opt/odoo/odoo/tests/common.py", line 1825, in browser_js
    self.assertTrue(self.browser._wait_ready(ready), 'The ready "%s" code was always falsy' % ready)
  File "/opt/odoo/odoo/tests/common.py", line 1424, in _wait_ready
    result = self._websocket_request('Runtime.evaluate', params={
  File "/opt/odoo/odoo/tests/common.py", line 1165, in _websocket_request
    raise TimeoutError(f'{method}({params or ""})')
TimeoutError: Runtime.evaluate({'expression': "try { odoo.__DEBUG__.services['web_tour.tour'].tours['purchase_signature'].ready } catch {}", 'awaitPromise': True})
 

Note : the main branch is red sometime. https://github.com/OCA/purchase-workflow/actions?query=branch%3A16.0

image

Thanks for your investigation.

CC : @ByteMeAsap

@legalsylvain
Copy link
Contributor Author

@pedrobaeza
Copy link
Member

Being handled in OCA/oca-ci#78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants