Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-3111 [Umbrella] Fix flaky tests in Oozie
  3. OOZIE-3108

org.apache.oozie.tools.TestDBLoadDump#testImportInvalidDataLeavesTablesEmpty is flaky

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 4.3.0
    • None
    • tests
    • None

    Description

      mvn clean -Dtest=org.apache.oozie.tools.TestDBLoadDump test
      

      passes

      mvn clean -Dtest=org.apache.oozie.tools.TestDBLoadDump#testImportInvalidDataLeavesTablesEmpty test
      

      fails on individual run.

      
      

      mvn clean -Dtest=org.apache.oozie.tools.TestDBLoadDump#testImportInvalidDataLeavesTablesEmpty test

      Running org.apache.oozie.tools.TestDBLoadDump
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 22.625 sec <<< FAILURE!
      
      Results :
      
      Failed tests:   testImportInvalidDataLeavesTablesEmpty(org.apache.oozie.tools.TestDBLoadDump): import should have been ended prematurely
      
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0
      
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Apache Oozie Main .................................. SUCCESS [  0.604 s]
      [INFO] Apache Oozie Client ................................ SUCCESS [  2.634 s]
      [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [  3.449 s]
      [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [  1.468 s]
      [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [  0.550 s]
      [INFO] Apache Oozie Core .................................. SUCCESS [ 15.741 s]
      [INFO] Apache Oozie Share Lib Streaming ................... SUCCESS [  3.544 s]
      [INFO] Apache Oozie Share Lib Pig ......................... SUCCESS [  2.476 s]
      [INFO] Apache Oozie Share Lib Hive ........................ SUCCESS [  2.439 s]
      [INFO] Apache Oozie Share Lib Hive 2 ...................... SUCCESS [  3.954 s]
      [INFO] Apache Oozie Share Lib Sqoop ....................... SUCCESS [  1.552 s]
      [INFO] Apache Oozie Examples .............................. SUCCESS [  2.189 s]
      [INFO] Apache Oozie Share Lib Spark ....................... SUCCESS [  3.243 s]
      [INFO] Apache Oozie Share Lib ............................. SUCCESS [  0.010 s]
      [INFO] Apache Oozie Docs .................................. SUCCESS [  0.248 s]
      [INFO] Apache Oozie WebApp ................................ SUCCESS [  2.731 s]
      [INFO] Apache Oozie Tools ................................. FAILURE [ 26.358 s]
      [INFO] Apache Oozie MiniOozie ............................. SKIPPED
      [INFO] Apache Oozie Server ................................ SKIPPED
      [INFO] Apache Oozie Distro ................................ SKIPPED
      [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 01:13 min
      [INFO] Finished at: 2017-11-01T10:49:22-04:00
      [INFO] Final Memory: 552M/1955M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.2:test (default-test) on project oozie-tools: There are test failures.
      [ERROR]
      [ERROR] Please refer to /Users/aervits/NetBeansProjects/OOZIE/oozie/tools/target/surefire-reports for the individual test results.
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :oozie-tools
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            dbist13 Artem Ervits
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: