Building on Fedora 30 with python3: + make test nosetests-3 . ........EE...... ====================================================================== ERROR: test_convert_to_dict_42 (ovirt_hosted_engine_ha.lib.ovf.ovf2VmParams_test.Ovf2vmConfTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jenkins/workspace/ovirt-hosted-engine-ha_standard-check-patch/ovirt-hosted-engine-ha/tmp.repos/BUILD/ovirt-hosted-engine-ha-2.4.0-0.0.master.20191001124801/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams_test.py", line 558, in test_convert_to_dict_42 t = ovf2VmParams.toDict(OVF_42) File "/home/jenkins/workspace/ovirt-hosted-engine-ha_standard-check-patch/ovirt-hosted-engine-ha/tmp.repos/BUILD/ovirt-hosted-engine-ha-2.4.0-0.0.master.20191001124801/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 231, in toDict engine_xml_tree = ovfenvelope.etree_.fromstring(engine_xml[0]) File "src/lxml/etree.pyx", line 3213, in lxml.etree.fromstring File "src/lxml/parser.pxi", line 1872, in lxml.etree._parseMemoryDocument ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. ====================================================================== ERROR: test_convert_to_dict_42_unsafe (ovirt_hosted_engine_ha.lib.ovf.ovf2VmParams_test.Ovf2vmConfTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/jenkins/workspace/ovirt-hosted-engine-ha_standard-check-patch/ovirt-hosted-engine-ha/tmp.repos/BUILD/ovirt-hosted-engine-ha-2.4.0-0.0.master.20191001124801/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams_test.py", line 541, in test_convert_to_dict_42_unsafe ovf2VmParams.toDict(OVF_42_UNSAFE)) File "/home/jenkins/workspace/ovirt-hosted-engine-ha_standard-check-patch/ovirt-hosted-engine-ha/tmp.repos/BUILD/ovirt-hosted-engine-ha-2.4.0-0.0.master.20191001124801/ovirt_hosted_engine_ha/lib/ovf/ovf2VmParams.py", line 231, in toDict engine_xml_tree = ovfenvelope.etree_.fromstring(engine_xml[0]) File "src/lxml/etree.pyx", line 3213, in lxml.etree.fromstring File "src/lxml/parser.pxi", line 1872, in lxml.etree._parseMemoryDocument ValueError: Unicode strings with encoding declaration are not supported. Please use bytes input or XML fragments without declaration. ---------------------------------------------------------------------- Ran 16 tests in 0.520s
This issue is blocking https://gerrit.ovirt.org/103724
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020. Since the problem described in this bug report should be resolved in oVirt 4.4.0 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.