potiuk commented on PR #45244: URL: https://github.com/apache/airflow/pull/45244#issuecomment-2563704018
Example errors appearing in xdist tests here: https://github.com/apache/airflow/actions/runs/12515046642/job/34913595134?pr=44126#step:7:3627 ``` FAILED providers/tests/openlineage/utils/test_utils.py::test_get_user_provided_run_facets_with_multiple_function_definition - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. FAILED providers/tests/microsoft/azure/triggers/test_msgraph.py::TestMSGraphTrigger::test_run_when_response_is_bytes - AssertionError: assert equals failed 'failure' 'success' FAILED providers/tests/openlineage/utils/test_utils.py::test_get_user_provided_run_facets_with_duplicate_facet_keys - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. FAILED providers/tests/openlineage/utils/test_utils.py::test_get_user_provided_run_facets_with_invalid_function_definition - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. FAILED providers/tests/openlineage/utils/test_utils.py::test_get_user_provided_run_facets_with_wrong_return_type_function - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. FAILED providers/tests/microsoft/azure/triggers/test_msgraph.py::TestMSGraphTrigger::test_serialize - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. FAILED providers/tests/microsoft/azure/triggers/test_powerbi.py::TestPowerBITrigger::test_powerbi_trigger_serialization - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. FAILED providers/tests/openlineage/utils/test_utils.py::test_get_user_provided_run_facets_with_exception - sqlalchemy.exc.InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Triggering mapper: 'mapped class AssetModel->asset'. Original exception was: When initializing mapper mapped class AssetModel->asset, expression 'Trigger' failed to locate a name ('Trigger'). If this is a class name, consider adding this relationship() to the <class 'airflow.models.asset.AssetModel'> class after both dependent classes have been defined. ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
