Excerpt from build log: Failed tests: - python: test_composite.TestSolutionSerialization.test_yaml_outunits1 - python: test_composite.TestSolutionSerialization.test_yaml_outunits2 - python: test_composite.TestSolutionSerialization.test_yaml_simple - python: test_composite.TestSolutionSerialization.test_yaml_surface_adjacent - python: test_composite.TestSolutionSerialization.test_yaml_surface_explicit - python: test_convert.ck2yamlTest.test_extra - python: test_convert.ck2yamlTest.test_sri_zero see https://download.copr.fedorainfracloud.org/results/fuller/cantera-test/fedora-rawhide-s390x/03246662-cantera/builder-live.log.gz N.B. this is a preliminary report; package is approved, but not yet built on koji (other than scratch) %%%%%%%%%%%% ==================================== ERRORS ==================================== _____________ ERROR at setup of TestModels.test_load_thermo_models _____________ cls = <class 'cantera.test.test_composite.TestModels'> @classmethod def setUpClass(cls): utilities.CanteraTest.setUpClass() cls.yml_file = cls.test_data_path / "thermo-models.yaml" > cls.yml = utilities.load_yaml(cls.yml_file) ../../build/python/cantera/test/test_composite.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "/builddir/build/BUILD/cantera-main/build/python/cantera/test/data/thermo-models.yaml", position 16384 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError ___________ ERROR at setup of TestModels.test_restore_thermo_models ____________ cls = <class 'cantera.test.test_composite.TestModels'> @classmethod def setUpClass(cls): utilities.CanteraTest.setUpClass() cls.yml_file = cls.test_data_path / "thermo-models.yaml" > cls.yml = utilities.load_yaml(cls.yml_file) ../../build/python/cantera/test/test_composite.py:18: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "/builddir/build/BUILD/cantera-main/build/python/cantera/test/data/thermo-models.yaml", position 16384 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError =================================== FAILURES =================================== ________________ TestSolutionSerialization.test_yaml_outunits1 _________________ self = <cantera.test.test_composite.TestSolutionSerialization testMethod=test_yaml_outunits1> def test_yaml_outunits1(self): gas = ct.Solution('h2o2.yaml') gas.TPX = 500, ct.one_atm, 'H2: 1.0, O2: 1.0' gas.equilibrate('HP') gas.TP = 1500, ct.one_atm units = {'length': 'cm', 'quantity': 'mol', 'energy': 'cal'} gas.write_yaml('h2o2-generated.yaml', units=units) > generated = utilities.load_yaml("h2o2-generated.yaml") ../../build/python/cantera/test/test_composite.py:680: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "h2o2-generated.yaml", position 9160 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError ________________ TestSolutionSerialization.test_yaml_outunits2 _________________ self = <cantera.test.test_composite.TestSolutionSerialization testMethod=test_yaml_outunits2> def test_yaml_outunits2(self): gas = ct.Solution('h2o2.yaml') gas.TPX = 500, ct.one_atm, 'H2: 1.0, O2: 1.0' gas.equilibrate('HP') gas.TP = 1500, ct.one_atm units = {'length': 'cm', 'quantity': 'mol', 'energy': 'cal'} system = ct.UnitSystem(units) gas.write_yaml('h2o2-generated.yaml', units=system) > generated = utilities.load_yaml("h2o2-generated.yaml") ../../build/python/cantera/test/test_composite.py:705: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "h2o2-generated.yaml", position 9160 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError __________________ TestSolutionSerialization.test_yaml_simple __________________ self = <cantera.test.test_composite.TestSolutionSerialization testMethod=test_yaml_simple> def test_yaml_simple(self): gas = ct.Solution('h2o2.yaml') gas.TPX = 500, ct.one_atm, 'H2: 1.0, O2: 1.0' gas.equilibrate('HP') gas.TP = 1500, ct.one_atm gas.write_yaml('h2o2-generated.yaml') > generated = utilities.load_yaml("h2o2-generated.yaml") ../../build/python/cantera/test/test_composite.py:656: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0097: invalid leading UTF-8 octet E in "h2o2-generated.yaml", position 9182 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError _____________ TestSolutionSerialization.test_yaml_surface_adjacent _____________ self = <cantera.test.test_composite.TestSolutionSerialization testMethod=test_yaml_surface_adjacent> def test_yaml_surface_adjacent(self): surf = ct.Interface("ptcombust.yaml", "Pt_surf") gas = surf.adjacent["gas"] gas.TPY = 900, ct.one_atm, np.ones(gas.n_species) surf.coverages = np.ones(surf.n_species) surf.write_yaml("ptcombust-generated.yaml") > self.check_ptcombust(gas, surf) ../../build/python/cantera/test/test_composite.py:750: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/test_composite.py:722: in check_ptcombust generated = utilities.load_yaml("ptcombust-generated.yaml") ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "ptcombust-generated.yaml", position 16384 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError _____________ TestSolutionSerialization.test_yaml_surface_explicit _____________ self = <cantera.test.test_composite.TestSolutionSerialization testMethod=test_yaml_surface_explicit> def test_yaml_surface_explicit(self): gas = ct.Solution("ptcombust.yaml", "gas") surf = ct.Interface("ptcombust.yaml", "Pt_surf", [gas]) gas.TPY = 900, ct.one_atm, np.ones(gas.n_species) surf.coverages = np.ones(surf.n_species) surf.write_yaml("ptcombust-generated.yaml") > self.check_ptcombust(gas, surf) ../../build/python/cantera/test/test_composite.py:742: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/test_composite.py:722: in check_ptcombust generated = utilities.load_yaml("ptcombust-generated.yaml") ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "ptcombust-generated.yaml", position 16384 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError ____________________________ ck2yamlTest.test_extra ____________________________ self = <cantera.test.test_convert.ck2yamlTest testMethod=test_extra> @utilities.slow_test def test_extra(self): output = self.convert("gri30.inp", thermo="gri30_thermo.dat", transport="gri30_tran.dat", output="gri30_extra", extra="extra.yaml") > yml = utilities.load_yaml(output) ../../build/python/cantera/test/test_convert.py:487: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x0000: control characters are not allowed E in "/builddir/build/BUILD/cantera-main/test/work/python/gri30_extra-from-ck.yaml", position 16384 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError __________________________ ck2yamlTest.test_sri_zero ___________________________ self = <cantera.test.test_convert.ck2yamlTest testMethod=test_sri_zero> def test_sri_zero(self): # This test tests it can convert the SRI parameters when D or E equal to 0 output = self.convert('sri_convert_test.txt') > mech = utilities.load_yaml(output) ../../build/python/cantera/test/test_convert.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../build/python/cantera/test/utilities.py:35: in load_yaml return yaml_.load(stream) /usr/lib/python3.10/site-packages/ruamel/yaml/main.py:341: in load return constructor.get_single_data() /usr/lib/python3.10/site-packages/ruamel/yaml/constructor.py:111: in get_single_data node = self.composer.get_single_node() ruamel.yaml.clib/_ruamel_yaml.pyx:701: in _ruamel_yaml.CParser.get_single_node ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E ruamel.yaml.reader.ReaderError: unacceptable character #x00ff: invalid leading UTF-8 octet E in "/builddir/build/BUILD/cantera-main/test/work/python/sri_convert_test-from-ck.yaml", position 1627 ruamel.yaml.clib/_ruamel_yaml.pyx:904: ReaderError
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
Closing as issue is resolved in F36 and Rawhide (see https://bugzilla.redhat.com/show_bug.cgi?id=2042422)
EDIT: fixed in Rawhide, not in F36