Keystone failing with the latest PyMySql 0.10.0

Bug #1890325 reported by Vishakha Agarwal
6
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

[1]https://da7bb9864083b9045f13-6176f3344d2541229da3be8329641f28.ssl.cf5.rackcdn.com/741837/2/check/cross-keystone-py36/d1a2e73/testr_results.html

Changed in keystone:
assignee: nobody → Vishakha Agarwal (vishakha.agarwal)
importance: Undecided → High
Changed in keystone:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to keystone (master)

Reviewed: https://review.opendev.org/744940
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=56da348b4933de441986a353e1782cf498211344
Submitter: Zuul
Branch: master

commit 56da348b4933de441986a353e1782cf498211344
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/c3e5a63514c57d1f4c9d5e7bf4b7e10b0608b0e1
    [2]https://da7bb9864083b9045f13-6176f3344d2541229da3be8329641f28.ssl.cf5.rackcdn.com/741837/2/check/cross-keystone-py36/d1a2e73/testr_results.html
    [3]https://github.com/openstack/keystone/blob/033e7aff870f2ccd4dec607e9c47efff630ece29/keystone/tests/unit/test_sql_upgrade.py#L1867

    Related-Bug: #1890325
    Change-Id: I207bb816affcb3e2725321de9a90a40c027a9f87

Revision history for this message
David Wilde (dave-wilde) wrote :

No longer applicable to keystone

Changed in keystone:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by "Grzegorz Grasza <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/keystone/+/745376

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.