airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
16.3k stars 4.15k forks source link

Connector Test Failure reported as success on failure #27425

Closed bnchrch closed 1 year ago

bnchrch commented 1 year ago

Problem

source-firebase-realtime-database was reported as passing in the github comment when it had failed https://github.com/airbytehq/airbyte/pull/27420 image.png image.png

evantahler commented 1 year ago

Grooming:

If there's a dagger engine error (like the above), this is a failure. The logic to check if the report was good or not is likely needs to be inverted.

bnchrch commented 1 year ago

Grooming:

Also likely a related issue: https://github.com/airbytehq/airbyte/issues/27770

alafanechere commented 1 year ago

For the false positive with test results: we need to change how we parse CAT output and transform it to StepResult: replace the use of pytest_logs_to_step_result with get_step_result . For the false positive without test result: to reproduce you should raise a an unhandled exception inside the pipeline, and I think the report wrongly states a success.

bnchrch commented 1 year ago

Will update reporting structure in https://app.zenhub.com/workspaces/connector-operations-6318ede5eda32e0010ef8566/issues/gh/airbytehq/airbyte/27729

alafanechere commented 1 year ago

For the false positive with test results: we need to change how we parse CAT output and transform it to StepResult: replace the use of pytest_logs_to_step_result with get_step_result . For the false positive without test result: to reproduce you should raise a an unhandled exception inside the pipeline, and I think the report wrongly states a success.

This is addressed in #28767