Last active
August 25, 2020 07:09
-
-
Save gctucker/79821ceb98313c6d832a8fed5522fbda to your computer and use it in GitHub Desktop.
KernelCI Generic Test API sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"job": "mainline", | |
"git_branch": "master", | |
"git_commit": "d012a7190fc1fd72ed48911e77ca97ba4521bccd", | |
"kernel" : "v5.9-rc2", | |
"build_environment": "gcc-8", | |
"arch": "arm64", | |
"defconfig": "defconfig", | |
"defconfig_full": "defconfig", | |
"lab_name": "gtucker-kci-data", | |
"device_type": "qemu", | |
"name": "v4l2-compliance-vivid", | |
"test_cases": [ | |
{ | |
"name": "device-presence", | |
"status": "PASS" | |
} | |
], | |
"sub_groups": [ | |
{ | |
"name": "Buffer-ioctls-Input-0", | |
"test_cases": [ | |
{ | |
"name": "VIDIOC_EXPBUF", | |
"status": "PASS" | |
}, | |
{ | |
"name": "Requests", | |
"status": "FAIL" | |
} | |
] | |
} | |
], | |
"log": "Fake log\nJust some text\nNo parsing" | |
} |
Command to submit the results (with backend API token stored in config file):
$ ./kci_data submit --data-file=kernelci-generic-api-v4l2.json --db-config=staging.kernelci.org --verbose
{"reason":"Test group 'v4l2-compliance-vivid' created","result":[{"_id":{"$oid":"5f44b88fd6ae1367ab1d3e5d"}}],"code":201}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Results on web frontend: https://staging.kernelci.org/test/plan/id/5f44b88fd6ae1367ab1d3e5d/