2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "title": "TestrunResult",
4 "description": "The collection of all results",
7 "__type__": { "type": "string" },
8 "name": { "type": "string" },
9 "results_version": { "type": "number" },
10 "time_elapsed": { "$ref": "#/definitions/timeAttribute" },
13 "description": "Relevant information about the system running tests.",
14 "additionalProperties": {
16 "additionalProperties": { "type": "string" }
20 "description": "The options that were invoked with this run. These are implementation specific and not required.",
25 "items": { "type": "string" },
30 "items": { "type": "string" }
34 "items": { "type": "string" }
36 "sync": { "type": "boolean" },
37 "valgrind": { "type": "boolean" },
38 "monitored": { "type": "boolean" },
39 "dmesg": { "type": "boolean" },
40 "execute": { "type": "boolean" },
41 "concurrent": { "enum": ["none", "all", "some"] },
42 "platform": { "type": "string" },
43 "log_level": { "type": "string" },
45 "description": "Environment variables that must be specified",
47 "additionalProperties": { "type": "string" }
51 "items": { "type": "string" }
57 "description": "A calculation of the group totals.",
58 "additionalProperties": {
61 "crash": { "type": "number" },
62 "dmesg-fail": { "type": "number" },
63 "dmesg-warn": { "type": "number" },
64 "fail": { "type": "number" },
65 "incomplete": { "type": "number" },
66 "notrun": { "type": "number" },
67 "pass": { "type": "number" },
68 "skip": { "type": "number" },
69 "timeout": { "type": "number" },
70 "warn": { "type": "number" }
72 "additionalProperties": false,
73 "required": [ "crash", "dmesg-fail", "dmesg-warn", "fail", "incomplete", "notrun", "pass", "skip", "timeout", "warn" ]
78 "additionalProperties": {
81 "__type__": { "type": "string" },
82 "err": { "type": "string" },
83 "exception": { "type": ["string", "null"] },
86 "enum": [ "pass", "fail", "crash", "warn", "incomplete", "notrun", "skip", "dmesg-warn", "dmesg-fail" ]
88 "environment": { "type": "string" },
89 "command": { "type": "string" },
90 "traceback": { "type": ["string", "null"] },
91 "out": { "type": "string" },
92 "dmesg": { "type": "string" },
94 "type": ["array", "null"],
98 "image_desc": { "type": "string" },
99 "image_ref": { "type": "string" },
100 "image_render": { "type": "string" }
106 "items": { "type": "number" }
108 "returncode": { "type": [ "number", "null" ] },
109 "time": { "$ref": "#/definitions/timeAttribute" },
112 "properties": { "__type__": { "type": "string" } },
113 "additionalProperties": { "type": "string" },
114 "required": [ "__type__" ]
117 "additionalProperties": false
121 "additionalProperties": false,
122 "required": [ "__type__", "name", "results_version", "time_elapsed", "tests", "info" ],
126 "description": "An element containing a start and end time",
128 "__type__": { "type": "string" },
129 "start": { "type": "number" },
130 "end": { "type": "number" }
132 "additionalProperties": false,
133 "required": [ "__type__", "start", "end" ]