atul-astronomer opened a new issue, #48394:
URL: https://github.com/apache/airflow/issues/48394

   ### Apache Airflow version
   
   main (development)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   airflow dags test simple_http_operator
   [2025-03-26T12:14:45.617+0000] {manager.py:120} INFO - DAG bundles loaded: 
dags-folder, example_dags
   [2025-03-26T12:14:45.618+0000] {dagbag.py:574} INFO - Filling up the DagBag 
from /root/airflow/dags/simple_http_operator.py
   Traceback (most recent call last):
     File "/usr/local/bin/airflow", line 10, in <module>
       sys.exit(main())
     File "/opt/airflow/airflow-core/src/airflow/__main__.py", line 58, in main
       args.func(args)
     File "/opt/airflow/airflow-core/src/airflow/cli/cli_config.py", line 49, 
in command
       return func(*args, **kwargs)
     File "/opt/airflow/airflow-core/src/airflow/utils/cli.py", line 111, in 
wrapper
       return f(*args, **kwargs)
     File 
"/opt/airflow/airflow-core/src/airflow/utils/providers_configuration_loader.py",
 line 55, in wrapped_function
       return func(*args, **kwargs)
     File "/opt/airflow/airflow-core/src/airflow/utils/session.py", line 101, 
in wrapper
       return func(*args, session=session, **kwargs)
     File 
"/opt/airflow/airflow-core/src/airflow/cli/commands/remote_commands/dag_command.py",
 line 655, in dag_test
       raise AirflowException(
   airflow.exceptions.AirflowException: Dag 'simple_http_operator' could not be 
found; either it does not exist or it failed to parse.
   
   ### What you think should happen instead?
   
   _No response_
   
   ### How to reproduce
   
   Run the below CLI command for any Dag:
   
   **airflow dags test <dag_id>**
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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]

Reply via email to