Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUARANTINE] test_serve_logs test is failing randomly on MySQL #11962

Closed
potiuk opened this issue Oct 30, 2020 · 3 comments
Closed

[QUARANTINE] test_serve_logs test is failing randomly on MySQL #11962

potiuk opened this issue Oct 30, 2020 · 3 comments
Labels
area:API Airflow's REST/HTTP API area:CI Airflow's tests and continious integration kind:task A task that needs to be completed as part of a larger issue pinned Protect from Stalebot auto closing Quarantine Issues that are occasionally failing and are quarantined

Comments

@potiuk
Copy link
Member

potiuk commented Oct 30, 2020

The test_serve_logs fails randomly with database reset

Example here: https://github.com/apache/airflow/pull/11948/checks?check_run_id=1329323444#step:6:1047


[2020-10-29 22:44:48,491] {base.py:706} ERROR - Exception during reset or similar
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 697, in _finalize_fairy
    fairy._reset(pool)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
    pool._dialect.do_rollback(self)
  File "/usr/local/lib/python3.6/site-packages/sqlalchemy/dialects/mysql/base.py", line 2475, in do_rollback
    dbapi_connection.rollback()
_mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server during query')
--------------------------- Captured stdout teardown ---------------------------
Starting flask
 * Serving Flask app "airflow.utils.serve_logs" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
[2020-10-29 22:44:49,109] {_internal.py:113} INFO -  * Running on http://0.0.0.0:8793/ (Press CTRL+C to quit)
=============================== warnings summary ===============================
/usr/local/lib/python3.6/site-packages/_pytest/junitxml.py:446
  /usr/local/lib/python3.6/site-packages/_pytest/junitxml.py:446: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0. See:
    https://docs.pytest.org/en/stable/deprecations.html#junit-family-default-value-change-to-xunit2
  for more information.

@potiuk potiuk added kind:bug This is a clearly a bug Quarantine Issues that are occasionally failing and are quarantined labels Oct 30, 2020
@potiuk potiuk added this to the Airflow 2.0.0 milestone Oct 30, 2020
@potiuk
Copy link
Member Author

potiuk commented Oct 30, 2020

error.txt

potiuk added a commit to PolideaInternal/airflow that referenced this issue Oct 30, 2020
michalmisiewicz pushed a commit to michalmisiewicz/airflow that referenced this issue Oct 30, 2020
szn pushed a commit to szn/airflow that referenced this issue Nov 1, 2020
@potiuk potiuk modified the milestones: Airflow 2.0.0rc1, Airflow 2.0 Dec 7, 2020
@eladkal eladkal removed the kind:bug This is a clearly a bug label May 2, 2021
@vikramkoka vikramkoka added area:API Airflow's REST/HTTP API area:CI Airflow's tests and continious integration kind:task A task that needs to be completed as part of a larger issue labels May 3, 2021
@potiuk potiuk added the pinned Protect from Stalebot auto closing label May 10, 2021
@eladkal
Copy link
Contributor

eladkal commented Aug 20, 2021

@potiuk the quarantine was removed in #16754
can we close the issue?

@potiuk
Copy link
Member Author

potiuk commented Aug 20, 2021

Yep

@potiuk potiuk closed this as completed Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:CI Airflow's tests and continious integration kind:task A task that needs to be completed as part of a larger issue pinned Protect from Stalebot auto closing Quarantine Issues that are occasionally failing and are quarantined
Projects
None yet
Development

No branches or pull requests

3 participants