Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10592

system tests not running after python3 merge

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: system tests
    • Labels:
      None

      Description

      We are seeing these errors on system tests due to the python3 merge: 

      [ERROR:2020-10-08 21:03:51,341]: Failed to import kafkatest.sanity_checks.test_performance_services, which may indicate a broken test that cannot be loaded: ImportError: No module named server
       [ERROR:2020-10-08 21:03:51,351]: Failed to import kafkatest.benchmarks.core.benchmark_test, which may indicate a broken test that cannot be loaded: ImportError: No module named server
       [ERROR:2020-10-08 21:03:51,501]: Failed to import kafkatest.tests.core.throttling_test, which may indicate a broken test that cannot be loaded: ImportError: No module named server
       [ERROR:2020-10-08 21:03:51,598]: Failed to import kafkatest.tests.client.quota_test, which may indicate a broken test that cannot be loaded: ImportError: No module named server
       

      I ran one of the system tests at the commit prior to the python3 merge (https://github.com/apache/kafka/commit/40a23cc0c2e1efa8632f59b093672221a3c03c36) and it ran fine:

      http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2020-10-09--001.1602255415--rondagostino--rtd_just_before_python3_merge--40a23cc0c/report.html

      I ran the exact same test file at the next commit – the python3 commit at https://github.com/apache/kafka/commit/4e65030e055104a7526e85b563a11890c61d6ddf – and it failed with the import error. The test results show no report.html file because nothing ran: http://testing.confluent.io/confluent-kafka-system-test-results/?prefix=2020-10-09--001.1602251990--apache--trunk--7947c18b5/

      Not sure when this began because I do see these tests running successfully during the development process as documented in https://issues.apache.org/jira/browse/KAFKA-10402 (`tests run: 684` as recently as 9/20 in that ticket). But the PR build (rebased onto latest trunk) showed the above import errors and only 606 tests run. I assume those 4 files mentioned include 78 tests.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nizhikov Nikolay Izhikov
                Reporter:
                rndgstn Ron Dagostino
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: