[MDEV-7329] plugins.pam_cleartext fails sporadically in buildbot Created: 2014-12-15 Updated: 2016-08-04 Resolved: 2016-08-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 5.5, 10.0, 10.1 |
| Fix Version/s: | 5.5.51, 10.1.17, 10.0.27 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | buildbot, tests | ||
| Issue Links: |
|
||||||||
| Sprint: | 5.5.51 & 10.2.2 | ||||||||
| Description |
|
http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/6489/steps/test/logs/stdio
|
| Comments |
| Comment by Elena Stepanova [ 2016-01-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Recent occasion: http://buildbot.askmonty.org/buildbot/builders/work-amd64-valgrind/builds/8171/steps/test/logs/stdio | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey Vojtovich [ 2016-06-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fails reliably on valgrind builder with this patch:
Couldn't yet make it fail locally. Adding assertion just before this warning is issued gives the following:
According to cross-reference this problem occurs only with 5.5. It affected 10.0 too, but didn't appear since end of 2013. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey Vojtovich [ 2016-06-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
$MYSQL_TEST executed by this test case fails differently on my host and on valgrind:
$MYSQL_TEST process (on valgrind builder) exits while do_auth_once() is still being executed. | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey Vojtovich [ 2016-06-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
On valgrind builder there's /etc/pam.d/mariadb_mtr:
There is /lib64/security/pam_mariadb_mtr.so There is this code in sql-common/client.c:
But apparently it's not:
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey Vojtovich [ 2016-06-30 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Indeed it didn't fail locally because PAM returns authentication error due to missing module. Should this test at all run on hosts having no pam_mariadb_mtr.so? I'm raising priority of this bug since PAM auth seem to be broken. |