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
68 lines
3.0 KiB
JSON
68 lines
3.0 KiB
JSON
{
|
|
"required_tables": [
|
|
{
|
|
"commit": "Validation rules for scratch memory allocations",
|
|
"min_rows": 1,
|
|
"name": "scratch_memory",
|
|
"required_columns": [
|
|
"id",
|
|
"guid",
|
|
"category",
|
|
"operation",
|
|
"agent_name",
|
|
"size",
|
|
"start",
|
|
"end"
|
|
],
|
|
"validation_queries": [
|
|
{
|
|
"comparison": "equals",
|
|
"description": "Check that all scratch memory allocations have non-NULL IDs",
|
|
"error_message": "NULL entries found in the id column of scratch_memory for scratch memory",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM scratch_memory WHERE category = 'rocm_scratch_memory' AND id IS NULL;"
|
|
},
|
|
{
|
|
"comparison": "equals",
|
|
"description": "Check that all scratch memory allocations have valid sizes (non-NULL and > 0)",
|
|
"error_message": "Found scratch memory allocations where size is NULL or 0",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM scratch_memory WHERE operation = 'ALLOC' AND (size IS NULL OR size = 0);"
|
|
},
|
|
{
|
|
"comparison": "equals",
|
|
"description": "Check that all scratch memory allocations have valid start and end times",
|
|
"error_message": "Found scratch memory allocations where start or end is NULL",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM scratch_memory WHERE start IS NULL OR end IS NULL OR start = 0 OR end = 0;"
|
|
},
|
|
{
|
|
"comparison": "equals",
|
|
"description": "Check that all scratch memory allocations have start timestamp strictly less than end timestamp",
|
|
"error_message": "Found scratch memory allocations where start is greater than or equal to end",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM scratch_memory WHERE start >= end;"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"commit": "Validation rules for scratch memory string entries",
|
|
"name": "rocpd_string",
|
|
"required_columns": [
|
|
"id",
|
|
"guid",
|
|
"string"
|
|
],
|
|
"validation_queries": [
|
|
{
|
|
"comparison": "greater_than",
|
|
"description": "Verify that 'rocm_scratch_memory' string is present in the table",
|
|
"error_message": "'rocm_scratch_memory' string not found in the table rocpd_string",
|
|
"expected_result": 0,
|
|
"query": "SELECT COUNT(*) FROM rocpd_string WHERE string LIKE '%rocm_scratch_memory%';"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|