Bug 1274350 - Enable EC, FIPS, OCSP, Tools tests on Taskcluster r=me
authorTim Taubert <ttaubert@mozilla.com>
Wed, 25 May 2016 11:44:17 +0200
changeset 12197 b43b020929dfa9aaa33ba5a726d84ee77719636c
parent 12196 7c2e64a271fb10f812d966a4f5edfc474ff7b9ee
child 12198 91b61fcbd65669a48bd0383a42bae0570ebbe93c
push id1248
push userttaubert@mozilla.com
push dateWed, 25 May 2016 09:45:52 +0000
reviewersme
bugs1274350
Bug 1274350 - Enable EC, FIPS, OCSP, Tools tests on Taskcluster r=me
automation/taskcluster/graph/build.js
automation/taskcluster/graph/graph.yml
--- a/automation/taskcluster/graph/build.js
+++ b/automation/taskcluster/graph/build.js
@@ -20,16 +20,17 @@ function from_now(hours) {
   d.setHours(d.getHours() + (hours || 0));
   return d.toJSON();
 }
 
 // TODO
 function build_task(id, def) {
   var task, retvals = [{
     taskId: taskid(id),
+    reruns: 3,
     task: task = {
       scopes: [
         "queue:route:tc-treeherder-stage.nss." + process.env.TC_REVISION,
         "queue:route:tc-treeherder.nss." + process.env.TC_REVISION,
         "scheduler:extend-task-graph:*"
       ],
 
       routes: [
--- a/automation/taskcluster/graph/graph.yml
+++ b/automation/taskcluster/graph/graph.yml
@@ -4,34 +4,36 @@ templates:
     description: "Build NSS & NSPR"
     artifact: "dist.tar.bz2"
     command:
       - "/bin/bash"
       - "-c"
       - "bin/checkout.sh && nss/automation/taskcluster/scripts/build.sh"
     env:
       NSS_ENABLE_TLS_1_3: 1
+    treeherder:
+      symbol: B
     subtasks:
 #     - cert
 #     - chains
 #     - cipher
 #     - crmf
 #     - dbtests
-#     - ec
-#     - fips
+      - ec
+      - fips
       - gtests
 #     - libpkix
 #     - lowhash
 #     - merge
-#     - ocsp
+      - ocsp
 #     - pkits
 #     - sdr
 #     - smime
 #     - ssl
-#     - tools
+      - tools
 
   test_runner:
     command:
       - "/bin/bash"
       - "-c"
       - "bin/checkout.sh && nss/automation/taskcluster/scripts/run_tests.sh"
 
   cert:
@@ -70,23 +72,27 @@ templates:
       NSS_TESTS: "dbtests"
 
   ec:
     name: "EC tests"
     description: "Run NSS EC tests"
     extends: test_runner
     env:
       NSS_TESTS: "ec"
+    treeherder:
+      symbol: EC
 
   fips:
     name: "FIPS tests"
     description: "Run NSS FIPS tests"
     extends: test_runner
     env:
       NSS_TESTS: "fips"
+    treeherder:
+      symbol: F
 
   gtests:
     name: "GTests"
     description: "Run NSS GTests"
     extends: test_runner
     env:
       NSS_TESTS: "ssl_gtests gtests"
     treeherder:
@@ -114,16 +120,18 @@ templates:
       NSS_TESTS: "merge"
 
   ocsp:
     name: "ocsp tests"
     description: "Run NSS ocsp tests"
     extends: test_runner
     env:
       NSS_TESTS: "ocsp"
+    treeherder:
+      symbol: O
 
   pkits:
     name: "pkits tests"
     description: "Run NSS pkits tests"
     extends: test_runner
     env:
       NSS_TESTS: "pkits"
 
@@ -180,73 +188,70 @@ templates:
       NSS_CYCLES: "sharedb"
 
   tools:
     name: "tools tests"
     description: "Run NSS tools tests"
     extends: test_runner
     env:
       NSS_TESTS: "tools"
+    treeherder:
+      symbol: T
 
 graph:
   build-32-debug:
     name: "Linux 32 (debug)"
     extends: builder
     treeherder:
-      symbol: B
       build:
         platform: linux32
       collection:
         debug: true
 
   build-32-opt:
     name: "Linux 32 (opt)"
     extends: builder
     env:
       BUILD_OPT: 1
     treeherder:
-      symbol: B
       build:
         platform: linux32
       collection:
         opt: true
 
   build-64-debug:
     name: "Linux 64 (debug)"
     extends: builder
     env:
       USE_64: 1
     treeherder:
-      symbol: B
       build:
         platform: linux64
       collection:
         debug: true
 
   build-64-asan:
     name: "Linux 64 (ASan)"
     extends: builder
     env:
       USE_ASAN: 1
       USE_64: 1
     treeherder:
-      symbol: B
       build:
         platform: linux64
       collection:
         asan: true
 
   build-64-opt:
     name: "Linux 64 (opt)"
     extends: builder
     env:
       BUILD_OPT: 1
       USE_64: 1
     treeherder:
-      symbol: B
       build:
         platform: linux64
       collection:
         opt: true
 
 # build-32-debug-asan-gcc6:
 #   name: "Linux 32 (gcc6, debug, ASan)"
 #   extends: builder
@@ -287,10 +292,8 @@ graph:
     command:
       - "/bin/bash"
       - "-c"
       - "bin/checkout.sh && nss/automation/taskcluster/scripts/run_clang_format.sh nss/lib/ssl"
     treeherder:
       symbol: cf
       build:
         platform: clang-format
-      machine:
-        platform: clang-format