CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
155 lines
4.3 KiB
JSON
155 lines
4.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Test Results Payload Schema",
|
|
"description": "Schema for validating test results payload submitted to the API",
|
|
"type": "object",
|
|
"required": [
|
|
"test_environment",
|
|
"bm_config",
|
|
"results"
|
|
],
|
|
"properties": {
|
|
"test_environment": {
|
|
"type": "string",
|
|
"description": "The test environment type (e.g., bare_metal, docker, vm)"
|
|
},
|
|
"bm_config": {
|
|
"type": "object",
|
|
"description": "Bare metal/system configuration details",
|
|
"required": [
|
|
"os_name",
|
|
"cpu_model_name",
|
|
"cpu_cores"
|
|
],
|
|
"properties": {
|
|
"os_name": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "Operating system name"
|
|
},
|
|
"cpu_model_name": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "CPU model name"
|
|
},
|
|
"cpu_cores": {
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"description": "Number of CPU cores"
|
|
}
|
|
}
|
|
},
|
|
"build_info": {
|
|
"type": "object",
|
|
"description": "Build information (optional)"
|
|
},
|
|
"deployment_info": {
|
|
"type": "object",
|
|
"description": "Deployment information (optional)"
|
|
},
|
|
"results": {
|
|
"type": "array",
|
|
"description": "Array of test results",
|
|
"items": {
|
|
"type": "object",
|
|
"required": [
|
|
"test_result",
|
|
"test_start_time",
|
|
"test_execution_time",
|
|
"test_log",
|
|
"test_metrics",
|
|
"test_config"
|
|
],
|
|
"properties": {
|
|
"test_result": {
|
|
"type": "string",
|
|
"enum": [
|
|
"PASS",
|
|
"FAIL"
|
|
],
|
|
"description": "Overall test result status"
|
|
},
|
|
"test_start_time": {
|
|
"type": "string",
|
|
"description": "Test start time in ISO format"
|
|
},
|
|
"test_execution_time": {
|
|
"type": "number",
|
|
"description": "Test execution duration in seconds"
|
|
},
|
|
"test_log": {
|
|
"type": "string",
|
|
"description": "Test execution log"
|
|
},
|
|
"test_metrics": {
|
|
"type": "array",
|
|
"description": "Array of test performance metrics",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"metric_name": {
|
|
"type": "string",
|
|
"description": "Metric name"
|
|
},
|
|
"score": {
|
|
"type": "number",
|
|
"description": "Performance score/metric value"
|
|
},
|
|
"unit": {
|
|
"type": "string",
|
|
"description": "Unit of measurement for the score"
|
|
},
|
|
"flag": {
|
|
"type": "string",
|
|
"description": "Flag indicating if higher (H) or lower (L) is better"
|
|
},
|
|
"primary": {
|
|
"type": "boolean",
|
|
"description": "Whether this is the primary metric"
|
|
}
|
|
},
|
|
"required": [
|
|
"score",
|
|
"unit",
|
|
"flag"
|
|
]
|
|
}
|
|
},
|
|
"test_config": {
|
|
"type": "object",
|
|
"description": "Test configuration details",
|
|
"required": [
|
|
"test_name",
|
|
"sub_test_name",
|
|
"python_version",
|
|
"environment_dependencies"
|
|
],
|
|
"properties": {
|
|
"test_name": {
|
|
"type": "string",
|
|
"description": "Test name"
|
|
},
|
|
"sub_test_name": {
|
|
"type": "string",
|
|
"description": "Sub-test name"
|
|
},
|
|
"python_version": {
|
|
"type": "string",
|
|
"description": "Python version used"
|
|
},
|
|
"environment_dependencies": {
|
|
"type": "array",
|
|
"description": "List of environment dependencies",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|