You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ossie.apache.org by "MonkeyCanCode (via GitHub)" <gi...@apache.org> on 2026/07/24 06:51:49 UTC

[I] Broken CI due to failure tests in omni [ossie]

MonkeyCanCode opened a new issue, #260:
URL: https://github.com/apache/ossie/issues/260

   Getting following on main with changes introduced in https://github.com/apache/ossie/pull/113:
   ```
   ➜  omni git:(main) uv run pytest
         Built osi-omni @ file:///Users/yong/Desktop/GitHome/ossie/converters/omni
   Uninstalled 1 package in 1ms
   Installed 1 package in 2ms
   ========================================================================== test session starts ==========================================================================
   platform darwin -- Python 3.11.13, pytest-9.1.1, pluggy-1.6.0
   rootdir: /Users/yong/Desktop/GitHome/ossie/converters/omni
   configfile: pyproject.toml
   testpaths: tests
   plugins: hypothesis-6.156.6
   collected 86 items
   
   tests/test_omni_to_osi.py ....................................                                                                                                    [ 41%]
   tests/test_osi_to_omni.py .F..................................                                                                                                    [ 83%]
   tests/test_real_world_layout.py ....                                                                                                                              [ 88%]
   tests/test_roundtrip.py ....Fsss                                                                                                                                  [ 97%]
   tests/test_roundtrip_properties.py ..                                                                                                                             [100%]
   
   =============================================================================== FAILURES ================================================================================
   __________________________________________________________________ test_tpcds_export_matches_expected ___________________________________________________________________
   
       def test_tpcds_export_matches_expected():
           with open(REPO_ROOT / "examples" / "tpcds_semantic_model.yaml") as fh:
               files = export(fh.read())
   >       assert parse_files(files) == parse_files(load_fixture_dir("tpcds_omni"))
   E       AssertionError: assert {'views/store...}, ...}}, ...} == {'relationshi...}, ...}}, ...}
   E
   E         Omitting 6 identical items, use -vv to show
   E         Differing items:
   E         {'views/date_dim.view.yaml': {'catalog': 'tpcds', 'schema': 'public', 'description': 'Date dimension with calendar att..., 'synonyms': ['
   E
   E         ...Full output truncated (2 lines hidden), use '-vv' to show
   
   tests/test_osi_to_omni.py:63: AssertionError
   _______________________ test_osi_roundtrip_up_to_documented_normalizations[/Users/yong/Desktop/GitHome/ossie/examples/tpcds_semantic_model.yaml] ________________________
   
   path = '/Users/yong/Desktop/GitHome/ossie/examples/tpcds_semantic_model.yaml'
   
       @pytest.mark.parametrize("path", [
           "fixtureA_osi.yaml",
           str(REPO_ROOT / "examples" / "tpcds_semantic_model.yaml"),
       ])
       def test_osi_roundtrip_up_to_documented_normalizations(path):
           if "/" in path:
               with open(path) as fh:
                   osi_yaml = fh.read()
           else:
               osi_yaml = load_fixture(path)
           files = _quiet(convert_osi_to_omni, osi_yaml)
           osi2 = _quiet(convert_omni_to_osi, files)
           original = strip_normalized(parse(osi_yaml))
           # Foreign-vendor extensions are dropped on export (documented); OSI-side
           # normalization strips all custom_extensions from both sides.
   >       assert strip_normalized(parse(osi2)) == original
   E       AssertionError: assert {'version': '... ...}], ...}]} == {'version': '... ...}], ...}]}
   E
   E         Omitting 1 identical items, use -vv to show
   E         Differing items:
   E         {'semantic_model': [{'name': 'tpcds_retail_model', 'description': 'TPC-DS retail semantic model for sales and customer...tore dimension with location and store attributes', 'fields': [{...}, {...}, {...}, {...}, {...}, {...}]...
   E
   E         ...Full output truncated (2 lines hidden), use '-vv' to show
   
   tests/test_roundtrip.py:71: AssertionError
   ======================================================================== short test summary info ========================================================================
   FAILED tests/test_osi_to_omni.py::test_tpcds_export_matches_expected - AssertionError: assert {'views/store...}, ...}}, ...} == {'relationshi...}, ...}}, ...}
   FAILED tests/test_roundtrip.py::test_osi_roundtrip_up_to_documented_normalizations[/Users/yong/Desktop/GitHome/ossie/examples/tpcds_semantic_model.yaml] - AssertionError: assert {'version': '... ...}], ...}]} == {'version': '... ...}], ...}]}
   ================================================================ 2 failed, 81 passed, 3 skipped in 3.36s ================================================================
   ➜  omni git:(main)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ossie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Broken CI due to failure tests in omni [ossie]

Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode closed issue #260: Broken CI due to failure tests in omni
URL: https://github.com/apache/ossie/issues/260


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ossie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Broken CI due to failure tests in omni [ossie]

Posted by "MonkeyCanCode (via GitHub)" <gi...@apache.org>.
MonkeyCanCode commented on issue #260:
URL: https://github.com/apache/ossie/issues/260#issuecomment-5067230549

   @jbonofre @khush-bhatia FYI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ossie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org