[MDEV-8499] plugins.cracklib_password_check and plugins.two_password_validations fail in buildbot on p8-trusty-bintar[-debug] Created: 2015-07-19  Updated: 2015-08-03  Resolved: 2015-08-03

Status: Closed
Project: MariaDB Server
Component/s: Tests
Affects Version/s: 10.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Sergey Vojtovich
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-7069 Fix buildbot failures in main server ... Stalled

 Description   

Tests fail due to the missing libcrack.so.2:

http://buildbot.askmonty.org/buildbot/builders/p8-trusty-bintar-debug/builds/534/steps/test/logs/stdio

plugins.two_password_validations         w1 [ fail ]
        Test ended at 2015-07-17 21:51:47
 
CURRENT_TEST: plugins.two_password_validations
mysqltest: At line 19: query 'install soname "cracklib_password_check"' failed: 1126: Can't open shared library '/var/lib/buildbot/maria-slave/power8-vlp04-bintar-debug/build/mysql-test/var/1/plugins/cracklib_password_check.so' (errno: 0, libcrack.so.2: cannot open shared object file: No such file or directory)
 
The result from queries just before the failure was:
install soname "simple_password_check";
grant select on *.* to Fff_fff1 identified by '1fff_ffF';
drop user Fff_fff1;
install soname "cracklib_password_check";
 
 - saving '/var/lib/buildbot/maria-slave/power8-vlp04-bintar-debug/build/mysql-test/var/1/log/plugins.two_password_validations/' to '/var/lib/buildbot/maria-slave/power8-vlp04-bintar-debug/build/mysql-test/var/log/plugins.two_password_validations/'



 Comments   
Comment by Daniel Bartholomew [ 2015-07-21 ]

I'm not sure what the correct resolution for this is. The library does exist, but it's under a subdirectory of /usr/lib:

u0016471@sys-74005:~$ ls -l /usr/lib/*/libcrack*
-rw-r--r-- 1 root root 66068 Mar 23  2014 /usr/lib/powerpc64le-linux-gnu/libcrack.a
lrwxrwxrwx 1 root root    13 Mar 23  2014 /usr/lib/powerpc64le-linux-gnu/libcrack.so -> libcrack.so.2
lrwxrwxrwx 1 root root    17 Mar 23  2014 /usr/lib/powerpc64le-linux-gnu/libcrack.so.2 -> libcrack.so.2.9.0
-rw-r--r-- 1 root root 47008 Mar 23  2014 /usr/lib/powerpc64le-linux-gnu/libcrack.so.2.9.0

Comment by Sergey Vojtovich [ 2015-08-03 ]

I fixed this ~2 weeks ago, first successful build was: http://buildbot.askmonty.org/buildbot/builders/p8-trusty-bintar-debug/builds/544

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