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

Get the 'tests' task working again #1975

Merged
merged 11 commits into from
Jul 23, 2024
Merged

Get the 'tests' task working again #1975

merged 11 commits into from
Jul 23, 2024

Commits on Jul 11, 2024

  1. Move LoggerFile to teuthology.util

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    bf8d394 View commit details
    Browse the repository at this point in the history
  2. task.tests: Rewrite

    This task has been broken for a very long time. It hasn't passed in years, and
    has additionally been masking test failures including some regressions.
    
    This commit:
    * Fixes masking of failures in setup/teardown methods
    * Actually runs all of our tests
    * Excludes tests that need remote nodes when they are not available
    * Improves logging and reporting
    * Adds support for running in CLI mode
    
    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    500664b View commit details
    Browse the repository at this point in the history
  3. test_ansible: Set ctx.archive to empty string

    Scheduled jobs are failing because they try to write to
    /home/ansible.log.
    
    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    178756d View commit details
    Browse the repository at this point in the history
  4. test_report: Use a tmp_path fixture

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e22d43d View commit details
    Browse the repository at this point in the history
  5. test_fog: fix test conflict with local config

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    45328a8 View commit details
    Browse the repository at this point in the history
  6. Run.report_outcome: Drop fake_ctx

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    cb0815c View commit details
    Browse the repository at this point in the history
  7. run: Use job config's archive dir if specified

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    db5eb72 View commit details
    Browse the repository at this point in the history
  8. misc.deep_merge,merge_configs: Add type hinting

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    91b5322 View commit details
    Browse the repository at this point in the history
  9. misc.deep_merge: Rewrite for readability

    Partially enabled by not passing MappingProxyType to it any longer.
    
    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    4519977 View commit details
    Browse the repository at this point in the history
  10. Task.__init__: ctx param is mandatory

    This reflects reality and also fixes some linter errors.
    
    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b939f3e View commit details
    Browse the repository at this point in the history
  11. test_report: Use module-level tests and fixtures

    Signed-off-by: Zack Cerza <[email protected]>
    zmc committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    be48bef View commit details
    Browse the repository at this point in the history