Taragolis opened a new pull request, #28337:
URL: https://github.com/apache/airflow/pull/28337
Fix broken main due to side effects between testings dags
```console
def do_execute(self, cursor, statement, parameters, context=None):
> cursor.execute(statement, parameters)
E sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation)
duplicate key value violates unique constraint "dag_pkey"
E DETAIL: Key (dag_id)=(dag) already exists.
E
E [SQL: INSERT INTO dag (dag_id, root_dag_id, is_paused, is_subdag,
is_active, last_parsed_time, last_pickled, last_expired, scheduler_lock,
pickle_id, fileloc, processor_subdir, owners, description, default_view,
schedule_interval, timetable_description, max_active_tasks, max_active_runs,
has_task_concurrency_limits, has_import_errors, next_dagrun,
next_dagrun_data_interval_start, next_dagrun_data_interval_end,
next_dagrun_create_after) VALUES (%(dag_id)s, %(root_dag_id)s, %(is_paused)s,
%(is_subdag)s, %(is_active)s, %(last_parsed_time)s, %(last_pickled)s,
%(last_expired)s, %(scheduler_lock)s, %(pickle_id)s, %(fileloc)s,
%(processor_subdir)s, %(owners)s, %(description)s, %(default_view)s,
%(schedule_interval)s, %(timetable_description)s, %(max_active_tasks)s,
%(max_active_runs)s, %(has_task_concurrency_limits)s, %(has_import_errors)s,
%(next_dagrun)s, %(next_dagrun_data_interval_start)s,
%(next_dagrun_data_interval_end)s, %(next_dagrun_create_after)s)]
E [parameters: {'dag_id': 'dag', 'root_dag_id': None, 'is_paused':
False, 'is_subdag': False, 'is_active': False, 'last_parsed_time': None,
'last_pickled': None, 'last_expired': None, 'scheduler_lock': None,
'pickle_id': None, 'fileloc': None, 'processor_subdir': None, 'owners': None,
'description': None, 'default_view': None, 'schedule_interval': 'null',
'timetable_description': None, 'max_active_tasks': 16, 'max_active_runs': 16,
'has_task_concurrency_limits': True, 'has_import_errors': False, 'next_dagrun':
None, 'next_dagrun_data_interval_start': None, 'next_dagrun_data_interval_end':
None, 'next_dagrun_create_after': None}]
E (Background on this error at: https://sqlalche.me/e/14/gkpj)
```
--
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]