Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5986

DropTableWithViewsIT.testDropTableWithChildViews is flapping again

    XMLWordPrintableJSON

Details

    Description

      DropTableWithViewsIT.testDropTableWithChildViews is flapping again. I see PHOENIX-5074 fixed this test so that the task is run immediately, but somehow this test is still intermittently failing.

      This has caused recent preCommit failures for PHOENIX-5981 (build 4010) and
      PHOENIX-5984 (build 4011).

      When I run this test locally, it passes sometimes and fails sometimes. This is the relevant stack trace:

      java.lang.AssertionError
      	at org.junit.Assert.fail(Assert.java:87)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.junit.Assert.assertFalse(Assert.java:65)
      	at org.junit.Assert.assertFalse(Assert.java:75)
      	at org.apache.phoenix.end2end.DropTableWithViewsIT.testDropTableWithChildViews(DropTableWithViewsIT.java:158)
      

      Failure is observed in this assertion. I also see that the test sometimes fails because it expects task status to be COMPLETED, but sees status to be STARTED instead.

      Attachments

        1. build-4022-full-console-log.txt
          265 kB
          Chinmay Kulkarni
        2. build-4023-full-console-log.txt
          265 kB
          Chinmay Kulkarni
        3. PHOENIX-5986.4.x.001.patch
          7 kB
          Gokcen Iskender
        4. PHOENIX-5986.4.x.002.patch
          7 kB
          Gokcen Iskender
        5. PHOENIX-5986.4.x.003.patch
          9 kB
          Gokcen Iskender
        6. PHOENIX-5986.4.x.004.patch
          11 kB
          Gokcen Iskender
        7. PHOENIX-5986.master.001.patch
          7 kB
          Gokcen Iskender
        8. PHOENIX-5986.master.002.patch
          7 kB
          Gokcen Iskender
        9. PHOENIX-5986.master.003.patch
          7 kB
          Gokcen Iskender
        10. PHOENIX-5986.master.004.patch
          7 kB
          Gokcen Iskender
        11. PHOENIX-5986.master.005.patch
          8 kB
          Gokcen Iskender

        Activity

          People

            giskender Gokcen Iskender
            ckulkarni Chinmay Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            5 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 - 1.5h
                1.5h