This plugin breaks astro dev start AND use in Astronomer Software if the Airflow is working from a place where it can't access the update url.
Worked around in the image by setting
ENV AIRFLOWASTRONOMERUPDATE_INTERVAL=0
Here's the log that was sent. It's pretty scary and gnarly looking.
Can we just set a 2 second timeout on this url, catch basically any and all kinds of mischief from just that request, log a message, and keep-on-trucking?
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/airflow/plugins_manager.py", line 249, in load_entrypoint_plugins
This plugin breaks astro dev start AND use in Astronomer Software if the Airflow is working from a place where it can't access the update url.
Worked around in the image by setting
ENV AIRFLOWASTRONOMERUPDATE_INTERVAL=0
Here's the log that was sent. It's pretty scary and gnarly looking.
Can we just set a 2 second timeout on this url, catch basically any and all kinds of mischief from just that request, log a message, and keep-on-trucking?
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/airflow/plugins_manager.py", line 249, in load_entrypoint_plugins
File "/usr/local/lib/python3.11/site-packages/importlib_metadata/init.py", line 211, in load
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/airflow/providers/openlineage/plugins/openlineage.py", line 21, in
File "/usr/local/lib/python3.11/site-packages/airflow/providers/openlineage/plugins/listener.py", line 24, in
File "/usr/local/lib/python3.11/site-packages/openlineage/client/init.py", line 5, in
File "/usr/local/lib/python3.11/site-packages/openlineage/client/client.py", line 11, in
File "/usr/local/lib/python3.11/site-packages/openlineage/client/serde.py", line 16, in
File "/usr/local/lib/python3.11/site-packages/numpy/init.py", line 130, in
File "/usr/local/lib/python3.11/site-packages/numpy/config.py", line 4, in
File "/usr/local/lib/python3.11/site-packages/numpy/core/init.py", line 24, in
File "/usr/local/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in
File "/usr/local/lib/python3.11/site-packages/numpy/core/overrides.py", line 8, in
File "", line 1173, in _find_and_load
MemoryError
[2024-04-28T22:42:34.754+0000] {plugins_manager.py:257} ERROR - Failed to import plugin astronomer_version_check
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/airflow/plugins_manager.py", line 249, in load_entrypoint_plugins
File "/usr/local/lib/python3.11/site-packages/importlib_metadata/init.py", line 211, in load
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/usr/local/lib/python3.11/site-packages/astronomer/airflow/version_check/plugin.py", line 9, in
File "/usr/local/lib/python3.11/site-packages/astronomer/airflow/version_check/update_checks.py", line 20, in
File "/usr/local/lib/python3.11/site-packages/flask/init.py", line 4, in
File "/usr/local/lib/python3.11/site-packages/flask/json/init.py", line 8, in
File "/usr/local/lib/python3.11/site-packages/flask/globals.py", line 4, in
File "/usr/local/lib/python3.11/site-packages/werkzeug/init.py", line 1, in
File "/usr/local/lib/python3.11/site-packages/werkzeug/serving.py", line 27, in
File "/usr/local/lib/python3.11/site-packages/werkzeug/_internal.py", line 35, in
File "/usr/local/lib/python3.11/re/init.py", line 227, in compile
File "/usr/local/lib/python3.11/re/init.py", line 294, in _compile
File "/usr/local/lib/python3.11/re/_compiler.py", line 745, in compile
File "/usr/local/lib/python3.11/re/_parser.py", line 989, in parse
File "/usr/local/lib/python3.11/re/_parser.py", line 464, in _parse_sub
File "/usr/local/lib/python3.11/re/_parser.py", line 872, in _parse
File "/usr/local/lib/python3.11/re/_parser.py", line 464, in _parse_sub
File "/usr/local/lib/python3.11/re/_parser.py", line 872, in _parse
File "/usr/local/lib/python3.11/re/_parser.py", line 464, in _parse_sub
File "/usr/local/lib/python3.11/re/_parser.py", line 872, in _parse
File "/usr/local/lib/python3.11/re/_parser.py", line 464, in _parse_sub
SystemError: error return without exception set