Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-4510

pytest command line args need to be passed to test verifiers for remote tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.8.0
    • None
    • Infrastructure

    Description

      We apparently made a decision to not pass command line args when calling test_verify_metrics.py at the end of each test run.

        # Finally, validate impalad/statestored metrics.
        # Do not include any command-line arguments when invoking verifiers because it
        # can lead to tests being run multiple times should someone pass in a .py file.
        args = build_test_args(log_base_name='verify-metrics', valid_dirs=['verifiers'],
            include_cmdline_args=False)
        args += ' verifiers/test_verify_metrics.py'
        test_executor.run_tests(args)
      

      But we need command line args like --namenode_http_address, --hive_server2, --metastore_server, or --impalad for remote cluster tests. Without them, these verifiers will always fail.

      verifiers.test_verify_metrics.TestValidateMetrics.test_metrics_are_zero
      verifiers.test_verify_metrics.TestValidateMetrics.test_num_unused_buffers

      Attachments

        Issue Links

          Activity

            People

              dknupp David Knupp
              dknupp David Knupp
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: