kuikeelc opened a new issue, #34859: URL: https://github.com/apache/airflow/issues/34859
### Apache Airflow version 2.7.1 ### What happened When running: airflow tasks test DAG_NAME TASK_NAME the task runs fine, but ends with the error message: airflow.exceptions.AirflowException: Foreign key associated with column 'dag_run_note.user_id' could not find table 'ab_user' with which to generate a foreign key to target column 'id' ### What you think should happen instead The error message shouldn't be there. ### How to reproduce create a clean database in Postgres on Python3.10 on Mac OS X. You then get the error. ### Operating System Mac OS X latest version ### Versions of Apache Airflow Providers apache-airflow-providers-amazon==8.5.1 apache-airflow-providers-cncf-kubernetes==7.4.2 apache-airflow-providers-common-sql==1.7.0 apache-airflow-providers-ftp==3.5.0 apache-airflow-providers-google==10.6.0 apache-airflow-providers-http==4.5.0 apache-airflow-providers-imap==3.3.0 apache-airflow-providers-jdbc==4.0.1 apache-airflow-providers-mysql==5.2.1 -e git+ssh://[email protected]/onesecondbefore/osb-transfer.git@32e126f5d250cdceca4afb4cf9cbf8953ba9ece5#egg=apache_airflow_providers_onesecondbefore&subdirectory=providers/apache-airflow-providers-onesecondbefore apache-airflow-providers-postgres==5.6.0 apache-airflow-providers-slack==7.3.2 apache-airflow-providers-snowflake==4.4.2 apache-airflow-providers-sqlite==3.4.3 apache-airflow-providers-ssh==3.7.1 ### Deployment Virtualenv installation ### Deployment details It is on my local machine. ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
