hit-lacus commented on pull request #1438:
URL: https://github.com/apache/kylin/pull/1438#issuecomment-706512995
Hello @ggKe , I have checked your patch, your patch look good to me. But
there are some UT failure, could you please help to fix them?
Following is part of log:
```sh
[[1;34mINFO[m] [1;32mTests run: [0;1;32m1[m, Failures: 0, Errors: 0,
Skipped: 0, Time elapsed: 0.242 s - in
org.apache.kylin.stream.core.storage.[1mRecordsSerDeTest[m
[[1;34mINFO[m] Running
org.apache.kylin.stream.core.storage.[1mCheckPointStoreTest[m
client:0 round266 scan finished
client:1 round269 scan finished
CheckPoint{sourceConsumePosition='{"1":30000,"2":40000,"3":50000}',
persistedIndexes={1602241200000=1, 1602241199999=2, 1602241199998=3},
longLatencyInfo=LongLatencyInfo{longLatencyEventCnts={},
totalLongLatencyEventCnt=0},
segmentSourceStartPosition={1602241200000={"1":10000,"2":20000,"3":30000}},
checkPointTime=1602242847871, totalCount=1000000, checkPointCount=50000}
going to delete checkpoint file CP-1602201600000
going to delete checkpoint file CP-1602288000000
going to delete checkpoint file CP-1602374400000
going to delete checkpoint file CP-1602460800000
going to delete checkpoint file CP-1602547200000
CheckPoint{sourceConsumePosition='{"1":10000,"2":20000,"3":30000}',
persistedIndexes={1602241200000=1, 1602241199999=2, 1602241199998=3},
longLatencyInfo=LongLatencyInfo{longLatencyEventCnts={},
totalLongLatencyEventCnt=0},
segmentSourceStartPosition={1602241200000={"1":10000,"2":20000,"3":30000}},
checkPointTime=1603020447894, totalCount=1000000, checkPointCount=50000}
[[1;34mINFO[m] [1;32mTests run: [0;1;32m3[m, Failures: 0, Errors: 0,
Skipped: 0, Time elapsed: 0.028 s - in
org.apache.kylin.stream.core.storage.[1mCheckPointStoreTest[m
[[1;34mINFO[m]
[[1;34mINFO[m] Results:
[[1;34mINFO[m]
[[1;31mERROR[m] [1;31mFailures: [m
[[1;31mERROR[m] [1;31m
StreamingSegmentManagerTest.testAddEventAndScan:120 expected:<80000> but
was:<30007>[m
[[1;31mERROR[m] [1;31m StreamingSegmentManagerTest.testIndexFilter:182
expected:<153298[080]0000> but was:<153298[104]0000>[m
[[1;34mINFO[m]
[[1;31mERROR[m] [1;31mTests run: 29, Failures: 2, Errors: 0, Skipped: 0[m
[[1;34mINFO[m]
[[1;34mINFO[m]
[[1;34mINFO[m]
[1m------------------------------------------------------------------------[m
[[1;34mINFO[m] [1mSkipping Apache Kylin[m
[[1;34mINFO[m] This project has been banned from the build due to previous
failures.
[[1;34mINFO[m]
[1m------------------------------------------------------------------------[m
[[1;34mINFO[m]
[1m------------------------------------------------------------------------[m
[[1;34mINFO[m] [1mReactor Summary:[m
[[1;34mINFO[m]
[[1;34mINFO[m] Apache Kylin 3.1.1-SNAPSHOT ........................
[1;32mSUCCESS[m [ 3.516 s]
[[1;34mINFO[m] Apache Kylin - kylin External ......................
[1;32mSUCCESS[m [ 9.946 s]
[[1;34mINFO[m] Apache Kylin - Core Common .........................
[1;32mSUCCESS[m [ 22.354 s]
[[1;34mINFO[m] Apache Kylin - Core Metadata .......................
[1;32mSUCCESS[m [ 48.745 s]
[[1;34mINFO[m] Apache Kylin - Core Dictionary .....................
[1;32mSUCCESS[m [03:16 min]
[[1;34mINFO[m] Apache Kylin - Core Cube ...........................
[1;32mSUCCESS[m [02:19 min]
[[1;34mINFO[m] Apache Kylin - Core Metrics ........................
[1;32mSUCCESS[m [ 5.364 s]
[[1;34mINFO[m] Apache Kylin - Core Job ............................
[1;32mSUCCESS[m [01:08 min]
[[1;34mINFO[m] Apache Kylin - Core Storage ........................
[1;32mSUCCESS[m [ 9.280 s]
[[1;34mINFO[m] Apache Kylin - Stream Core .........................
[1;31mFAILURE[m [01:02 min]
[[1;34mINFO[m] Apache Kylin - MapReduce Engine ....................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Spark Engine ........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Flink Engine ........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Hive Source .........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - DataSource SDK ......................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Jdbc Source .........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Kafka Source ........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Cache ...............................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - HBase Storage .......................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Query ...............................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Metrics Reporter Hive ...............
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Metrics Reporter Kafka ..............
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Stream Source Kafka .................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Stream Coordinator ..................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Stream Receiver .....................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Stream Storage ......................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - REST Server Base ....................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Tool ................................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Cube Migration Service ..............
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - REST Server .........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - JDBC Driver .........................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Assembly ............................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Tool Assembly .......................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Integration Test ....................
[1;33mSKIPPED[m
[[1;34mINFO[m] Apache Kylin - Tomcat Extension 3.1.1-SNAPSHOT .....
[1;33mSKIPPED[m
[[1;34mINFO[m]
[1m------------------------------------------------------------------------[m
[[1;34mINFO[m] [1;31mBUILD FAILURE[m
[[1;34mINFO[m]
[1m------------------------------------------------------------------------[m
[[1;34mINFO[m] Total time: 09:28 min
[[1;34mINFO[m] Finished at: 2020-10-09T11:27:28Z
[[1;34mINFO[m]
[1m------------------------------------------------------------------------[m
[[1;31mERROR[m] Failed to execute goal
[32morg.apache.maven.plugins:maven-surefire-plugin:2.21.0:test[m
[1m(default-test)[m on project [36mkylin-stream-core[m: [1;31mThere are
test failures.[m
[[1;31mERROR[m] [1;31m[m
[[1;31mERROR[m] [1;31mPlease refer to
/home/travis/build/apache/kylin/stream-core/../target/surefire-reports for the
individual test results.[m
[[1;31mERROR[m] [1;31mPlease refer to dump files (if any exist)
[date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.[m
[[1;31mERROR[m] -> [1m[Help 1][m
[1;31morg.apache.maven.lifecycle.LifecycleExecutionException[m:
[1;31mFailed to execute goal
[32morg.apache.maven.plugins:maven-surefire-plugin:2.21.0:test[m
[1m(default-test)[m on project [36mkylin-stream-core[m: [1;31mThere are
test failures.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]