Bug #77369 make test fail
Submitted: 16 Jun 2015 9:38 Modified: 20 Nov 2018 9:36
Reporter: Hisashi Nakayama Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.6.25 OS:Solaris (11.2)
Assigned to: CPU Architecture:Any
Tags: Soalris11.2

[16 Jun 2015 9:38] Hisashi Nakayama
Description:
Solaris 11.2 SRU 11.2.11.5.0 (x86)
GCC 4.8.2 (from Solaris IPS)
cmake 3.2.2 (source install)

make test failed.

Running tests...
Test project /usr/local/src/mysql-5.6.25
      Start  1: hp_test1
 1/21 Test  #1: hp_test1 .........................   Passed    0.01 sec
      Start  2: hp_test2
 2/21 Test  #2: hp_test2 .........................   Passed    0.23 sec
      Start  3: pfs_instr_class
 3/21 Test  #3: pfs_instr_class ..................***Exception: SegFault  0.76 sec
      Start  4: pfs_instr_class-oom
 4/21 Test  #4: pfs_instr_class-oom ..............***Exception: SegFault  0.76 sec
      Start  5: pfs_instr
 5/21 Test  #5: pfs_instr ........................***Exception: SegFault  0.76 sec
      Start  6: pfs_instr-oom
 6/21 Test  #6: pfs_instr-oom ....................***Exception: SegFault  0.76 sec
      Start  7: pfs_account-oom
 7/21 Test  #7: pfs_account-oom ..................***Exception: SegFault  0.77 sec
      Start  8: pfs_host-oom
 8/21 Test  #8: pfs_host-oom .....................***Exception: SegFault  0.77 sec
      Start  9: pfs_user-oom
 9/21 Test  #9: pfs_user-oom .....................***Exception: SegFault  0.77 sec
      Start 10: pfs
10/21 Test #10: pfs ..............................***Exception: SegFault  0.77 sec
      Start 11: pfs_connect_attr
11/21 Test #11: pfs_connect_attr .................***Exception: SegFault  1.68 sec
      Start 12: regex1
12/21 Test #12: regex1 ...........................   Passed    0.01 sec
      Start 13: regex2
13/21 Test #13: regex2 ...........................   Passed    0.01 sec
      Start 14: regex3
14/21 Test #14: regex3 ...........................   Passed    0.01 sec
      Start 15: queues_test
15/21 Test #15: queues_test ......................   Passed    0.27 sec
      Start 16: simple
16/21 Test #16: simple ...........................   Passed    0.27 sec
      Start 17: skip
17/21 Test #17: skip .............................   Passed    0.00 sec
      Start 18: todo
18/21 Test #18: todo .............................   Passed    0.00 sec
      Start 19: skip_all
19/21 Test #19: skip_all .........................   Passed    0.00 sec
      Start 20: no_plan
20/21 Test #20: no_plan ..........................   Passed    0.00 sec
      Start 21: basic
21/21 Test #21: basic ............................   Passed    0.00 sec

57% tests passed, 9 tests failed out of 21

Total Test time (real) =   8.67 sec

The following tests FAILED:
          3 - pfs_instr_class (SEGFAULT)
          4 - pfs_instr_class-oom (SEGFAULT)
          5 - pfs_instr (SEGFAULT)
          6 - pfs_instr-oom (SEGFAULT)
          7 - pfs_account-oom (SEGFAULT)
          8 - pfs_host-oom (SEGFAULT)
          9 - pfs_user-oom (SEGFAULT)
         10 - pfs (SEGFAULT)
         11 - pfs_connect_attr (SEGFAULT)
Errors while running CTest
Makefile:136: recipe for target 'test' failed
make: *** [test] Error 8

How to repeat:
Get mysql 5.6.25 sources.
Unpack them.
Cwd to the sources directory.

# cmake .
# make test

mysql-5.6.24 is same result.

Suggested fix:

'make test' was succeeded when use the gcc-4.5.2 (from Solaris IPS)
[16 Jun 2015 11:48] MySQL Verification Team
Hello Hisashi Nakayama,

Thank you for the report.

Thanks,
Umesh
[16 Jun 2015 11:49] MySQL Verification Team
//

ushastry@ushastry:~/Downloads$ ls -l mysql-5.6.25.tar.gz 
-rw-r--r--   1 ushastry staff    33203321 Jun 16 10:17 mysql-5.6.25.tar.gz
ushastry@ushastry:~/Downloads$ md5sum mysql-5.6.25.tar.gz 
37664399c91021abe070faa700ecd0ed  mysql-5.6.25.tar.gz

ushastry@ushastry:~/Downloads/mysql-5.6.25$ cat /etc/*release
                             Oracle Solaris 11.2 X86
  Copyright (c) 1983, 2014, Oracle and/or its affiliates.  All rights reserved.
                             Assembled 23 June 2014
ushastry@ushastry:~/Downloads/mysql-5.6.25$ cmake --version
cmake version 2.8.6
ushastry@ushastry:~/Downloads/mysql-5.6.25$ gcc --version
gcc (GCC) 4.8.2
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ushastry@ushastry:~/Downloads/mysql-5.6.25$ cmake . -DCMAKE_INSTALL_PREFIX=/export/home/ushastry/Downloads/mysql-5.6.25 -DENABLE_DOWNLOADS=1
shastry@ushastry:~/Downloads/mysql-5.6.25$ make
ushastry@ushastry:~/Downloads/mysql-5.6.25$ make test
Running tests...
Test project /export/home/ushastry/Downloads/mysql-5.6.25
      Start  1: hp_test1
 1/23 Test  #1: hp_test1 .........................   Passed    0.16 sec
      Start  2: hp_test2
 2/23 Test  #2: hp_test2 .........................   Passed    0.37 sec
      Start  3: pfs_instr_class
 3/23 Test  #3: pfs_instr_class ..................***Exception: SegFault  1.04 sec
      Start  4: pfs_instr_class-oom
 4/23 Test  #4: pfs_instr_class-oom ..............***Exception: SegFault  0.89 sec
      Start  5: pfs_instr
 5/23 Test  #5: pfs_instr ........................***Exception: SegFault  0.88 sec
      Start  6: pfs_instr-oom
 6/23 Test  #6: pfs_instr-oom ....................***Exception: SegFault  0.87 sec
      Start  7: pfs_account-oom
 7/23 Test  #7: pfs_account-oom ..................***Exception: SegFault  1.09 sec
      Start  8: pfs_host-oom
 8/23 Test  #8: pfs_host-oom .....................***Exception: SegFault  0.90 sec
      Start  9: pfs_user-oom
 9/23 Test  #9: pfs_user-oom .....................***Exception: SegFault  0.87 sec
      Start 10: pfs
10/23 Test #10: pfs ..............................***Exception: SegFault  0.90 sec
      Start 11: pfs_connect_attr
11/23 Test #11: pfs_connect_attr .................***Exception: SegFault  2.48 sec
      Start 12: regex1
12/23 Test #12: regex1 ...........................   Passed    0.60 sec
      Start 13: regex2
13/23 Test #13: regex2 ...........................   Passed    0.02 sec
      Start 14: regex3
14/23 Test #14: regex3 ...........................   Passed    0.06 sec
      Start 15: queues_test
15/23 Test #15: queues_test ......................   Passed    0.42 sec
      Start 16: simple
16/23 Test #16: simple ...........................   Passed    0.24 sec
      Start 17: skip
17/23 Test #17: skip .............................   Passed    0.01 sec
      Start 18: todo
18/23 Test #18: todo .............................   Passed    0.02 sec
      Start 19: skip_all
19/23 Test #19: skip_all .........................   Passed    0.02 sec
      Start 20: no_plan
20/23 Test #20: no_plan ..........................   Passed    0.03 sec
      Start 21: basic
21/23 Test #21: basic ............................   Passed    0.03 sec
      Start 22: merge_large_tests
22/23 Test #22: merge_large_tests ................***Exception: SegFault  1.91 sec
      Start 23: merge_small_tests
23/23 Test #23: merge_small_tests ................   Passed    1.46 sec

57% tests passed, 10 tests failed out of 23

Total Test time (real) =  18.71 sec

The following tests FAILED:
	  3 - pfs_instr_class (SEGFAULT)
	  4 - pfs_instr_class-oom (SEGFAULT)
	  5 - pfs_instr (SEGFAULT)
	  6 - pfs_instr-oom (SEGFAULT)
	  7 - pfs_account-oom (SEGFAULT)
	  8 - pfs_host-oom (SEGFAULT)
	  9 - pfs_user-oom (SEGFAULT)
	 10 - pfs (SEGFAULT)
	 11 - pfs_connect_attr (SEGFAULT)
	 22 - merge_large_tests (SEGFAULT)
Errors while running CTest
*** Error code 8
The following command caused the error:
/usr/bin/ctest --force-new-ctest-process 
make: Fatal error: Command failed for target `test'
ushastry@ushastry:~/Downloads/mysql-5.6.25$
[20 Nov 2018 9:36] Dyre Tjeldvoll
Posted by developer:
 
Thank you for bringing this to our attention. This has been fixed in later releases and since we do not backport such fixes to GA releases, this bug will have to be closed. Note though that support for gcc on Solaris has been dropped, and that since 8.0, MySQL needs to be built with Solaris Developer Studio 12.6.