Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-677 Test cases which will cause intermittent failures
  3. LENS-556

Intermittent error in testcase TestRemoteHiveDriver # testMultiThreadClient

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: driver-hive
    • Labels:
      None

      Description

      Occurs once in couple of runs of the test case. Very unpredictable.

      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Lens Checkstyle Rules .............................. SUCCESS [ 2.304 s]
      [INFO] Lens ............................................... SUCCESS [ 2.609 s]
      [INFO] Lens API ........................................... SUCCESS [ 17.384 s]
      [INFO] Lens API for server and extensions ................. SUCCESS [ 20.559 s]
      [INFO] Lens Cube .......................................... SUCCESS [02:54 min]
      [INFO] Lens DB storage .................................... SUCCESS [ 19.649 s]
      [INFO] Lens Query Library ................................. SUCCESS [ 16.785 s]
      [INFO] Lens Hive Driver ................................... FAILURE [02:27 min]
      [INFO] Lens Driver for JDBC ............................... SKIPPED
      [INFO] Lens Server ........................................ SKIPPED
      [INFO] Lens client ........................................ SKIPPED
      [INFO] Lens CLI ........................................... SKIPPED
      [INFO] Lens Examples ...................................... SKIPPED
      [INFO] Lens Distribution .................................. SKIPPED
      [INFO] Lens ML Lib ........................................ SKIPPED
      [INFO] Lens ML Ext Distribution ........................... SKIPPED
      [INFO] Lens Regression .................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 06:41 min
      [INFO] Finished at: 2015-05-14T22:04:40+05:30
      [INFO] Final Memory: 70M/306M
      [INFO] ------------------------------------------------------------------------

      Tests run: 31, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 144.585 sec <<< FAILURE! - in TestSuite
      testMultiThreadClient(org.apache.lens.driver.hive.TestRemoteHiveDriver) Time elapsed: 0.472 sec <<< FAILURE!
      java.lang.AssertionError: expected [0] but found [1]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:494)
      at org.testng.Assert.assertEquals(Assert.java:123)
      at org.testng.Assert.assertEquals(Assert.java:370)
      at org.testng.Assert.assertEquals(Assert.java:380)
      at org.apache.lens.driver.hive.TestRemoteHiveDriver.testMultiThreadClient(TestRemoteHiveDriver.java:228)

      Results :

      Failed tests:
      TestRemoteHiveDriver.testMultiThreadClient:228 expected [0] but found [1]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yash360@gmail.com Yash Sharma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: