Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-10266

Testrunner does not mark tests failed if imports fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 4.0.0
    • 3.0
    • test-execution
    • Security Level: Public
    • None
    • Untriaged

    Description

      The testrunner test run [1] was marked as success although the tests weren't actually run. It failed with

      Traceback (most recent call last):
      File "./testrunner", line 326, in <module>
      suite = unittest.TestLoader().loadTestsFromName(before_suite_name)
      File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
      module = _import_('.'.join(parts_copy))
      ImportError: Import by filename is not supported.

      Probably due to not finding the configuration file (it was moved into another directory). This should make the build fail, not pass.

      [1] http://factory.couchbase.com/job/couchdb-gerrit-views-upr/52/consoleFull

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ketaki Ketaki Gangal (Inactive)
            vmx Volker Mische
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty