Bug #40298 Test which asks to be skipped in embedded mode is randomly not skipped
Submitted: 24 Oct 2008 9:36 Modified: 10 Feb 2011 11:48
Reporter: Guilhem Bichot Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:6.0 OS:IBM AIX
Assigned to: Bjørn Munch CPU Architecture:Any
Triage: Triaged: D3 (Medium)

[24 Oct 2008 9:36] Guilhem Bichot
Description:
See private post for URLs.
In 6.0-maria, test "dirty_close" fails with timeout in embedded mode.
But this test includes not_embedded.inc, so should have been skipped.
It is skipped on my development machine, and is skipped too when I log into the failing machine and run tests there. It is even random on the failing machine (passes in most pushes of 6.0-maria).
In 6.0-falcon, same problem on same machine: test innodb_bug34053 fails with timeout in embedded mode, but includes not_embedded.inc. It is random too.
Both tests have at their start:
-- source include/not_embedded.inc

Note also, maybe unrelated, that when tests are skipped due to the above include file, mysql-test-run.pl prints an ugly message:
main.innodb_bug34053           mysql-test-run: WARNING: Could not find reason for skipping test in /dev/shm/var-embedded-132/log/mysqltest-time
[ skipped ]   Detected by testcase(reason unknown) 

How to repeat:
Unfortunately random.
[10 Feb 2011 11:48] Bjørn Munch
AIX no longer supported