Bug #48676 Unittest failure in "backup" area
Submitted: 10 Nov 2009 21:50 Modified: 12 Nov 2009 6:23
Reporter: Joerg Bruehe Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Backup Severity:S3 (Non-critical)
Version:6.0.14 OS:Linux (x86)
Assigned to: CPU Architecture:Any

[10 Nov 2009 21:50] Joerg Bruehe
Description:
Since recently, I have two reproducible "unittest" failures in the "backup" area when I build and test on my home system from this tree:
   /bzrroot/server/mysql-pe/

Machine:   Linux/x86 (SuSE 10.3)   (all security updates applied continuously)
Compiler:  gcc (GCC) 4.2.1 (SUSE Linux)

This is the current log extract:
=====
make[2]: Entering directory `/MySQL/REPO/V60/work-6.0/unittest'
perl unit.pl run mytap mysys backup  ../storage/archive ../storage/blackhole ../storage/csv ../storage/example ../storage/federated ../storage/heap ../storage/innobase ../storage/myisammrg ../storage/myisam ../storage/ndb ../plugin/audit_null ../plugin/daemon_example ../plugin/fulltext ../plugin/semisync ../dbug
Running tests: mytap mysys backup ../storage/archive ../storage/blackhole ../storage/csv ../storage/example ../storage/federated ../storage/heap ../storage/innobase ../storage/myisammrg ../storage/myisam ../storage/ndb ../plugin/audit_null ../plugin/daemon_example ../plugin/fulltext ../plugin/semisync ../dbug
mytap/t/basic-t...............................ok
        2/5 skipped: Sensa fragoli
mysys/lf-t....................................ok
mysys/base64-t................................ok
mysys/my_atomic-t.............................ok
mysys/my_vsnprintf-t..........................ok
mysys/bitmap-t................................ok
mysys/waiting_threads-t.......................ok
mysys/safe_cleanup_cat_path-t.................ok
backup/bstr_eos-t.............................bstr_eos-t: stream_v1_transport.c:1993: bstream_next_chunk: Assertion `s->buf.header > s->buf.pos' failed.
dubious
        Test returned status 0 (wstat 6, 0x6)
backup/bstr_extra-t...........................ok
backup/bstr_random_chunks-t...................ok
backup/bstr_callback_errors-t.................dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 32
        Failed 1/32 tests, 96.88% okay
backup/bstr_io_errors-t.......................ok
backup/bstr_data_chunks-t.....................ok
backup/bstr_eoc-t.............................ok
backup/bug45737-t.............................ok
backup/bstr_extra1-t..........................ok
../storage/ndb/src/common/util/BaseString-t...ok
../dbug/tests-t...............................skipped
        all skipped: because dbug is disabled
Failed Test                   Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
backup/bstr_callback_errors-t    1   256    32    2   6.25%  32
backup/bstr_eos-t                0     6    ??   ??       %  ??
1 test and 2 subtests skipped.
Failed 2/19 test scripts, 89.47% okay. -12/3482 subtests failed, 100.34% okay.
make[2]: *** [test] Error 255
make[2]: Leaving directory `/MySQL/REPO/V60/work-6.0/unittest'
=====

My last successful run was on Oct 23, top changeset:
  revno: 3689
  committer: Jon Olav Hauglid <jon.hauglid@sun.com>
  branch nick: mysql-pe
  timestamp: Fri 2009-10-23 16:52:08 +0200
  message:
    nullmerge

The first failing run was on Nov 4, top changeset:
  revno: 3663
  committer: Georgi Kodinov <joro@sun.com>
  branch nick: merge-pe
  timestamp: Wed 2009-11-04 11:21:13 +0200
  message:
    merge

I have no intermediate data points.
Both builds identify as "MySQL Version 6.0.14".

How to repeat:
Run a build + test on Linux:
  BUILD/compile-pentium-max
  make -k test-force
[12 Nov 2009 6:23] Rafal Somla
This is a known issue (BUG#46880, BUG#47540). Should be fixed in BUG#47540.