oca-ci
oca-ci copied to clipboard
lxml issue in recent python 3.6 images
│ Traceback (most recent call last): │
│ File "/opt/odoo-venv/bin/odoo", line 7, in <module> │
│ exec(compile(f.read(), __file__, 'exec')) │
│ File "/opt/odoo/setup/odoo", line 5, in <module> │
│ import odoo │
│ File "/opt/odoo/odoo/__init__.py", line 113, in <module> │
│ from . import modules │
│ File "/opt/odoo/odoo/modules/__init__.py", line 8, in <module> │
│ from . import db, graph, loading, migration, module, registry │
│ File "/opt/odoo/odoo/modules/graph.py", line 10, in <module> │
│ import odoo.tools as tools │
│ File "/opt/odoo/odoo/tools/__init__.py", line 7, in <module> │
│ from . import pdf │
│ File "/opt/odoo/odoo/tools/pdf.py", line 17, in <module> │
│ from odoo.tools.misc import file_open │
│ File "/opt/odoo/odoo/tools/misc.py", line 34, in <module> │
│ from lxml import etree │
│ ImportError: /opt/odoo-venv/lib/python3.6/site-packages/lxml/etree.cpython-36m-x86_64-linux-gnu.so: undefined symbol: PyFPE_jbuf
We are seeing this error in runboat containers, but not on local docker run. That is weird.
This is super weird. For some reason I don't understand, the virtualenvs created during the build initialization step are not compatible with the latest version of the oca-ci image. The timing correlates with https://github.com/OCA/oca-ci/pull/27, of which the root cause is unknown.
I suspect both issues are due to some change in the way the deadsnakes project packages python 3.6... not sure.
Anyway I'm launching a reset of all 3.6 builds now.