Bug #41420 MTR fails on windows with "The symlink function is unimplemented"
Submitted: 12 Dec 2008 8:27 Modified: 17 Feb 2009 18:19
Reporter: Philip Stoev Email Updates:
Status: Closed Impact on me:
None 
Category:Tools: MTR / mysql-test-run Severity:S7 (Test Cases)
Version:6.0 OS:Windows
Assigned to: Bjørn Munch CPU Architecture:Any

[12 Dec 2008 8:27] Philip Stoev
Description:
Running mysql-test-run.pl --start-and-exit under Windows with MTR_VERSION=1 fails as follows:

Killing Possible Leftover Processes
Removing Stale Files
Creating Directories
Symlinking C:\DOCUME~1\sysqa\LOCALS~1\Temp\1\NxNDGS1kLi/master.sock
The symlink function is unimplemented at mysql-test-run.pl line 2329.

The master.sock is placed in TEMP because of a UNIX thing that if a vardir path is longer than N characters, the socket it will not work and therefore it is placed in /tmp. This is probably not required on Windows.

How to repeat:
mysql-test-run.pl --start-and-exit --vardir=G:/pb2/test/sb_1-173701-1229069993.4/mysql-6.0.9-alpha-win-x86-test/vardirs
[10 Jan 2009 1:37] Omer Barnir
This issue is likely related to the length of the --vardir value and is not related to the setting of MTR_VERSION=1
[20 Jan 2009 10:41] 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/63598

2707 Bjorn Munch	2009-01-20
      Bug #41420 MTR fails on windows with "The symlink function is unimplemented"
      Don't do the symlink if running on Windows
[20 Jan 2009 13:50] Bjørn Munch
Pushed to 5.1-build and 6.0-build
[9 Feb 2009 22:34] Bugs System
Pushed into 5.1.32 (revid:davi.arnaut@sun.com-20090209214102-gj3sb3ujpnvpiy4c) (version source revid:davi.arnaut@sun.com-20090209214102-gj3sb3ujpnvpiy4c) (merge vers: 5.1.32) (pib:6)
[14 Feb 2009 13:01] Bugs System
Pushed into 6.0.10-alpha (revid:matthias.leich@sun.com-20090212211028-y72faag15q3z3szy) (version source revid:timothy.smith@sun.com-20090207154714-9moby68i60j14r6w) (merge vers: 6.0.10-alpha) (pib:6)
[17 Feb 2009 14:59] Bugs System
Pushed into 5.1.32-ndb-6.3.23 (revid:tomas.ulin@sun.com-20090217131017-6u8qz1edkjfiobef) (version source revid:tomas.ulin@sun.com-20090216083408-rmvyaxjt6mk8sg1y) (merge vers: 5.1.32-ndb-6.3.23) (pib:6)
[17 Feb 2009 16:47] Bugs System
Pushed into 5.1.32-ndb-6.4.3 (revid:tomas.ulin@sun.com-20090217134419-5ha6xg4dpedrbmau) (version source revid:tomas.ulin@sun.com-20090216083646-m8st11oj1hhfuuh5) (merge vers: 5.1.32-ndb-6.4.3) (pib:6)
[17 Feb 2009 18:19] Paul DuBois
Test suite changes. No changelog entry needed.
[17 Feb 2009 18:23] Bugs System
Pushed into 5.1.32-ndb-6.2.17 (revid:tomas.ulin@sun.com-20090217134216-5699eq74ws4oxa0j) (version source revid:tomas.ulin@sun.com-20090211111208-wf0acl7c1vl5653e) (merge vers: 5.1.32-ndb-6.2.17) (pib:6)