Disable Ubuntu arm32 corefx xunit test result parsing
authorBruce Forstall <Bruce_Forstall@msn.com>
Fri, 17 Aug 2018 17:24:48 +0000 (10:24 -0700)
committerBruce Forstall <Bruce_Forstall@msn.com>
Fri, 17 Aug 2018 17:24:48 +0000 (10:24 -0700)
We have a problem with the xunit plug-in, where it is consistently
failing on Ubuntu arm32 test result uploading with this error:

```
The plugin hasn't been performed correctly
```

We haven't been able to identify the reason. So, do not add xunit parsing of the test data in this scenario.
This is tracked by: https://github.com/dotnet/coreclr/issues/19447.

Commit migrated from https://github.com/dotnet/coreclr/commit/da65d2f15084c45b8a352ebe901de9cbdba7add0

src/coreclr/netci.groovy

index 400d17b..8fc1fe5 100755 (executable)
@@ -3419,7 +3419,17 @@ ${runScript} \\
 
     if (doCoreFxTesting) {
         Utilities.addArchival(newJob, "${workspaceRelativeFxRootLinux}/bin/**/testResults.xml")
-        Utilities.addXUnitDotNETResults(newJob, "${workspaceRelativeFxRootLinux}/bin/**/testResults.xml")
+        if ((os == "Ubuntu") && (architecture == 'arm')) {
+            // We have a problem with the xunit plug-in, where it is consistently failing on Ubuntu arm32 test result uploading with this error:
+            //
+            //   [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: /ssd/j/workspace/dotnet_coreclr/master/jitstress/arm_cross_checked_ubuntu_corefx_baseline_tst at hudson.remoting.Channel@3697f46d:JNLP4-connect connection from 131.107.159.149/131.107.159.149:58529: java.io.IOException: Remote call on JNLP4-connect connection from 131.107.159.149/131.107.159.149:58529 failed
+            //
+            // We haven't been able to identify the reason. So, do not add xunit parsing of the test data in this scenario.
+            // This is tracked by: https://github.com/dotnet/coreclr/issues/19447.
+        }
+        else {
+            Utilities.addXUnitDotNETResults(newJob, "${workspaceRelativeFxRootLinux}/bin/**/testResults.xml")
+        }
     }
     else {
         Utilities.addXUnitDotNETResults(newJob, '**/coreclrtests.xml')