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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 3.9
    • Tests
    • None

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: