krisfur commented on issue #34516:
URL: https://github.com/apache/airflow/issues/34516#issuecomment-1729601114

   A snippet of the log when this issue happens:
   
   `[2023-09-21, 13:26:28 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:29 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:31 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:32 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:33 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:35 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:36 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:37 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:38 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:40 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:41 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:42 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:43 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:45 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:46 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:47 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:26:48 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:27:10 UTC] {container_instances.py:344} ERROR - Exception 
while getting container groups
   Traceback (most recent call last):
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/operators/container_instances.py",
 line 316, in _monitor_logging
       logs = self._ci_hook.get_logs(resource_group, name)
     File 
"/home/azureuser/pyenv-airflow/lib/python3.8/site-packages/airflow/providers/microsoft/azure/hooks/container_instance.py",
 line 119, in get_logs
       return logs.content.splitlines(True)
   AttributeError: 'NoneType' object has no attribute 'splitlines'
   [2023-09-21, 13:27:11 UTC] {container_instances.py:311} INFO - Container 
group state changed to Waiting
   [2023-09-21, 13:27:13 UTC] {container_instances.py:311} INFO - Container 
group state changed to Running`


-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to