-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[xharness] Add support for getting the default AssemblyName for proje…
…cts. (#9369) In .NET projects there's a default value for most properties, which means that there won't necessarily be an AssemblyName property in a csproj. We need to know the AssemblyName, so calculate it from the csproj filename (which is how .NET does it). This turned out slighly complicated, because we're pass an XmlDocument around, and the XmlDocument doesn't know the file from where it was loaded, so we need to keep that information separately.
- Loading branch information
1 parent
33ecd58
commit b28997f
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Pipeline scripts tests failed on VSTS: device tests iOS (DDFun) 🔥
The tests of the scripts used in the pepeline failed. The build was cancelled.
Pipeline on Agent
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Tests failed catastrophically on VSTS: device tests iOS (DDFun) 🔥
Failed provisioning profiles.
Pipeline on Agent
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Pipeline scripts tests failed on VSTS: device tests tvOS (DDFun) 🔥
The tests of the scripts used in the pepeline failed. The build was cancelled.
Pipeline on Agent
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Tests failed catastrophically on VSTS: device tests tvOS (DDFun) 🔥
Failed provisioning profiles.
Pipeline on Agent
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ Jenkins job (on internal Jenkins) succeeded
✅ Provisioning succeeded
✅ Build succeeded
✅ Packages built successfully
View packages
✅ API Diff (from stable)
✅ API Diff (from PR only) (no change)
✅ Generator Diff (no change)
✅ Test run succeeded
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Device tests failed on VSTS: device tests tvOS (Cambridge) ❌
Device tests failed on VSTS: device tests tvOS (Cambridge).
Test results
16 tests failed, 134 tests passed.
Failed tests
Pipeline on Agent XI-A-Batman
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Device tests failed on VSTS: device tests iOS (Cambridge) ❌
Device tests failed on VSTS: device tests iOS (Cambridge).
Test results
7 tests failed, 143 tests passed.
Failed tests
at System.Xml.XmlEncodedRawTextWriter.InvalidXmlChar (System.Int32 ch, System.Char* pDst, System.Boolean entitize) [0x00026] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1420
at System.Xml.XmlEncodedRawTextWriter.WriteCDataSection (System.String text) [0x00251] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1370
at System.Xml.XmlEncodedRawTextWriter.WriteCData (System.String text) [0x0012a] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:470
at System.Xml.XmlEncodedRawTextWriterIndent.WriteCData (System.String text) [0x00007] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlEncodedRawTextWriter.cs:1750
at System.Xml.XmlWellFormedWriter.WriteCData (System.String text) [0x00029] in /Users/builder/jenkins/workspace/build-package-osx-mono/2020-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/System.Xml/System/Xml/Core/XmlWellFormedWriter.cs:771
at Microsoft.DotNet.XHarness.iOS.Shared.XmlResultParser.WriteFailure (System.Xml.XmlWriter writer, System.String message, System.IO.StreamReader stderr) [0x0003d] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs:843
at Microsoft.DotNet.XHarness.iOS.Shared.XmlResultParser.GenerateNUnitV3Failure (System.Xml.XmlWriter writer, System.String title, System.String message, System.IO.StreamReader stderr) [0x00319] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs:894
at Microsoft.DotNet.XHarness.iOS.Shared.XmlResultParser.GenerateFailureXml (System.String destination, System.String title, System.String message, System.IO.StreamReader stderrReader, Microsoft.DotNet.XHarness.iOS.Shared.XmlResultJargon jargon) [0x0004f] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs:949
at Microsoft.DotNet.XHarness.iOS.Shared.XmlResultParser.GenerateFailure (Microsoft.DotNet.XHarness.iOS.Shared.Logging.ILogs logs, System.String source, System.String appName, System.String variation, System.String title, System.String message, System.IO.StreamReader stderr, Microsoft.DotNet.XHarness.iOS.Shared.XmlResultJargon jargon) [0x000a1] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs:967
at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.GenerateXmlFailures (System.String failureMessage, System.Boolean crashed, System.String crashReason) [0x0031b] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:432
at Microsoft.DotNet.XHarness.iOS.Shared.TestReporter.ParseResult () [0x006c3] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/TestReporter.cs:519
at Xharness.AppRunner.RunAsync () [0x01528] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/AppRunner.cs:429
at Xharness.TestTasks.RunDevice.RunTestAsync () [0x00a8f] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/TestTasks/RunDevice.cs:162
at Xharness.TestTasks.RunDevice.RunTestAsync () [0x0123e] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/TestTasks/RunDevice.cs:228
at Xharness.TestTasks.RunTest.ExecuteAsync () [0x001b9] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/TestTasks/RunTest.cs:108
at Microsoft.DotNet.XHarness.iOS.Shared.Tasks.TestTasks.RunInternalAsync () [0x00226] in /Users/xamarinqa/agent/_work/17/s/xamarin-macios/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/Tasks/TestTask.cs:283 )
Pipeline on Agent XI-IRON-MAN
b28997f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Device tests failed on VSTS: device tests iOS32b (Cambridge) ❌
Device tests failed on VSTS: device tests iOS32b (Cambridge).
Test results
17 tests failed, 144 tests passed.
Failed tests
Pipeline on Agent XI-CAPTAIN-MARVEL