Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Odoo 12+ False success build if demo data can't install #600

Closed
moylop260 opened this issue Apr 29, 2019 · 0 comments · May be fixed by #601
Closed

Odoo 12+ False success build if demo data can't install #600

moylop260 opened this issue Apr 29, 2019 · 0 comments · May be fixed by #601

Comments

@moylop260
Copy link
Contributor

moylop260 commented Apr 29, 2019

After the following change from odoo for v12+:

If a demo data has errors exit code is 0 (success) and a WARNING level is used even if there is a traceback in the log.

For runbot it is not a problem since that runbot analyze the log using:
ERROR, TRACEBACK, WARNING...

For MQT is not reported since that is not analyzed the traceback and the warning are ignored.

Steps to reproduce it:

Download the following valid odoo log output:

Parser the log:
cd ~/maintainer-quality-tools/travis
python -c "from test_server import has_test_errors;print(has_test_errors('log.txt', 'openerp_test', '12.0'))"

Check the output:
----------
0

Current behavior:

The count error is 0 (not detected).

Expected behavior:

Count error should be 1 (detected) and show the traceback.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
1 participant