Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1774

Evergreen XML unit test reporting fails with "no test results found"

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.9
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      None

      From the output it looks like the tests are indeed running with the xml reporting library but when we attempt to upload the XML result files (src/xunit-results/TEST-*.xml) evergreen complains that no files are found:

       [2019/03/12 18:12:46.365] + /opt/python/2.7/bin/python setup.py test --xunit-output=xunit-results
       [2019/03/12 18:12:46.365] Running tests...
       [2019/03/12 18:12:46.365] ----------------------------------------------------------------------
       [2019/03/12 18:12:46.386]   test_uri_options (test_auth.TestAuthURIOptions) ... SKIP (0.021s)
      ...
      [2019/03/12 18:51:40.945] Running command 'attach.xunit_results' in "upload test results" (step 3.2 of 5)
      [2019/03/12 18:51:40.945] Command failed: no test results found
      

      https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_rhel62_test_ssl__auth~noauth_ssl~nossl_python_version~2.7_coverage~coverage_test_2.6_replica_set_59c3a22115bcbfdb71f5b84c1e82d888674a3948_19_03_13_00_57_58

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: