[ https://issues.apache.org/jira/browse/KAFKA-10592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211135#comment-17211135 ]
Ron Dagostino commented on KAFKA-10592: --------------------------------------- One additional piece of information that may be important: I am able to get a test file to run successfully on my laptop using Docker: {{$ DUCKTAPE_OPTIONS="--debug" TC_PATHS="tests/kafkatest/sanity_checks/test_performance_services.py" bash tests/docker/run_tests.sh ... ... ================================================================================ SESSION REPORT (ALL TESTS) ducktape version: 0.8.0 session_id: 2020-10-09--003 run time: 4 minutes 59.733 seconds tests run: 5 passed: 5 failed: 0 ignored: 0 ================================================================================}} > system tests not running after python3 merge > -------------------------------------------- > > Key: KAFKA-10592 > URL: https://issues.apache.org/jira/browse/KAFKA-10592 > Project: Kafka > Issue Type: Task > Components: system tests > Reporter: Ron Dagostino > Assignee: Nikolay Izhikov > Priority: Major > > 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. -- This message was sent by Atlassian Jira (v8.3.4#803005)