Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-16426

Python UT fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.0
    • None
    • None

    Description

      ----------------------------------------------------------------------
      Failed tests:
      ERROR: Failed to load test files ['test_alert_datanode_unmounted_data_dir', 'test_alert_checkpoint_time', 'test_namenode', 'test_journalnode', 'test_nfsgateway', 'test_snamenode', 'test_hdfs_client', 'test_service_check', 'test_zkfc', 'test_alert_metrics_deviation', 'test_datanode']
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "unitTests.py", line 128, in stack_test_executor
      modules]
      File "/usr/lib/python2.7/unittest/loader.py", line 91, in loadTestsFromName
      module = _import_('.'.join(parts_copy))
      File "/home/user/ambari/ambari-server/src/test/python/stacks/2.0.6/HDFS/test_alert_metrics_deviation.py", line 32, in <module>
      locale.setlocale(locale.LC_ALL, 'en_US')
      File "/usr/lib/python2.7/locale.py", line 579, in setlocale
      return _setlocale(category, locale)
      Error: unsupported locale setting

      ----------------------------------------------------------------------
      Total run:911
      Total errors:1
      Total failures:0

      Attachments

        1. AMBARI-16426.patch
          0.6 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              aonishuk Andrew Onischuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: