[MDEV-7298] plugins.cracklib_password_check test fails Created: 2014-12-10  Updated: 2015-11-16  Resolved: 2015-11-16

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1.2
Fix Version/s: 10.1.9

Type: Bug Priority: Minor
Reporter: Brian Evans Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None
Environment:

Gentoo with cracklib-2.9.1


Sprint: 10.1.9-3

 Description   

plugins.cracklib_password_check          w2 [ fail ]
        Test ended at 2014-12-09 19:33:51
 
CURRENT_TEST: plugins.cracklib_password_check
--- /var/tmp/portage/dev-db/mariadb-10.1.2_alpha/work/mysql/mysql-test/suite/plugins/r/cracklib_password_check.result   2014-
12-05 02:21:22.000000000 -0500
+++ /var/tmp/portage/dev-db/mariadb-10.1.2_alpha/work/mysql/mysql-test/suite/plugins/r/cracklib_password_check.reject   2014-
12-09 19:33:50.970786680 -0500
@@ -35,7 +35,7 @@
 ERROR HY000: Your password does not satisfy the current policy requirements
 show warnings;
 Level  Code    Message
-Warning        1819    cracklib: it is based on your username
+Warning        1819    cracklib: it is based on a dictionary word
 Error  1819    Your password does not satisfy the current policy requirements
 grant select on *.* to foobar identified by 'qwerty';
 ERROR HY000: Your password does not satisfy the current policy requirements
 
mysqltest: Result length mismatch
 
 
Warnings from just before the error:
Warning 1819 cracklib: it is based on a dictionary word



 Comments   
Comment by Elena Stepanova [ 2014-12-11 ]

serg,

I don't have gentoo with cracklib-2.9.1 to check (and have some problems with my VM while trying to install it), I assume you do have it, so you can check it quicker.

On Trusty the test passes. Maybe 'foobar' is a dictionary word on Gentoo, or something?

Comment by Sergei Golubchik [ 2014-12-12 ]

May be. I have gentoo with sys-libs/cracklib-2.9.1-r1. And by default it doesn't have a dictionary (no file at the location of the default dictionary path). May be grknight has installed a dictionary file. Doesn't matter, really, a test shouldn't rely on system dictionary file anyway. I'll try a custom dictionary file or a /dev/null for a dictionary path.

Generated at Thu Feb 08 07:18:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.