Bug 51799 - apitest (Classic/Unified/Unified XM45) failing to load MediaPlayer
Summary: apitest (Classic/Unified/Unified XM45) failing to load MediaPlayer
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) ()
Version: Master
Hardware: PC Mac OS
: Normal normal
Target Milestone: Future Cycle (TBD)
Assignee: Sebastien Pouliot
Depends on:
Reported: 2017-01-26 19:42 UTC by Vincent Dondain [MSFT]
Modified: 2017-02-01 02:38 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Vincent Dondain [MSFT] 2017-01-26 19:42:51 UTC
apitest: all three variations seem to be failing because of the same problem:

1) ExpectedLibrariesAreLoaded (Xamarin.Mac.Tests.EveryFrameworkSmokeTests.ExpectedLibrariesAreLoaded)
   MediaPlayerLibrary (/System/Library/Frameworks/MediaPlayer.framework/MediaPlayer) failed to load but this was not expected
  at Xamarin.Mac.Tests.EveryFrameworkSmokeTests.ExpectedLibrariesAreLoaded () [0x000cc] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/tests/apitest/src/EveryFrameworkSmokeTest.cs:94 
  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) [0x00038] in /Users/builder/jenkins/workspace/xamarin-macios-pr-builder/_mac-build/Library/Frameworks/Xamarin.Mac.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
Comment 8 Sebastien Pouliot 2017-01-27 16:43:11 UTC
apitest is an XM test suite -> moving...
Comment 11 Sebastien Pouliot 2017-01-31 02:23:32 UTC
Since we need XM to build (on wrench) the `xcode8.3` branch this failure is back again (on jenkins).

This will ignore it: https://github.com/xamarin/xamarin-macios/pull/1588

But the real fix (for XM) is being tracked in
Comment 13 Sebastien Pouliot 2017-02-01 00:43:56 UTC
PR https://github.com/xamarin/xamarin-macios/pull/1603 will fix `Unified` and `Unified XM45` configurations. `Classic` was fixed by PR #1588
Comment 14 Sebastien Pouliot 2017-02-01 02:38:36 UTC
Fixed in https://github.com/xamarin/xamarin-macios/pull/1603