See <https://builds.apache.org/job/Tajo-master-CODEGEN-build/261/changes>
Changes: [jihun] TAJO-1392: Resolve findbug warnings on Tajo Plan Module ------------------------------------------ [...truncated 459636 lines...] TestBuiltinFunctions.testAvgInt:199->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[total_avg ------------------------------- 1.8]> but was:<[-------------------------------]> TestBuiltinFunctions.testAvgWithNull:231 expected:<[avg_int,avg_long,avg_float,avg_double ------------------------------- 1.5,-222.0,2.0,1.0] > but was:<[ -------------------------------] > TestGroupByQuery.testDistinctAggregationCasebyCase9:410->QueryTestCaseBase.assertResultSet:384->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,cnt1,value2,l_partkey,avg1,cnt2 ------------------------------- 1,1,28.0,1,26.5,2 2,1,39.0,2,38.0,1 3,1,46.0,2,45.0,1 3,1,51.0,3,49.0,1]> but was:<[-------------------------------]> TestGroupByQuery.testGroupbyWithJson:581->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,total,num ------------------------------- 3,2.5,3 2,2.0,1 1,1.0,3]> but was:<[-------------------------------]> TestGroupByQuery.testHavingWithAggFunction:572->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,total,num ------------------------------- 3,2.5,3 2,2.0,1]> but was:<[-------------------------------]> TestGroupByQuery.testHavingWithNamedTarget:563->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,total,num ------------------------------- 1,1.0,3 2,2.0,1 3,2.5,3]> but was:<[-------------------------------]> TestGroupByQuery.testDistinctAggregationCasebyCase11:447 expected:<[id,?count_4,?avg_5,?min_6,?max_7,?sum_8,?cast_9,?cast_10,?cast_11,?cast_12 ------------------------------- 1,2,4.0,3,5,12,4,3,5,12 2,3,2.0,1,3,6,7,6,8,21] > but was:<[ -------------------------------] > TestGroupByQuery.testDistinctAggregationCasebyCase9:410->QueryTestCaseBase.assertResultSet:384->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,cnt1,value2,l_partkey,avg1,cnt2 ------------------------------- 1,1,28.0,1,26.5,2 2,1,39.0,2,38.0,1 3,1,46.0,2,45.0,1 3,1,51.0,3,49.0,1]> but was:<[-------------------------------]> TestGroupByQuery.testGroupbyWithJson:581->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,total,num ------------------------------- 3,2.5,3 2,2.0,1 1,1.0,3]> but was:<[-------------------------------]> TestGroupByQuery.testHavingWithAggFunction:572->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,total,num ------------------------------- 3,2.5,3 2,2.0,1]> but was:<[-------------------------------]> TestGroupByQuery.testHavingWithNamedTarget:563->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,total,num ------------------------------- 1,1.0,3 2,2.0,1 3,2.5,3]> but was:<[-------------------------------]> TestJoinQuery.testLeftOuterJoinWithEmptyTable5:443->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_linenumber,?sum,?max_1,?max_2,?avg_3,?sum_4 ------------------------------- 1,null,null,null,33.333333333333336,100.0 2,null,null,null,42.5,85.0]> but was:<[-------------------------------]> TestJoinQuery.testLeftOuterJoinWithEmptyTable5:443->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_linenumber,?sum,?max_1,?max_2,?avg_3,?sum_4 ------------------------------- 1,null,null,null,33.333333333333336,100.0 2,null,null,null,42.5,85.0]> but was:<[-------------------------------]> TestJoinQuery.testLeftOuterJoinWithEmptyTable5:443->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_linenumber,?sum,?max_1,?max_2,?avg_3,?sum_4 ------------------------------- 1,null,null,null,33.333333333333336,100.0 2,null,null,null,42.5,85.0]> but was:<[-------------------------------]> TestJoinQuery.testLeftOuterJoinWithEmptyTable5:443->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_linenumber,?sum,?max_1,?max_2,?avg_3,?sum_4 ------------------------------- 1,null,null,null,33.333333333333336,100.0 2,null,null,null,42.5,85.0]> but was:<[-------------------------------]> TestWindowQuery.testLead1:377->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[shipmode_lead,linenumber_lead,suppkey_lead,shipdate_lead,commitdate_lead,extendedprice_lead,discount_lead,l_orderkey ------------------------------- TRUCK,1,7706,1996-03-13,1996-02-12 00:00:00,21168.23,0.04,1 null,null,null,null,null,null,null,1 null,null,null,null,null,null,null,2 RAIL,2,6540,1993-11-09,1993-12-20 00:00:00,46796.47,0.1,3 null,null,null,null,null,null,null,3]> but was:<[-------------------------------]> TestWindowQuery.testLag1:328->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[shipmode_lag,linenumber_lag,suppkey_lag,shipdate_lag,commitdate_lag,extendedprice_lag,discount_lag,l_orderkey ------------------------------- null,null,null,null,null,null,null,1 MAIL,2,7311,1996-04-12,1996-02-28 00:00:00,45983.16,0.09,1 null,null,null,null,null,null,null,2 null,null,null,null,null,null,null,3 AIR,1,1798,1994-02-02,1994-01-04 00:00:00,54058.05,0.06,3]> but was:<[-------------------------------]> TestWindowQuery.firstValue1:258->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,shipmode_first,linenumber_first,suppkey_first,shipdate_first,commitdate_first,extendedprice_first,discount_first ------------------------------- 1,MAIL,1,7311,1996-03-13,1996-02-12 00:00:00,21168.23,0.04 1,MAIL,1,7311,1996-03-13,1996-02-12 00:00:00,21168.23,0.04 2,RAIL,1,1191,1997-01-28,1997-01-14 00:00:00,44694.46,0.0 3,AIR,1,1798,1993-11-09,1993-12-20 00:00:00,46796.47,0.06 3,AIR,1,1798,1993-11-09,1993-12-20 00:00:00,46796.47,0.06]> but was:<[-------------------------------]> TestWindowQuery.testLagWithNoArgs:363->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[shipmode_lag,linenumber_lag,suppkey_lag,shipdate_lag,commitdate_lag,extendedprice_lag,discount_lag,l_orderkey ------------------------------- null,null,null,null,null,null,null,1 MAIL,2,7311,1996-04-12,1996-02-28 00:00:00,45983.16,0.09,1 null,null,null,null,null,null,null,2 null,null,null,null,null,null,null,3 AIR,1,1798,1994-02-02,1994-01-04 00:00:00,54058.05,0.06,3]> but was:<[-------------------------------]> TestWindowQuery.testLeadWithNoArgs:412->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[shipmode_lead,linenumber_lead,suppkey_lead,shipdate_lead,commitdate_lead,extendedprice_lead,discount_lead,l_orderkey ------------------------------- TRUCK,1,7706,1996-03-13,1996-02-12 00:00:00,21168.23,0.04,1 null,null,null,null,null,null,null,1 null,null,null,null,null,null,null,2 RAIL,2,6540,1993-11-09,1993-12-20 00:00:00,46796.47,0.1,3 null,null,null,null,null,null,null,3]> but was:<[-------------------------------]> TestWindowQuery.testLeadWithDefault:419->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[shipmode_lead,linenumber_lead,suppkey_lead,shipdate_lead,commitdate_lead,extendedprice_lead,discount_lead,l_orderkey ------------------------------- TRUCK,1,7706,1996-03-13,1996-02-12 00:00:00,21168.23,0.04,1 default,100,1000,2015-01-01,2015-01-01 12:00:00,1.234,0.11,1 default,100,1000,2015-01-01,2015-01-01 12:00:00,1.234,0.11,2 RAIL,2,6540,1993-11-09,1993-12-20 00:00:00,46796.47,0.1,3 default,100,1000,2015-01-01,2015-01-01 12:00:00,1.234,0.11,3]> but was:<[-------------------------------]> TestWindowQuery.testLagWithDefault:370->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[shipmode_lag,linenumber_lag,suppkey_lag,shipdate_lag,commitdate_lag,extendedprice_lag,discount_lag,l_orderkey ------------------------------- default,100,1000,2015-01-01,2015-01-01 12:00:00,1.234,0.11,1 MAIL,2,7311,1996-04-12,1996-02-28 00:00:00,45983.16,0.09,1 default,100,1000,2015-01-01,2015-01-01 12:00:00,1.234,0.11,2 default,100,1000,2015-01-01,2015-01-01 12:00:00,1.234,0.11,3 AIR,1,1798,1994-02-02,1994-01-04 00:00:00,54058.05,0.06,3]> but was:<[-------------------------------]> TestWindowQuery.lastValue1:293->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[l_orderkey,shipmode_last,linenumber_last,suppkey_last,shipdate_last,commitdate_last,extendedprice_last,discount_last ------------------------------- 1,TRUCK,2,7706,1996-04-12,1996-02-28 00:00:00,45983.16,0.09 1,TRUCK,2,7706,1996-04-12,1996-02-28 00:00:00,45983.16,0.09 2,RAIL,1,1191,1997-01-28,1997-01-14 00:00:00,44694.46,0.0 3,RAIL,2,6540,1994-02-02,1994-01-04 00:00:00,54058.05,0.1 3,RAIL,2,6540,1994-02-02,1994-01-04 00:00:00,54058.05,0.1]> but was:<[-------------------------------]> TestCTASQuery.testCtasWithManagedTable:273 null TestJoinBroadcast.testBroadcastSubquery2:405->QueryTestCaseBase.assertResultSet:373->QueryTestCaseBase.assertResultSet:398->QueryTestCaseBase.verifyResultText:514 Result Verification expected:<[?sum ------------------------------- 190.0]> but was:<[-------------------------------]> Tests in error: TestSQLExpression.testCastFromTable:888->ExprTestBase.testEval:203->ExprTestBase.testEval:285 » NoSuchMethod TestSQLExpression.testQuotedIdentifiers:47->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestPredicates.testInPredicateWithConstant:307->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestPredicates.testIsNullPredicateWithFunction:361->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testRegexReplace:140->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testOctetLength:351->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testChr:521->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testMd5:294->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testAscii:505->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testLTrim:75->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testLower:256->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testRTrim:96->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testRight:202->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testUpper:243->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testLeft:173->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testTrim:117->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testCharLength:269->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testBitLength:457->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testReverse:217->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testSplitPart:367->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testFindInSet:593->ExprTestBase.testEval:209->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testLength:281->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testLocate:439->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testRepeat:231->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testStrpos:473->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testSubstr:396->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestStringOperatorsAndFunctions.testStrposb:489->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestDateTimeFunctions.testDatePart:242->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestDateTimeFunctions.testExtract:125->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testRoundWithSpecifiedPrecision:469->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testAbs:344->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testCos:144->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testDiv:257->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testExp:321->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testMod:241->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testPow:409->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testSin:127->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testTan:160->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testAtan2:225->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testFloor:73->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testRound:45->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testAcos:192->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testAsin:176->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testAtan:208->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testCbrt:364->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testCeil:92->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testSign:273->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testSqrt:298->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testCeiling:111->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testRadians:428->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestMathFunctions.testDegrees:387->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestEvalCodeGenerator.testStringConcat:308->ExprTestBase.testEval:196->ExprTestBase.testEval:282 » Compilation TestGroupByQuery.testDistinctAggregationCaseByCase3:497 » Service java.sql.SQL... TestGroupByQuery.testDistinctAggregationCasebyCase11:435 » Service java.sql.SQ... TestCTASQuery.testCtasWithGroupby:149->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service TestCTASQuery.testCtasWithTextFile:231->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service TestCTASQuery.testCtasWithLimit:169->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service TestCTASQuery.testCtasWithUnion:179->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service TestCTASQuery.testCtasWithOptions:245->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service TestCTASQuery.testCtasWithStoreType:217->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service TestCTASQuery.testCtasWithOrderby:159->QueryTestCaseBase.executeQuery:317->QueryTestCaseBase.executeFile:353 » Service Tests run: 1379, Failures: 29, Errors: 61, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Tajo Main ......................................... SUCCESS [ 1.611 s] [INFO] Tajo Project POM .................................. SUCCESS [ 1.190 s] [INFO] Tajo Maven Plugins ................................ SUCCESS [ 2.675 s] [INFO] Tajo Common ....................................... SUCCESS [ 24.151 s] [INFO] Tajo Algebra ...................................... SUCCESS [ 1.616 s] [INFO] Tajo Catalog Common ............................... SUCCESS [ 6.444 s] [INFO] Tajo Plan ......................................... SUCCESS [ 5.698 s] [INFO] Tajo Rpc Common ................................... SUCCESS [ 0.417 s] [INFO] Tajo Protocol Buffer Rpc .......................... SUCCESS [ 20.402 s] [INFO] Tajo Catalog Client ............................... SUCCESS [ 1.047 s] [INFO] Tajo Catalog Server ............................... SUCCESS [ 10.522 s] [INFO] Tajo Storage Common ............................... SUCCESS [ 10.874 s] [INFO] Tajo HDFS Storage ................................. SUCCESS [ 43.187 s] [INFO] Tajo HBase Storage ................................ SUCCESS [ 2.989 s] [INFO] Tajo PullServer ................................... SUCCESS [ 0.896 s] [INFO] Tajo Client ....................................... SUCCESS [ 3.008 s] [INFO] Tajo CLI tools .................................... SUCCESS [ 0.707 s] [INFO] Tajo JDBC Driver .................................. SUCCESS [ 2.793 s] [INFO] ASM (thirdparty) .................................. SUCCESS [ 0.839 s] [INFO] Tajo Core ......................................... FAILURE [15:56 min] [INFO] Tajo RESTful Container ............................ SKIPPED [INFO] Tajo RPC .......................................... SKIPPED [INFO] Tajo Catalog Drivers .............................. SKIPPED [INFO] Tajo Catalog ...................................... SKIPPED [INFO] Tajo Storage ...................................... SKIPPED [INFO] Tajo Distribution ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 18:18 min [INFO] Finished at: 2015-03-20T04:43:07+00:00 [INFO] Final Memory: 98M/1073M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project tajo-core: There are test failures. [ERROR] [ERROR] Please refer to <https://builds.apache.org/job/Tajo-master-CODEGEN-build/ws/tajo-core/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 :tajo-core Build step 'Execute shell' marked build as failure Updating TAJO-1392
