Uploaded image for project: 'Machine Config Operator'
  1. Machine Config Operator
  2. MCO-1908

Migrate MCO private tests to MCO repository

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • private tests migration
    • Chores
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • To Do
    • OCPSTRAT-2317Author new QE tests and move existing QE tests from private to upstream repos
    • 75% To Do, 0% In Progress, 25% Done
    • 0

      MCO private tests are currently stored in https://github.com/openshift/openshift-tests-private and they need to be migrated to the MCO repository https://github.com/openshift/machine-config-operator

      Motivation and deadline

      In Openshift QE it has been decided that the right place to store those tests is in each team's repository.

      Currently there is no deadline for this migration.

      Execution

      In order to execute this migration we will use the OTE framework.

      This framework has been previously used to migrate some OCL test cases to MCO repo: https://github.com/openshift/machine-config-operator/tree/main/test/extended

      We need to do the same thing that we did with those OCL test cases with all the MCO automated private test cases (205 test cases currently).

      In order to make the migration easier the OCPERT team have created the compat_otp library

      We will use this library to replace the common util library in the private tests. This replacement has already been done in the private repository here

      Execution Steps

      1. Make sure that the compat_otp library is correctly working in the current private tests

      2. Modify the OCL test cases already moved to MCO repo so that they start using the compat_otp library too

      3. Migrate a simple testsuite (mco_password) and analyze the CI results to make sure that everything is working fine

      4. Repeat step 3 with every test suite until the migration is completed

      Additional Info

      Currently the private test cases are created/defined/documented in polarion before they are automated.

      In this migration Openshift QE has also decided to stop using polarion. Every team should investigate new options to document the test cases and investigate tools that could be used.

      We report the progress in this spreadsheet: https://docs.google.com/spreadsheets/d/16jUpKEe-U708Bjk4HthQF8R2BbbgNPvaTh2UKPj0TR8/edit?gid=1169679511#gid=1169679511

      We can find a guide for OTE migration here: https://docs.google.com/document/d/1cFZj9QdzW8hbHc3H0Nce-2xrJMtpDJrwAse9H7hLiWk/edit?tab=t.0

              sregidor@redhat.com Sergio Regidor de la Rosa
              sregidor@redhat.com Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: