Bug #74099 | Mysys.MysysMySymlink unit test failing under Mac OS X | ||
---|---|---|---|
Submitted: | 26 Sep 2014 8:39 | Modified: | 26 Nov 2014 3:46 |
Reporter: | Laurynas Biveinis (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S3 (Non-critical) |
Version: | 5.7.5 | OS: | MacOS (10.9) |
Assigned to: | CPU Architecture: | Any | |
Tags: | unittest |
[26 Sep 2014 8:39]
Laurynas Biveinis
[26 Nov 2014 3:46]
MySQL Verification Team
Hello Laurynas, Thank you for the report. Thanks, Umesh
[26 Nov 2014 3:48]
MySQL Verification Team
// How to repeat // Environment details ushastry$ sw_vers ProductName: Mac OS X ProductVersion: 10.9.5 BuildVersion: 13F34 cmake version 3.0.2 ushastry$ clang --version Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix $ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn) Target: x86_64-apple-darwin13.4.0 Thread model: posix // Source details $ md5 mysql-5.7.5-m15.tar.gz MD5 (mysql-5.7.5-m15.tar.gz) = 95aa1873fd414482a1a88752cbde46bd // Build /Users/ushastry/Downloads/cmake-3.0.2-Darwin64-universal/CMake.app/Contents/bin/cmake . -DCMAKE_INSTALL_PREFIX=/Users/ushastry/Downloads/mysql-5.7.5-m15 -DDOWNLOAD_BOOST=1 -DWITH_BOOST=../boost -DENABLE_DOWNLOADS=1 ^^^ If download fails, then to enable google test, please download http://googlemock.googlecode.com/files/gmock-1.6.0.zip to the directory /Users/ushastry/Downloads/mysql-5.7.5-m15/source_downloads If you are inside a firewall, you may need to use an http proxy: export http_proxy=http://example.com:80 make // use ctest ~ushastry/Downloads/cmake-3.0.2-Darwin64-universal/CMake.app/Contents/bin/ctest .. .. . 24: # Run 172 Mysys.MysysMySymlink 24: /Users/ushastry/Downloads/mysql-5.7.5-m15/unittest/gunit/mysys_my_symlink-t.cc:43: FailureValue of: filename 24: Actual: "/var/folders/bk/1bmg7xr512d852n21850wh280000gp/T/gunit_mysys_symlinkvQ30Bc" 24: Expected: resolvedname 24: Which is: "/private/var/folders/bk/1bmg7xr512d852n21850wh280000gp/T/gunit_mysys_symlinkvQ30Bc" 24: not ok 172 24/29 Test #24: merge_small_tests ................***Failed 1.11 sec // or navigate to unittest/gunit cd unittest/gunit/ ~ushastry/Downloads/cmake-3.0.2-Darwin64-universal/CMake.app/Contents/bin/ctest Test project /Users/ushastry/Downloads/mysql-5.7.5-m15/unittest/gunit Start 1: merge_large_tests 1/7 Test #1: merge_large_tests ................ Passed 1.36 sec Start 2: merge_small_tests 2/7 Test #2: merge_small_tests ................***Failed 1.10 sec Start 3: ha_innodb 3/7 Test #3: ha_innodb ........................ Passed 0.03 sec Start 4: mem0mem 4/7 Test #4: mem0mem .......................... Passed 0.02 sec Start 5: ut0crc32 5/7 Test #5: ut0crc32 ......................... Passed 0.03 sec Start 6: ut0mem 6/7 Test #6: ut0mem ........................... Passed 0.02 sec Start 7: ut0new 7/7 Test #7: ut0new ........................... Passed 0.02 sec 86% tests passed, 1 tests failed out of 7 Total Test time (real) = 2.68 sec The following tests FAILED: 2 - merge_small_tests (Failed) Errors while running CTest # Run 172 Mysys.MysysMySymlink 2: /Users/ushastry/Downloads/mysql-5.7.5-m15/unittest/gunit/mysys_my_symlink-t.cc:43: FailureValue of: filename 2: Actual: "/var/folders/bk/1bmg7xr512d852n21850wh280000gp/T/gunit_mysys_symlinkBi1nlQ" 2: Expected: resolvedname 2: Which is: "/private/var/folders/bk/1bmg7xr512d852n21850wh280000gp/T/gunit_mysys_symlinkBi1nlQ" 2: not ok 172