Ovirt master build failing in my local (fedora27)

Hi, I am trying to build ovirt master code in my local but build is failing with following error: ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/engine_common/postgres.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/engine_common/database.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/remote_engine.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-common/base/core/postinstall.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/websocket_proxy/pki.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/websocket_proxy/config.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/vmconsole_proxy_helper/config.py Imports are incorrectly sorted. + echo ERROR: The following check failed: I have cleared my DB as well and also did yum update. -- Thanks, Gobinda

comment out ./build/python-check.sh.in to get unblocked asap. Did you recently install 'python-isort' ? rpm -qa python-isort This happened to us once before. iirc cause was a new isort version. I leave the package uninstalled, personally. Then engine skips this check and moves along. On Wed, Jun 27, 2018 at 7:42 AM Gobinda Das <godas@redhat.com> wrote:
Hi, I am trying to build ovirt master code in my local but build is failing with following error:
ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/engine_common/postgres.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/engine_common/database.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/remote_engine.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-common/base/core/postinstall.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/websocket_proxy/pki.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/websocket_proxy/config.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/plugins/ovirt-engine-setup/vmconsole_proxy_helper/config.py Imports are incorrectly sorted. + echo ERROR: The following check failed:
I have cleared my DB as well and also did yum update. -- Thanks, Gobinda _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/P7CUXRFWAPMAMP...
-- GREG SHEREMETA SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX Red Hat NA <https://www.redhat.com/> gshereme@redhat.com IRC: gshereme <https://red.ht/sig>

Thanks Greg, I removed python2-isort and it works. On Wed, Jun 27, 2018 at 5:20 PM, Greg Sheremeta <gshereme@redhat.com> wrote:
comment out ./build/python-check.sh.in to get unblocked asap.
Did you recently install 'python-isort' ? rpm -qa python-isort
This happened to us once before. iirc cause was a new isort version.
I leave the package uninstalled, personally. Then engine skips this check and moves along.
On Wed, Jun 27, 2018 at 7:42 AM Gobinda Das <godas@redhat.com> wrote:
Hi, I am trying to build ovirt master code in my local but build is failing with following error:
ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_ engine_setup/engine_common/postgres.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_ engine_setup/engine_common/database.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ovirt_engine_setup/remote_engine.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ plugins/ovirt-engine-common/base/core/postinstall.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ plugins/ovirt-engine-setup/websocket_proxy/pki.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ plugins/ovirt-engine-setup/websocket_proxy/config.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ plugins/ovirt-engine-setup/ovirt-engine/upgrade/asynctasks.py Imports are incorrectly sorted. ERROR: /home/godas/workspace/ovirt-engine/packaging/setup/ plugins/ovirt-engine-setup/vmconsole_proxy_helper/config.py Imports are incorrectly sorted. + echo ERROR: The following check failed:
I have cleared my DB as well and also did yum update. -- Thanks, Gobinda _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/ message/P7CUXRFWAPMAMPKUKF6VERLFCWK4UY4B/
--
GREG SHEREMETA
SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
Red Hat NA
gshereme@redhat.com IRC: gshereme <https://red.ht/sig>
-- Thanks, Gobinda
participants (2)
-
Gobinda Das
-
Greg Sheremeta