Keystone failing with the latest PyMySql 0.10.0
Bug #1890325 reported by
Vishakha Agarwal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
High
|
Vishakha Agarwal |
Bug Description
The following test cases of keystone are failing [1] when updating the PyMySql to latest version 0.10.0
Changed in keystone: | |
assignee: | nobody → Vishakha Agarwal (vishakha.agarwal) |
importance: | Undecided → High |
Changed in keystone: | |
status: | New → In Progress |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/744940 /git.openstack. org/cgit/ openstack/ keystone/ commit/ ?id=56da348b493 3de441986a353e1 782cf498211344
Committed: https:/
Submitter: Zuul
Branch: master
commit 56da348b4933de4 41986a353e1782c f498211344
Author: Vishakha Agarwal <email address hidden>
Date: Wed Aug 5 21:36:26 2020 +0530
Skip tests to update u-c for PyMySql to 0.10.0
In the new version of PyMySql the error > 1000, will be
operational error [1], which is failing keystone migration
test cases [2] for backend mysql because we raise dberror
[3] which does not handle operational error.
PyMySQL hasn't been raised to 0.10.0 in the upper-constraints
yet, so this patch isn't going to be able to install it.
We can't raise the u-c since the current keystone jobs are
failing with it.
This patch overrides the test cases for backend SQL and skips
the same. This is so to make sure that failed test cases are
skipped because Once the upper-constraints are updated to
0.10.0 for PyMySql and merged, will revert the skip and
handle for 0.10.0.
[1]https:/ /github. com/PyMySQL/ PyMySQL/ commit/ c3e5a63514c57d1 f4c9d5e7bf4b7e1 0b0608b0e1 /da7bb9864083b9 045f13- 6176f3344d25412 29da3be8329641f 28.ssl. cf5.rackcdn. com/741837/ 2/check/ cross-keystone- py36/d1a2e73/ testr_results. html /github. com/openstack/ keystone/ blob/033e7aff87 0f2ccd4dec607e9 c47efff630ece29 /keystone/ tests/unit/ test_sql_ upgrade. py#L1867
[2]https:/
[3]https:/
Related-Bug: #1890325 e2725321de9a90a 40c027a9f87
Change-Id: I207bb816affcb3