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

Avoid running timezoneUtils #detectUserTimezone tests to unblock nightly build test run

    XMLWordPrintableJSON

Details

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

    Description

      $mvn -Dmaven.test.failure.ignore=true clean test  22529 passing (39s)
        48 pending
        5 failing  1) Ambari Web Unit tests test/utils/date/timezone_test timezoneUtils #detectUserTimezone Detect UTC+1:
           expected '' to include '0-60|Africa'
          2) Ambari Web Unit tests test/utils/date/timezone_test timezoneUtils #detectUserTimezone Detect UTC+1 for Europe:
           expected '' to include '0-60|Europe'
          3) Ambari Web Unit tests test/utils/date/timezone_test timezoneUtils #detectUserTimezone Detect UTC-4:
           expected '' to include '300240|America'
          4) Ambari Web Unit tests test/utils/date/timezone_test timezoneUtils #detectUserTimezone Detect UTC+3 for Asia:
           expected '' to include '-120-180|Asia'
          5) Ambari Web Unit tests test/utils/date/timezone_test timezoneUtils #detectUserTimezone Detect UTC-7:
           expected '' to include '480420|America'
        JQMIGRATE: jQuery.support.boxModel is deprecatedJQMIGRATE: jQuery.event.handle is undocumented and deprecatednpm ERR! Test failed.  See above for more details.
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO] 
      [INFO] Ambari Main 3.0.0.0-SNAPSHOT ....................... SUCCESS [  2.837 s]
      [INFO] Apache Ambari Project POM 3.0.0.0-SNAPSHOT ......... SUCCESS [  0.103 s]
      [INFO] Ambari Web 3.0.0.0-SNAPSHOT ........................ FAILURE [02:04 min]
      [INFO] Ambari Views 3.0.0.0-SNAPSHOT ...................... SKIPPED
      [INFO] Ambari Admin View 3.0.0.0-SNAPSHOT ................. SKIPPED
      [INFO] ambari-utility 3.0.0.0-SNAPSHOT .................... SKIPPED
      [INFO] Ambari Server SPI 3.0.0.0-SNAPSHOT ................. SKIPPED
      [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SKIPPED
      [INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... SKIPPED
      [INFO] Ambari Functional Tests 3.0.0.0-SNAPSHOT ........... SKIPPED
      [INFO] Ambari Agent 3.0.0.0-SNAPSHOT ...................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  02:10 min
      [INFO] Finished at: 2022-08-16T01:28:49Z
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (ambari-web unit tests) on project ambari-web: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
       

      ambari-web detectUserTimezone have long been unstable. We should ignore them to unblock rest of the precommit build steps.

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              vjasani Viraj Jasani
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m