potiuk commented on PR #31181:
URL: https://github.com/apache/airflow/pull/31181#issuecomment-1543585096

   Updated descriptions and added few more improvemetns:
   
   * disabled parallel tests (not sure why it was forced here at all) - this 
allows to use `-s` switch and see the output as it appears
   * the containers timeout is now "total waiting time for all containers" not 
"per container" time (that was really a bug in the test).
   * added ability to specify the container timeout and skip deletion as breeze 
switches and env variables
   * described how to run the tests using local venv
   * added a bit more diagnostics when printing output (how much time more it 
will try)
   * the list of containers to display status of is dynamically retrieved from 
docker-compose
   * the health status is slightly better formatted now:
   
   
   ```
   Health check for quick-start-airflow-worker-1
   Running command: docker inspect --format '{{json .State}}' 
quick-start-airflow-worker-1
   {'Dead': False,
    'Error': '',
    'ExitCode': 0,
    'FinishedAt': '0001-01-01T00:00:00Z',
    'Health': {'FailingStreak': 3,
               'Log': [{'End': '2023-05-11T10:40:18.483873232+02:00',
                        'ExitCode': 2,
                        'Output': 'Usage: celery [OPTIONS] COMMAND [ARGS]...\n'
                                  "Try 'celery --help' for help.\n"
                                  '\n'
                                  "Error: Invalid value for '-A' / '--app': \n"
                                  'Unable to load celery application.\n'
                                  'While trying to load the module '
                                  'airflow.executors.celery_executors.app the '
                                  'following error occurred:\n'
                                  'Traceback (most recent call last):\n'
                                  '  File '
                                  
'"/home/airflow/.local/lib/python3.7/site-packages/celery/bin/celery.py", '
                                  'line 57, in convert\n'
                                  '    return find_app(value)\n'
                                  '  File '
                                  
'"/home/airflow/.local/lib/python3.7/site-packages/celery/app/utils.py", '
                                  'line 384, in find_app\n'
                                  '    sym = symbol_by_name(app, imp=imp)\n'
                                  '  File '
                                  
'"/home/airflow/.local/lib/python3.7/site-packages/kombu/utils/imports.py", '
                                  'line 56, in symbol_by_name\n'
                                  '    module = imp(module_name, 
package=package, '
                                  '**kwargs)\n'
                                  '  File '
                                  
'"/home/airflow/.local/lib/python3.7/site-packages/celery/utils/imports.py", '
                                  'line 105, in import_from_cwd\n'
                                  '    return imp(module, package=package)\n'
                                  '  File '
                                  
'"/usr/local/lib/python3.7/importlib/__init__.py", '
                                  'line 127, in import_module\n'
                                  '    return '
                                  '_bootstrap._gcd_import(name[level:], 
package, '
                                  'level)\n'
                                  '  File "<frozen importlib._bootstrap>", line 
'
                                  '1006, in _gcd_import\n'
                                  '  File "<frozen importlib._bootstrap>", line 
'
                                  '983, in _find_and_load\n'
                                  '  File "<frozen importlib._bootstrap>", line 
'
                                  '965, in _find_and_load_unlocked\n'
                                  'ModuleNotFoundError: No module named '
                                  "'airflow.executors.celery_executors'\n"
                                  '\n',
   
   ```
   
   


-- 
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