aboutsummaryrefslogtreecommitdiff
path: root/doc/schema/1.0/test_suite_post.json
blob: 2c2a9920f8d42e82e4ecccf65aa2e42503a2fe34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
    "$schema": "http://api.kernelci.org/json-schema/1.0/test_suite_post.json",
    "id": "http://api.kernelci.org/json-schema/1.0/test_suite_post.json",
    "title": "test_suite",
    "description": "A test suite JSON object",
    "type": "object",
    "properties": {
        "version": {
            "type": "string",
            "description": "The version number of this JSON schema",
            "enum": ["1.0"]
        },
        "name": {
            "type": "string",
            "description": "The name given to this test suite"
        },
        "lab_name": {
            "type": "string",
            "description": "The name of the lab executing this test suite"
        },
        "time": {
            "type": "number",
            "description": "The number of seconds it took to execute the entire test suite",
            "default": -1
        },
        "job": {
            "type": "string",
            "description": "The name of the job (aka the git tree)"
        },
        "kernel": {
            "type": "string",
            "description": "The name of the kernel or the git describe value"
        },
        "defconfig": {
            "type": "string",
            "description": "The name of the defconfig"
        },
        "defconfig_full": {
            "type": "string",
            "description": "The full name of the defconfig, can also contain config fragments information",
            "default": "The defconfig value"
        },
        "arch": {
            "type": "string",
            "description": "The architecture type of this board",
            "enum": ["arm", "arm64", "x86"],
            "default": "arm"
        },
        "board": {
            "type": "string",
            "description": "The name of the board"
        },
        "board_instance": {
            "type": "string",
            "description": "The instance identifier of the board"
        },
        "job_id": {
            "type": "string",
            "description": "The ID of the job that this test suite is being run on"
        },
        "defconfig_id": {
            "type": "string",
            "description": "The ID of the build that this test suite is being run on"
        },
        "boot_id": {
            "type": "string",
            "description": "The ID of the boot test that this test suite is being run on"
        },
        "metadata": {
            "type": "object",
            "description": "Free form object where to store accessory test suite data"
        },
        "test_set": {
            "type": "array",
            "description": "The list of test set objects executed by this test suite",
            "items": {"$ref": "http://api.kernelci.org/json-schema/1.0/test_set_get.json"},
            "additionalItems": true
        },
        "test_case": {
            "type": "array",
            "description": "The list of test case objects executed by this test suite",
            "items": {"$ref": "http://api.kernelci.org/json-schema/1.0/test_case_get.json"},
            "additionalItems": true
        }
    },
    "required": ["version", "name", "lab_name"]
}