BrickSchema / Brick

Uniform metadata schema for buildings
http://brickschema.org/
BSD 3-Clause "New" or "Revised" License
289 stars 78 forks source link

Tests fails on master branch #612

Closed jbulow closed 8 months ago

jbulow commented 8 months ago

When building ontology from master branch (e627996dad249c1eb6ff59d50d22578fda2a6f2f ) using make test the following tests fails:

=========================================================================================================================== short test summary info ============================================================================================================================
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/g36/g36-ahu-a9.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_deprecation.py::test_deprecation - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_class_structure.py::test_subclasses - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/submeter_hierarchies/virtual-meter.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/solar_array/solar_array.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_evse_example_file_with_reasoning - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/ifc/ifc.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/evse/evse.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_entity_properties.py::test_entity_property_validation_failure - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/submeter_hierarchies/single-meter.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/bacnet/bacnet.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_entity_properties.py::test_last_known_value - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/g36/g36-vav-a2.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/air_quality_sensors/air_quality_sensor_example.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_definitions.py::test_valid_definition_encoding - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/submeter_hierarchies/multiple-submeters.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
ERROR tests/test_examples.py::test_example_file_with_reasoning[examples/last_known_value/last_known_value.ttl] - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
====================================================================================================== 47 passed, 1 skipped, 65 warnings, 17 errors in 746.88s (0:12:26) =======================================================================================================
make: *** [Makefile:20: test] Error 1
gtfierro commented 8 months ago

I'm aware of this bug (has to do with concurrent updates with latest ontoenv) and should hopefully have a fix today

gtfierro commented 8 months ago

Should be fixed now!