vatsrahul1001 commented on issue #48928:
URL: https://github.com/apache/airflow/issues/48928#issuecomment-2789069535
Basically task-sdk kills it as task is not in running state anymore.
task_id='task_success', dag_id='dag_success',
run_id='manual__2025-04-09T08:51:07.215955+00:00', try_number=1, map_index=-1,
pool_slots=1, queue='default', priority_weight=1, executor_config=None,
parent_context_carrier={}, context_carrier={}, queued_dttm=None)
dag_rel_path=PurePosixPath('dag_success.py')
bundle_info=BundleInfo(name='dags-folder', version=None)
log_path='dag_id=dag_success/run_id=manual__2025-04-09T08:51:07.215955+00:00/task_id=task_success/attempt=1.log'
type='ExecuteTask' [airflow.providers.celery.executors.celery_executor_utils]
2025-04-09 08:51:19.784064 [info ] Task finished
[supervisor] duration=11.133604606991867 exit_code=0 final_state=success
2025-04-09 08:51:19.819381 [info ] Task
execute_workload[1fd757d9-d78e-4f76-ae04-1f1017323d12] succeeded in
11.450090656988323s: None [celery.app.trace]
2025-04-09 09:17:24.500947 [info ] Task
execute_workload[2dc6e25d-acd5-488a-b8fb-fa4190fb27b2] received
[celery.worker.strategy]
2025-04-09 09:17:24.545338 [info ]
[2dc6e25d-acd5-488a-b8fb-fa4190fb27b2] Executing workload in Celery:
token='eyJ***' ti=TaskInstance(id=UUID('019619d7-0631-79c5-b9a0-8493fd7084e8'),
task_id='task_success', dag_id='dag_success',
run_id='manual__2025-04-09T09:17:24.393248+00:00', try_number=1, map_index=-1,
pool_slots=1, queue='default', priority_weight=1, executor_config=None,
parent_context_carrier={}, context_carrier={}, queued_dttm=None)
dag_rel_path=PurePosixPath('dag_success.py')
bundle_info=BundleInfo(name='dags-folder', version=None)
log_path='dag_id=dag_success/run_id=manual__2025-04-09T09:17:24.393248+00:00/task_id=task_success/attempt=1.log'
type='ExecuteTask' [airflow.providers.celery.executors.celery_executor_utils]
2025-04-09 09:17:39.961102 [warning ] Server error
[airflow.sdk.api.client] detail={'detail': {'reason': 'not_running', 'message':
'TI is no longer in the running state and task should terminate',
'current_state': 'success'}}
2025-04-09 09:17:39.961461 [error ] Server indicated the task shouldn't
be running anymore [supervisor] detail={'detail': {'reason': 'not_running',
'message': 'TI is no longer in the running state and task should terminate',
'current_state': 'success'}} status_code=409
ti_id=UUID('019619d7-0631-79c5-b9a0-8493fd7084e8')
2025-04-09 09:17:44.968568 [info ] Process exited
[supervisor] exit_code=0 pid=1112 signal=SIGTERM
--
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]