Public bug reported:

Steps to reproduce:
1. dpkg-reconfigure tzdata and select there Europe/Moscow (UTC+3).
2. Restart mysql
3. Configure opportunistic tests with the following command in mysql:
GRANT ALL PRIVILEGES ON *.* TO 'openstack_citest' @'%' identified by 
'openstack_citest' WITH GRANT OPTION;
4. Run 
keystone.tests.unit.identity.backends.test_sql.MySQLOpportunisticIdentityDriverTestCase.test_change_password

Expected result: test pass

Actual result:
    Traceback (most recent call last):
      File "keystone/tests/unit/identity/backends/test_base.py", line 255, in 
test_change_password
        self.driver.authenticate(user['id'], new_password)
      File "keystone/identity/backends/sql.py", line 65, in authenticate
        raise AssertionError(_('Invalid user / password'))
    AssertionError: Invalid user / password

** Affects: keystone
     Importance: Undecided
         Status: New

** Description changed:

  Steps to reproduce:
  1. dpkg-reconfigure tzdata and select there Europe/Moscow (UTC+3).
- 2. Configure opportunistic tests with the following command in mysql:
+ 2. Restart mysql
+ 3. Configure opportunistic tests with the following command in mysql:
  GRANT ALL PRIVILEGES ON *.* TO 'openstack_citest' @'%' identified by 
'openstack_citest' WITH GRANT OPTION;
- 3. Run 
keystone.tests.unit.identity.backends.test_sql.MySQLOpportunisticIdentityDriverTestCase.test_change_password
+ 4. Run 
keystone.tests.unit.identity.backends.test_sql.MySQLOpportunisticIdentityDriverTestCase.test_change_password
  
  Expected result: test pass
  
  Actual result:
-     Traceback (most recent call last):
-       File "keystone/tests/unit/identity/backends/test_base.py", line 255, in 
test_change_password
-         self.driver.authenticate(user['id'], new_password)
-       File "keystone/identity/backends/sql.py", line 65, in authenticate
-         raise AssertionError(_('Invalid user / password'))
-     AssertionError: Invalid user / password
+     Traceback (most recent call last):
+       File "keystone/tests/unit/identity/backends/test_base.py", line 255, in 
test_change_password
+         self.driver.authenticate(user['id'], new_password)
+       File "keystone/identity/backends/sql.py", line 65, in authenticate
+         raise AssertionError(_('Invalid user / password'))
+     AssertionError: Invalid user / password

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1621200

Title:
  MySQLOpportunisticIdentityDriverTestCase.test_change_password fails in
  UTC+N timezone

Status in OpenStack Identity (keystone):
  New

Bug description:
  Steps to reproduce:
  1. dpkg-reconfigure tzdata and select there Europe/Moscow (UTC+3).
  2. Restart mysql
  3. Configure opportunistic tests with the following command in mysql:
  GRANT ALL PRIVILEGES ON *.* TO 'openstack_citest' @'%' identified by 
'openstack_citest' WITH GRANT OPTION;
  4. Run 
keystone.tests.unit.identity.backends.test_sql.MySQLOpportunisticIdentityDriverTestCase.test_change_password

  Expected result: test pass

  Actual result:
      Traceback (most recent call last):
        File "keystone/tests/unit/identity/backends/test_base.py", line 255, in 
test_change_password
          self.driver.authenticate(user['id'], new_password)
        File "keystone/identity/backends/sql.py", line 65, in authenticate
          raise AssertionError(_('Invalid user / password'))
      AssertionError: Invalid user / password

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1621200/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to