Bug #46007 Get server log after crash while running 'check testcase before test'
Submitted: 7 Jul 2009 13:16 Modified: 19 Dec 2009 0:10
Reporter: Alexander Nozdrin Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S3 (Non-critical)
Version:azalea OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any
Tags: pb2, sporadic, test failure, tf54

[7 Jul 2009 13:16] Alexander Nozdrin
Description:
The are tests failing with the following symptoms in PB2:

The server [timer - pid: -7324, exit: 0] crashed while running 'check testcase before test'

This bug reported has been reported after the following failure:
http://pb2.norway.sun.com/web.py?template=mysql_show_test_failure&test_failure_id=2239185

How to repeat:
XRef2: 
http://pb2.norway.sun.com/web.py?template=mysql_show_test_failure&test_failure_id=&test_ou...

NOTE: as it's noted in Bug#46006, XRef2 does not sort by the date if
'test output' filter is used. That's why the search above includes
the date range.
[7 Aug 2009 9:46] Sveta Smirnova
Thank you for the report.

Verified as described.

I see same behavior with random tests which I run while verifying bug reports.
[1 Oct 2009 8:27] Bjørn Munch
See last comment: this is a server crash, but there were no logs available.
[9 Oct 2009 9:41] Konstantin Osipov
Bjorn,
as long as a it's an mtr failure, please take time to look at it.
Not all server crashes are bugs. Please provide us with a backtrace at least, so that we can fix this bug in the server.

Thanks,
kostja
[9 Oct 2009 11:06] Bjørn Munch
I will look into possibly extracting lines from server logs after crash. It won't help for the cases that have occurred though.

But even in the absence of this, there server logs are available after test run and lately they should also all be downloadable from PB2, will see if I can actually find some.
[12 Oct 2009 8:28] 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/86529

2846 Bjorn Munch	2009-10-12
      Bug #46007 Tests fail due to a crash while running 'check testcase before test'
      Difficult to debug due to lacking report
      This does not solve the real issue, but extracts server log when it happens
[12 Oct 2009 8:34] Bjørn Munch
I'm redifining this as an MTR problem, if this leads to more meaningful error reports, a new server bug may be filed.
[14 Oct 2009 7:32] 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/86754

2846 Bjorn Munch	2009-10-14
      Bug #46007 Tests fail due to a crash while running 'check testcase before test'
      Difficult to debug due to lacking report
      This does not solve the real issue, but extracts server log when it happens
      Forst commit was incomplete, didn't cover all cases
[16 Oct 2009 9:28] Bjørn Munch
Pushed to 5.1-mtr, trunk-mtr, next-mr-mtr, 6.0-codebase-mtr
[22 Oct 2009 20:17] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20091022201524-0efl2fzebfuuf0vk) (version source revid:bjorn.munch@sun.com-20091016091844-jfoskaqhgzizpjjg) (merge vers: 6.0.14-alpha) (pib:13)
[22 Oct 2009 20:18] Bugs System
Pushed into 5.5.0-beta (revid:alik@sun.com-20091022201318-jfvtrzd6lb07cwp5) (version source revid:bjorn.munch@sun.com-20091016090237-t50imnihi82zkxzf) (merge vers: 5.4.5-beta) (pib:13)
[22 Oct 2009 23:21] Paul DuBois
Test suite change. No changelog entry needed.

Setting report to NDI pending push into 5.1.x.
[23 Oct 2009 7:34] Bugs System
Pushed into 5.1.41 (revid:bjorn.munch@sun.com-20091021073307-ummbh6668hvfxqjv) (version source revid:bjorn.munch@sun.com-20091021073307-ummbh6668hvfxqjv) (merge vers: 5.1.41) (pib:13)
[23 Oct 2009 15:17] Paul DuBois
Test suite change. No changelog entry needed.
[18 Dec 2009 10:31] Bugs System
Pushed into 5.1.41-ndb-7.1.0 (revid:jonas@mysql.com-20091218102229-64tk47xonu3dv6r6) (version source revid:jonas@mysql.com-20091218095730-26gwjidfsdw45dto) (merge vers: 5.1.41-ndb-7.1.0) (pib:15)
[18 Dec 2009 10:47] Bugs System
Pushed into 5.1.41-ndb-6.2.19 (revid:jonas@mysql.com-20091218100224-vtzr0fahhsuhjsmt) (version source revid:jonas@mysql.com-20091217101452-qwzyaig50w74xmye) (merge vers: 5.1.41-ndb-6.2.19) (pib:15)
[18 Dec 2009 11:02] Bugs System
Pushed into 5.1.41-ndb-6.3.31 (revid:jonas@mysql.com-20091218100616-75d9tek96o6ob6k0) (version source revid:jonas@mysql.com-20091217154335-290no45qdins5bwo) (merge vers: 5.1.41-ndb-6.3.31) (pib:15)
[18 Dec 2009 11:16] Bugs System
Pushed into 5.1.41-ndb-7.0.11 (revid:jonas@mysql.com-20091218101303-ga32mrnr15jsa606) (version source revid:jonas@mysql.com-20091218064304-ezreonykd9f4kelk) (merge vers: 5.1.41-ndb-7.0.11) (pib:15)