Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
## Steps to reproduce
Update System to Xamarin.iOS mono2017-06 build, mtouch 10.15.0.102 (mono-2017-06: 0235820b).
Execute mscorlib test on tvOS device.
## Actual Behaviour:
[FAIL] FileTest.SymLinkLoop : File.Exists must return true for path1 symlink loop
But was: False
at MonoTests.System.IO.FileTest.SymLinkLoop () [0x0005d] in /data/jenkins/workspace/XI/tvosunittests-d15-5/xamarin-macios/external/mono/mcs/class/corlib/Test/System.IO/FileTest.cs:2709
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object,System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object parameters, System.Globalization.CultureInfo culture) [0x00032] in /Library/Frameworks/Xamarin.iOS.framework/Versions/10.15.0.102/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
Test Log: https://gist.github.com/GouriKumari/496987e9d0b821df50d840808bc73a9f
## Test Env:
mtouch 10.15.0.102 (mono-2017-06: 0235820b).
Rodrigo, the test you added with https://github.com/mono/mono/pull/4872 seems to be failing on tvOS, would you mind taking a look? Thank you
This looks like a bug worth investigating.
Please find someone to look at it. I have neither the platform or the device at hand.
Bumping to 15.6 since I don't think this is an issue on tvOS, because it's not common at all to use symlinks on tvOS.
PRs to disable the test until the issue is investigated and fixed:
tvOS is a bit special since there's no guaranteed storage for user data.
The call to `symlink` returns -1, errno = 1 (EPERM) which is often used for sandbox restrictions and...
Nov 28 11:29:15 Apple-TV kernel(Sandbox) <Notice>: Sandbox: mscorlibtests(413) deny(1) file-write-create /private/var/mobile/Containers/Data/Application/F9D1F6ED-102F-4555-B75F-AA33B5D256C5/Library/Caches/Documents/uetnvso1.x0m
^ it's what the device logs are showing.
Other API behave the same on tvOS, e.g. http://www.openradar.me/22860545 and http://www.openradar.me/23165157
Now why some API works and others don't is afaik undocumented by Apple. However there's nothing we can (or should) do wrt sandbox restrictions.