Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom configuration schema, and fault injection testing (#398)
* Merge acto-dev commits Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Upload scripts Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix diff ignore field Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * add config for redis * fix bugs in acto * Patch Cass operator's CRD Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Delete jvm related config from cass-operator for now Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Ported elasticsearch operator cloud-on-k8s * upload the config generation scripts. * update the script for config values * Change dir name because python module cannot have dot in name Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Support UnderSpecified schema for configuration testing Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix import issue Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix partial func name Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix get value by path Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix set value by path callsite Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix null value in toml Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Add cass config test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Add cass config test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Add mongodb config test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix mongodb config schema Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix cass-operator config crd Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix string schema for loading unknown properties Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * updated ES operator config * Workaround the cass-operator's config CRD Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix import path Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix merge error Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix cassandra config schema Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix tidb config mapping Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix tidb config mapping Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix boolean schema for configuration tests Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix mongodb config name Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * added steady state fault injection impl * updated elastic search acto config * added steady state fault injection * Add mariadb config test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Complete MongoDB configuration Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix configparser for MariaDB Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Retrieve all pod log when it is unhealthy Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Retry wait for pod to be ready Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix Cassandra configuration Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix result is_error check for deletion tests Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix deletion test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Revert tidb config change Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Separate config test and func test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix config name Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix mariadb config Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Put operator port into versioned dir Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix mariadb ini file parsing Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix mongodb configuration Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix configparser value set Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix post diff test and run health oracle for rejected inputs Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Update scripts Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix mariadb config Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Raise exception if precondition is not satisfied Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix cr path bug in deletion tests Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Use updated health oracle to check convergence Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Format Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix collecting steady_system_state Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Enlarge tidb operator wait time Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Correct Cassandra configuration schema Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Use semantic replicas tests for cass operator and mongodb operator Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Cleanup fault injection code Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix Cassandra configuration Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix: skip oracle if cli indicates invalid input Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * update bad values for configuration test * Support custom oracle Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * add custom oracle for mongodb * fix bugs in mongodb oracle * add tidb oracle * remove tidb commented codes * update tidb oracle * add oracle for mariadb and fixes some bugs in acto * update maraidb oracel and fixes bugs in mongodb oracle * fix bugs in oracle in mongodb * fix bugs in acto * fix mongodb oracle * fix mariadb oracle * fix bugs in mariadb oracle * fix mongodb config * make acto compatible with oracle * fix bugs in acto * fix cass-operator oracle * add missing properties for objects in cass-config * run cass-op with custom oracle * add logs to tidb oracle * fix bugs in tidb oracle * Update the run scripts Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Delete unused scripts Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix failed unittests Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> * Fix cass test Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> --------- Signed-off-by: Tyler Gu <jiaweig3@illinois.edu> Co-authored-by: TZ-zzz <tangzhen1027@gmail.com> Co-authored-by: yimingsu <yimingsu@node0.fault-injection.sieve-acto-pg0.wisc.cloudlab.us>
- Loading branch information