| Bug #38270 | Test "processlist_priv_ps" fails on varying "processlist" output | ||
|---|---|---|---|
| Submitted: | 21 Jul 2008 18:59 | Modified: | 1 Oct 2008 17:14 |
| Reporter: | Joerg Bruehe | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Tests: Server | Severity: | S3 (Non-critical) |
| Version: | 5.1.26-rc | OS: | Any |
| Assigned to: | Matthias Leich | CPU Architecture: | Any |
[21 Jul 2008 18:59]
Joerg Bruehe
[14 Aug 2008 14:08]
Matthias Leich
The first bad effect Example - ... Sleep TIME NULL + ... Connect TIME Writing to net NULL seems to be caused by a weakness within the test script. The phase where a session is in state "Connect" is usually very short and already completed when a following SHOW PROCESSLIST is executed. But this is no more valid in case of a testing box with high load.
[15 Aug 2008 21:07]
Matthias Leich
The second bad effect, reported for
- Solaris 9, Sparc, 64 bit
- Linux, PPC
shows an unexpected additional session which seems
to disconnect just now.
ID USER HOST DB COMMAND TIME STATE INFO
ID root HOST_NAME test Quit TIME NULL NULL
This session cannot be explained by the testcase itself.
There is no disconnect of a session between the start
of the test and the statements where we get this
as result set.
I experimented with
A = a test which creates a second session of user root
but does not disconnect at end of test
B = Duplicate of processlist_priv_ps copied to
mysql-test/t
a) ./mysql-test-run.pl --ps-protocol A B A B A B ....
and a parallel
root: dd if=/dev/<my disk> of=/dev/null
which causes high disk I/O load
and
b) ./mysql-test-run.pl --mem --ps-protocol A B A B A B ....
and was unable to reproduce the problem on my Linux box.
This means it does not look like whatever previous
test which does an imperfect cleanup (=forgets to
disconnect some additional session) causes the observed
effect.
Summary:
- The second bad effect is not caused by a weakness
within the current test.
- Experiments to replay this effect failed
Speculations:
Maybe
- the OS mentioned behave different (very unlikely)
- an additional mysqltest/mysql process
- intended for observation of this server but
unfortunately forgotten by the reporter
- intended for observation of a different server
and connected from whatever reason (tool
failure?) to the wrong server
disturbs the current test
But why is it in state "Quit" (ok, amount of data
is not sufficient for good statistics)?
[21 Aug 2008 14:43]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52219
[21 Aug 2008 15:51]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52231
[22 Aug 2008 16:41]
Patrick Crews
Ok to push. Tested on Mac OSX 10.5 and Windows XP 32 bit.
[25 Aug 2008 13:23]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52456
[25 Aug 2008 15:04]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/52468
[28 Aug 2008 13:10]
Matthias Leich
Pushed to 5.1-bugteam 6.0-bugeam
[14 Sep 2008 2:22]
Bugs System
Pushed into 6.0.7-alpha (revid:mleich@mysql.com-20080825132311-h707dil785ggs720) (version source revid:sven@mysql.com-20080818195835-r615g9zz6xphmkzg) (pib:3)
[16 Sep 2008 14:34]
Paul DuBois
Test case changes. No changelog entry needed, but setting to NDI pending push into 5.1.x.
[1 Oct 2008 16:08]
Bugs System
Pushed into 5.1.28 (revid:mleich@mysql.com-20080825132311-h707dil785ggs720) (version source revid:mleich@mysql.com-20080825132311-h707dil785ggs720) (pib:4)
[1 Oct 2008 17:14]
Paul DuBois
Test case changes. No changelog entry needed.
[28 Oct 2008 21:05]
Bugs System
Pushed into 5.1.29-ndb-6.2.17 (revid:mleich@mysql.com-20080825132311-h707dil785ggs720) (version source revid:tomas.ulin@sun.com-20081028140209-u4emkk1xphi5tkfb) (pib:5)
[28 Oct 2008 22:24]
Bugs System
Pushed into 5.1.29-ndb-6.3.19 (revid:mleich@mysql.com-20080825132311-h707dil785ggs720) (version source revid:tomas.ulin@sun.com-20081028194045-0353yg8cvd2c7dd1) (pib:5)
[1 Nov 2008 9:50]
Bugs System
Pushed into 5.1.29-ndb-6.4.0 (revid:mleich@mysql.com-20080825132311-h707dil785ggs720) (version source revid:jonas@mysql.com-20081101082305-qx5a1bj0z7i8ueys) (pib:5)
