Artem Ervits created OOZIE-3108:
-----------------------------------

             Summary: 
org.apache.oozie.tools.TestDBLoadDump#testImportInvalidDataLeavesTablesEmpty is 
flaky
                 Key: OOZIE-3108
                 URL: https://issues.apache.org/jira/browse/OOZIE-3108
             Project: Oozie
          Issue Type: Test
          Components: tests
    Affects Versions: 4.3.0
            Reporter: Artem Ervits
            Priority: Normal


{code}
mvn clean -Dtest=org.apache.oozie.tools.TestDBLoadDump test
{code}
passes

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

fails on individual run.

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

{noformat}
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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to