OmerJog commented on issue #6489: [AIRFLOW-3959] add UI filter with DAGs tags URL: https://github.com/apache/airflow/pull/6489#issuecomment-549108635 @zacharya19 There is an error with the test you added ``` ERROR: test_home_filter_tags (tests.www.test_views.TestAirflowBaseViews) ---------------------------------------------------------------------- Traceback (most recent call last): tests/www/test_views.py line 329 in setUp super().setUp() tests/www/test_views.py line 70 in setUp self.login() tests/www/test_views.py line 73 in login role_admin = self.appbuilder.sm.find_role('Admin') /usr/local/lib/python3.6/site-packages/flask_appbuilder/security/sqla/manager.py line 201 in find_role return self.get_session.query(self.role_model).filter_by(name=name).first() /usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py line 3240 in first ret = list(self[0:1]) /usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py line 3018 in __getitem__ return list(res) /usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py line 3342 in __iter__ return self._execute_and_instances(context) /usr/local/lib/python3.6/site-packages/sqlalchemy/orm/query.py line 3367 in _execute_and_instances result = conn.execute(querycontext.statement, self._params) /usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py line 988 in execute return meth(self, multiparams, params) /usr/local/lib/python3.6/site-packages/sqlalchemy/sql/elements.py line 287 in _execute_on_connection return connection._execute_clauseelement(self, multiparams, params) /usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py line 1107 in _execute_clauseelement distilled_params, /usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py line 1253 in _execute_context e, statement, parameters, cursor, context /usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py line 1473 in _handle_dbapi_exception util.raise_from_cause(sqlalchemy_exception, exc_info) /usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py line 398 in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) /usr/local/lib/python3.6/site-packages/sqlalchemy/util/compat.py line 152 in reraise raise value.with_traceback(tb) /usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py line 1249 in _execute_context cursor, statement, parameters, context /usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py line 580 in do_execute cursor.execute(statement, parameters) InternalError: (psycopg2.InternalError) current transaction is aborted, commands ignored until end of transaction block [SQL: SELECT ab_role.id AS ab_role_id, ab_role.name AS ab_role_name FROM ab_role WHERE ab_role.name = %(name_1)s LIMIT %(param_1)s] [parameters: {'name_1': 'Admin', 'param_1': 1}] (Background on this error at: http://sqlalche.me/e/2j85) ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
