Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Apache Kylin into the openctest framework #29

Open
wants to merge 70 commits into
base: main
Choose a base branch
from

Conversation

ConstaT99
Copy link

@ConstaT99 ConstaT99 commented Dec 6, 2022

OverView

Adding support for Apache Kylin to this project. Total of 45 file changed or added

Details

core/

  • add_project.sh
    • Add a function called setup_kylin() this function will clone Kylin repo from a forked link by our group, checkout to banch ctest-injection and build the project
  • ctest_const.sh
    • Add some default value and path.

core/default_configs

  • adding four default configuration parameter file.

core/generate_ctest

  • ctest_mapping
    • result generate by this directory
  • inject.py
    • adding KCOMMON, KSTORAGE, KCUBE, KTOOL into file which make project able to inject parameter into Apache Kylin.
  • main.py
    • change mapping[param] to associated_tests, it's a bug.
  • run_test.py
    • change testing_dir ito make sure ctest can find the right surefire path in kylin
  • run_test_utils.py
    • change mvn command for kylin during test.
  • program_input.py
    • change program input setting.
  • sample_kylin-*.tsv
    • contain the selected parameter and its value by us.

core/generate_value

  • config.py
    • add new data type to increase coverage of value generation
  • gutil.py
    • add new data type metadataurl, ratio and env to increase coverage of value generation
  • kylin-common-generated-values.tsv
    • output of file value_generation.py
  • value_generation.py
    • adding the code to support project Apache Kylin. and its special data type.

core/identify_param

  • add_project.sh
  • Add a function called setup_kylin() this function will clone Kylin repo from a forked link by our group, checkout to banch ctest-logging and build the project
  • constant.py
    • adding constant value for kylin.
  • identify_param.sh
    • adding code to support kylin-common
  • runner.py
    • add skip trace for kylin module
    • adding the command to run test under core-common module
    • improve the commond ouput method @line 176
  • result/kylin-common
    • Output of identify_param.sh

core/run_ctest

  • inject.py
    • add KCOMMON into list so it will support for kylin core-common module
  • program_input.py
    • change program input setting.
  • run_test.py
    • change testing_dir ito make sure ctest can find the right surefire path in kylin
  • run_test_utils.py
    • change mvn command for kylin during test.

patch

  • contain the patch for inejction and logging of kylin.

Other

While using the surefire on Kylin. We found a bug in Kylin's pom.xml file. It contain a undefined variable which will casue project unable to run surefire:test and we fixed it.

@ConstaT99 ConstaT99 changed the title add support for Kylin Adding Apache Kylin into the openctest framework Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants