Disable failing Ubuntu x86 jobs
authorBruce Forstall <brucefo@microsoft.com>
Wed, 18 Jul 2018 23:33:54 +0000 (16:33 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Wed, 18 Jul 2018 23:33:54 +0000 (16:33 -0700)
Also add a minimal fix that fixes a current problem, but isn't
expected to help fix the entire issue.

Failures tracked by https://github.com/dotnet/coreclr/issues/19003.

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

src/coreclr/netci.groovy

index a66b0eb..5ec6b4c 100755 (executable)
@@ -1235,6 +1235,12 @@ def static addNonPRTriggers(def job, def branch, def isPR, def architecture, def
          return
     }
 
+    // Ubuntu x86 CI jobs are failing. Disable non-PR triggered jobs to avoid these constant failures
+    // until this is fixed. Tracked by https://github.com/dotnet/coreclr/issues/19003.
+    if (architecture == 'x86' && os == 'Ubuntu') {
+        return
+    }
+
     // Check scenario.
     switch (scenario) {
         case 'innerloop':
@@ -3427,6 +3433,7 @@ def static CreateOtherTestJob(def dslFactory, def project, def branch, def archi
                     }
                 }
 
+                shell("mkdir ./bin/CoreFxBinDir")
                 shell("tar -xf ./bin/CoreFxNative/bin/build.tar.gz -C ./bin/CoreFxBinDir")
             }