[Refactor] refactor planner profile

Fixes #issue
Support more trace command for debug:

Refactor PlannerProfile and OptimizerTraceUtils to a common util
Remove some duplicate implementations
Remove session variables enableOptimizerTraceLog,enableMVOptimizerTraceLog
Limit Group/GroupExpression debug log output, default 3 line

other:

support trace by LOGS,ALL,VALUES,TIMES and different module
dynamic trace query accord to the command, and not affect any performance by default

we can use Tracer or Tracers in anywhere to debug code
examples, trace base times
MySQL td> trace times select * from t1;
+--------------------------------------------------+
| Explain String                                   |
+--------------------------------------------------+
| 0ms|-- Total[1] 2ms                              |
| 0ms|    -- Analyzer[1] 0                         |
| 1ms|    -- Transformer[1] 0                      |
| 1ms|    -- Optimizer[1] 1ms                      |
| 1ms|        -- preprocessMvs[1] 0                |
| 1ms|        -- RuleBaseOptimize[1] 0             |
| 2ms|        -- CostBaseOptimize[1] 0             |
| 2ms|        -- PhysicalRewrite[1] 0              |
| 2ms|        -- PlanValidate[1] 0                 |
| 2ms|            -- InputDependenciesChecker[1] 0 |
| 2ms|            -- TypeChecker[1] 0              |
| 2ms|            -- CTEUniqueChecker[1] 0         |
| 2ms|    -- ExecPlanBuild[1] 0                    |
| Trace Timer Cost: 23us                           |
+--------------------------------------------------+
14 rows in set
Time: 0.011s

trace detail module times
MySQL td> trace times optimizer select * from t1;
+--------------------------------------------------------+
| Explain String                                         |
+--------------------------------------------------------+
| 0ms|-- Total[1] 2ms                                    |
| 0ms|    -- Analyzer[1] 0                               |
| 0ms|    -- Transformer[1] 0                            |
| 1ms|    -- Optimizer[1] 1ms                            |
| 1ms|        -- preprocessMvs[1] 0                      |
| 1ms|        -- RuleBaseOptimize[1] 0                   |
| 1ms|            -- RewriteTreeTask[40] 0               |
| 1ms|                -- MergeTwoProjectRule[1] 0        |
| 1ms|                -- PruneProjectColumnsRule[2] 0    |
.............
| 2ms|        -- CostBaseOptimize[1] 0                   |
| 2ms|            -- OptimizeGroupTask[1] 0              |
| 2ms|            -- OptimizeExpressionTask[1] 0         |
| 2ms|            -- DeriveStatsTask[1] 0                |
| 2ms|            -- ApplyRuleTask[1] 0                  |
| 2ms|                -- OlapScanImplementationRule[1] 0 |
| 2ms|            -- EnforceAndCostTask[1] 0             |
| 2ms|        -- PhysicalRewrite[1] 0                    |
| 2ms|        -- PlanValidate[1] 0                       |
| 2ms|            -- InputDependenciesChecker[1] 0       |
| 2ms|            -- TypeChecker[1] 0                    |
| 2ms|            -- CTEUniqueChecker[1] 0               |
| 2ms|    -- ExecPlanBuild[1] 0                          |
| Trace Timer Cost: 53us                                 |
+--------------------------------------------------------+
29 rows in set
Time: 0.011s
MySQL td> trace times mv select t1.v2, sum(t1.v3) from t1 join t0 on t1.v1 = t0.v1 group by t1.v2
+--------------------------------------------------+
| Explain String                                   |
+--------------------------------------------------+
| 1ms|-- Total[1] 6ms                              |
| 1ms|    -- Analyzer[1] 0                         |
| 2ms|    -- Transformer[1] 0                      |
| 2ms|    -- Optimizer[1] 5ms                      |
| 2ms|        -- preprocessMvs[1] 0                |
| 3ms|        -- RuleBaseOptimize[1] 1ms           |
| 4ms|        -- CostBaseOptimize[1] 3ms           |
| 8ms|        -- PhysicalRewrite[1] 0              |
| 8ms|        -- PlanValidate[1] 0                 |
| 8ms|            -- InputDependenciesChecker[1] 0 |
| 8ms|            -- TypeChecker[1] 0              |
| 8ms|            -- CTEUniqueChecker[1] 0         |
| 8ms|    -- ExecPlanBuild[1] 0                    |
| Trace Timer Cost: 19us                           |
+--------------------------------------------------+
14 rows in set
Time: 0.016s

trace log in command
MySQL td> set trace_log_mode='command'
Query OK, 0 rows affected
Time: 0.002s
MySQL td> trace logs optimizer select * from t1;
+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| Explain String                                                                                |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
| 1ms|    origin logicOperatorTree:                                                                                |
| LogicalProjectOperator {projection=[1: v1, 2: v2, 3: v3]}                                                                                |
| ->  LogicalProjectOperator {projection=[1: v1, 2: v2, 3: v3]}                                                                                |
|     ->  LogicalOlapScanOperator {table=7081712, selectedPartitionId=null, outputColumns=[1: v1, 2: v2, 3: v3], predicate=null, limit=-1}                  |
| 2ms|    [TRACE QUERY 0b5a9870-4701-11ee-9146-2e95bcb5f199] APPLY RULE TF_MERGE_TWO_PROJECT 72                                                             |
| Original Expression:                                                                                |
| LogicalProjectOperator {projection=[1: v1, 2: v2, 3: v3]}                                                                                |
| ->  LogicalProjectOperator {projection=[1: v1, 2: v2, 3: v3]}                                                                                |
|     ->  LogicalOlapScanOperator {table=7081712, selectedPartitionId=null, outputColumns=[1: v1, 2: v2, 3: v3], predicate=null, limit=-1}                  |
| New Expression:                                                                                |
| 0:LogicalProjectOperator {projection=[1: v1, 2: v2, 3: v3]}                                                                                |
| ->  LogicalOlapScanOperator {table=7081712, selectedPartitionId=null, outputColumns=[1: v1, 2: v2, 3: v3], predicate=null, limit=-1}                      |
|  ....................  |
| 3ms|    [TRACE QUERY 0b5a9870-4701-11ee-9146-2e95bcb5f199] APPLY RULE IMP_OLAP_LSCAN_TO_PSCAN 123                                                         |
| Original Expression:                                                                                |
| LogicalOlapScanOperator {table=7081712, selectedPartitionId=[7081711], outputColumns=[1: v1, 2: v2, 3: v3], predicate=null, limit=-1}                     |
| New Expression:                                                                                |
| 0:PhysicalOlapScanOperator {table=7081712, selectedPartitionId=[7081711], outputColumns=[1: v1, 2: v2, 3: v3], projection=null, predicate=null, limit=-1} |
| 4ms|    after extract best plan:                                                                                |
| PhysicalOlapScanOperator {table=7081712, selectedPartitionId=[7081711], outputColumns=[1: v1, 2: v2, 3: v3], projection=null, predicate=null, limit=-1}   |
| 4ms|    final plan after physical rewrite:                                                                                |
| PhysicalOlapScanOperator {table=7081712, selectedPartitionId=[7081711], outputColumns=[1: v1, 2: v2, 3: v3], projection=null, predicate=null, limit=-1}   |
| Trace Timer Cost: 511us                                                                                |
+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
89 rows in set
Time: 0.017s
MySQL td>

or trace logs to fe.log
MySQL td> set trace_log_mode='file'
Query OK, 0 rows affected
Time: 0.002s
MySQL td> trace logs optimizer select * from t1;
+--------------------------+
| Explain String           |
+--------------------------+
| Trace Timer Cost: 1858us |
+--------------------------+
1 row in set
Time: 0.012s

trace different module:
MySQL td> CREATE MATERIALIZED VIEW mv1 as select v2, sum(v3) from t1 group by v2;
Query OK, 0 rows affected
Time: 0.024s
MySQL td> trace logs mv select v2, sum(v3) from t1 group by v2
+------------------------------------------------------------------------------------------------------------------------------------+
| Explain String                                                                                |
+------------------------------------------------------------------------------------------------------------------------------------+
| 3ms|    [MV TRACE] [PREPARE 635622e0-4702-11ee-9146-2e95bcb5f199][GLOBAL] [SYNC=false] There are no related mvs for the query plan |
| 5ms|    [MV TRACE] [PREPARE 635622e0-4702-11ee-9146-2e95bcb5f199][GLOBAL] [SYNC=true] There are no related mvs for the query plan  |
| 8ms|    Query cannot be rewritten, please check the trace logs or `set enable_mv_optimizer_trace_log=on` to find more infos.       |
| Trace Timer Cost: 2073us                                                                                |
+------------------------------------------------------------------------------------------------------------------------------------+
4 rows in set
Time: 0.015s

trace the record values
MySQL td> CREATE MATERIALIZED VIEW mv2 DISTRIBUTED BY HASH(`v2`)
REFRESH ASYNC  as select t1.v2, sum(t1.v3) from t1 join t0 on t1.v1 = t0.v1 group by t1.v2 ;
Query OK, 0 rows affected
Time: 0.042s
MySQL td> trace values mv select t1.v2, sum(t1.v3) from t1 join t0 on t1.v1 = t0.v1 group by t1.v2
+----------------------------+
| Explain String             |
+----------------------------+
|  9ms| mv2: Rewrite Succeed |
| Trace Timer Cost: 24us     |
+----------------------------+
2 rows in set
Time: 0.018s

and in profile
MySQL emr_test.ssb_100g_orc_zlib> select count(1) from lineorder_flat;
+-----------+
| count(1)  |
+-----------+
| 600037902 |
+-----------+
1 row in set
Time: 4.712s

What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 406 / 684 (59.36%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
0
27
00.00%
[27, 30, 35, 40, 41, 48, 50, 52, 54, 56, 58, 60, 66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90, 95]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
28
151
18.54%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 192, 193, 194, 199, 200, 201, 202, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 399, 400, 401, 402, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[121, 127, 140, 155, 163, 170, 177, 197, 204, 211, 227, 228, 261, 273, 275]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 561, 1413, 1415, 1417, 1419]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
82
126
65.08%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 196, 197, 198, 199, 202, 203, 204, 205, 206, 207, 208, 209, 210, 213, 214, 215]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
10
15
66.67%
[49, 50, 69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
10
15
66.67%
[27, 58, 62, 66, 70]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
18
24
75.00%
[34, 38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/common/profile/Var.java
9
11
81.82%
[30, 46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
81
88
92.05%
[85, 140, 141, 142, 180, 181, 182]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[FE Incremental Coverage Report]
:disappointed: fail : 424 / 684 (61.99%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
0
27
00.00%
[27, 30, 35, 40, 41, 48, 50, 52, 54, 56, 58, 60, 66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90, 95]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
28
151
18.54%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 192, 193, 194, 199, 200, 201, 202, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 399, 400, 401, 402, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[121, 127, 140, 155, 163, 170, 177, 197, 204, 211, 227, 228, 261, 273, 275]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 561, 1413, 1415, 1417, 1419]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
15
73.33%
[27, 58, 62, 66]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
18
24
75.00%
[34, 38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
84
88
95.45%
[85, 140, 141, 142]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[FE Incremental Coverage Report]
:disappointed: fail : 424 / 684 (61.99%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
0
27
00.00%
[27, 30, 35, 40, 41, 48, 50, 52, 54, 56, 58, 60, 66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90, 95]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
28
151
18.54%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 192, 193, 194, 199, 200, 201, 202, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 399, 400, 401, 402, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[121, 127, 140, 155, 163, 170, 177, 197, 204, 211, 227, 228, 261, 273, 275]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 561, 1413, 1415, 1417, 1419]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
15
73.33%
[27, 58, 62, 66]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
18
24
75.00%
[34, 38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
84
88
95.45%
[85, 140, 141, 142]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 424 / 684 (61.99%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
0
27
00.00%
[27, 30, 35, 40, 41, 48, 50, 52, 54, 56, 58, 60, 66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90, 95]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
28
151
18.54%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 192, 193, 194, 199, 200, 201, 202, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 399, 400, 401, 402, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[121, 127, 140, 155, 163, 170, 177, 197, 204, 211, 227, 228, 261, 273, 275]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 561, 1413, 1415, 1417, 1419]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
15
73.33%
[27, 58, 62, 66]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
18
24
75.00%
[34, 38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
84
88
95.45%
[85, 140, 141, 142]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 424 / 684 (61.99%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
0
27
00.00%
[27, 30, 35, 40, 41, 48, 50, 52, 54, 56, 58, 60, 66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90, 95]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
28
151
18.54%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 192, 193, 194, 199, 200, 201, 202, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 399, 400, 401, 402, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[186, 192, 205, 220, 228, 235, 242, 262, 269, 276, 292, 293, 326, 338, 340]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 561, 1413, 1415, 1417, 1419]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
15
73.33%
[27, 58, 62, 66]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
18
24
75.00%
[34, 38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
84
88
95.45%
[85, 140, 141, 142]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 449 / 684 (65.64%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[186, 192, 205, 220, 228, 235, 242, 262, 269, 276, 292, 293, 326, 338, 340]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
39
151
25.83%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 565, 1411, 1413, 1415, 1417]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
13
27
48.15%
[66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
15
73.33%
[27, 58, 62, 66]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
19
24
79.17%
[38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
84
88
95.45%
[85, 140, 141, 142]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 449 / 684 (65.64%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[247]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
5
20
25.00%
[186, 192, 205, 220, 228, 235, 242, 262, 269, 276, 292, 293, 326, 338, 340]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
39
151
25.83%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 565, 1411, 1413, 1415, 1417]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
13
27
48.15%
[66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[247, 248, 251]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
15
73.33%
[27, 58, 62, 66]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
19
24
79.17%
[38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
84
88
95.45%
[85, 140, 141, 142]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 463 / 688 (67.30%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/MvRewritePreprocessor.java
0
1
00.00%
[248]

:large_blue_circle:
com/starrocks/sql/optimizer/GroupExpression.java
0
2
00.00%
[318, 322]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/implementation/LimitImplementationRule.java
0
1
00.00%
[41]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/rule/SingleTableMvRewriteRule.java
0
1
00.00%
[65]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/SplitScanORToUnionRule.java
0
1
00.00%
[85]

:large_blue_circle:
com/starrocks/connector/iceberg/IcebergMetadata.java
1
5
20.00%
[267, 268, 269, 270]

:large_blue_circle:
com/starrocks/sql/common/DebugOperatorTracer.java
39
151
25.83%
[96, 97, 98, 104, 119, 120, 121, 122, 128, 129, 130, 131, 132, 133, 138, 139, 140, 141, 147, 148, 149, 150, 156, 161, 162, 163, 164, 170, 171, 172, 173, 208, 213, 214, 215, 216, 217, 218, 219, 224, 225, 230, 231, 236, 237, 242, 247, 257, 262, 263, 269, 274, 279, 284, 296, 297, 298, 299, 318, 334, 335, 336, 337, 343, 344, 345, 346, 347, 348, 353, 354, 355, 356, 362, 367, 368, 369, 370, 376, 377, 378, 379, 385, 390, 391, 392, 393, 408, 413, 418, 419, 424, 425, 430, 431, 437, 438, 439, 440, 442, 443, 444, 446, 447, 452, 457, 462, 467, 479, 484, 489, 494]

:large_blue_circle:
com/starrocks/common/profile/Timer.java
2
7
28.57%
[25, 29, 35, 39, 43]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/InputDependenciesChecker.java
1
3
33.33%
[181, 189]

:large_blue_circle:
com/starrocks/sql/optimizer/Group.java
1
3
33.33%
[378, 381]

:large_blue_circle:
com/starrocks/qe/StmtExecutor.java
5
11
45.45%
[308, 565, 1402, 1404, 1406, 1408]

:large_blue_circle:
com/starrocks/sql/common/DebugRelationTracer.java
13
27
48.15%
[66, 67, 68, 69, 75, 76, 78, 84, 85, 86, 87, 88, 89, 90]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
6
50.00%
[249, 250, 253]

:large_blue_circle:
com/starrocks/common/profile/VarTracer.java
11
22
50.00%
[35, 36, 37, 39, 40, 41, 42, 61, 62, 66, 67]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceInfo.java
1
2
50.00%
[41]

:large_blue_circle:
com/starrocks/common/profile/LogTracer.java
7
11
63.64%
[23, 26, 29, 32]

:large_blue_circle:
com/starrocks/connector/hive/HiveMetaClient.java
14
20
70.00%
[187, 193, 206, 263, 270, 277]

:large_blue_circle:
com/starrocks/common/profile/TracerImpl.java
93
126
73.81%
[79, 80, 81, 82, 114, 115, 117, 118, 166, 167, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 181, 183, 187, 188, 189, 190, 192, 205, 206, 207, 208, 209]

:large_blue_circle:
com/starrocks/common/profile/Tracer.java
11
14
78.57%
[54, 58, 62]

:large_blue_circle:
com/starrocks/sql/optimizer/OptimizerTraceUtil.java
19
24
79.17%
[38, 69, 70, 71, 72]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/MVRewriteValidator.java
12
15
80.00%
[69, 70, 82]

:large_blue_circle:
com/starrocks/common/profile/Var.java
10
11
90.91%
[46]

:large_blue_circle:
com/starrocks/common/profile/Tracers.java
89
93
95.70%
[99, 154, 155, 156]

:large_blue_circle:
com/starrocks/sql/optimizer/Optimizer.java
16
16
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/SqlTaskRunProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/RewriteTreeTask.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/ApplyRuleTask.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/connector/RemoteFileOperations.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/materialization/MaterializedViewRewriter.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/OptExpression.java
8
8
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/validate/PlanValidator.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/TimeWatcher.java
35
35
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/OptExternalPartitionPruner.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/CommandLogTracer.java
11
11
100.00%
[]

:large_blue_circle:
com/starrocks/common/profile/FileLogTracer.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/task/SeriallyTaskScheduler.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/StatementPlanner.java
9
9
100.00%
[]

:large_blue_circle:
com/starrocks/http/HttpConnectProcessor.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/qe/ConnectProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/qe/DefaultCoordinator.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/ReorderJoinRule.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/StatementBase.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/qe/HDFSBackendSelector.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)


Expected to build on raspberry pi raspbian OS?

I'm trying to build from source on raspbian, and it fails thus:
error: failed to run custom build command for `x11 v2.18.2`

Caused by:
  process didn't exit successfully: `/home/andrew/workspace/wired-notify/target/release/build/x11-1ed091c5bd4c181a/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=X11_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=X11_STATIC
  cargo:rerun-if-env-changed=X11_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
  cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

  --- stderr
  thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Failure { command: "PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=\"1\" PKG_CONFIG_ALLOW_SYSTEM_LIBS=\"1\" \"pkg-config\" \"--libs\" \"--cflags\" \"x11\" \"x11 >= <IP_ADDRESS>\"", output: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "Package x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `x11.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'x11' found\nPackage x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `x11.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'x11' found\n" } }', /home/andrew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/x11-2.18.2/build.rs:36:67
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

Seems to be an issue with the x11 crate...
But I am not sure you would even expect it to build?
Additional info
uname -a
Linux rpi400 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

I eventually got it, after installing a bunch more dev packages!


Update outdated dependencies

No breaking changes, everything works as normal.

Im am using this in my project fetching from git until this gets merged or if it ever gets merged im not sure if this is being maintained anymore, so if anyone else stumbles upon this feel free to use my fork.
  amazon_cognito_identity_dart:
    git: git://github.com/jeremiahlukus/amazon-cognito-identity-dart.git


Segmentation fault in libaws-cpp-sdk-core.so on creation of Aws::Client::ClientConfiguration

Describe the bug
Segmentation fault in libaws-cpp-sdk-core.so on creation of Aws::Client::ClientConfiguration.
Stack trace and reproduction steps see below.
Expected Behavior
No segmentation fault
Current Behavior
Crash Trace:
03/05/2022 15:57:58.394 [WARNING]Catch dump signal [11]Segmentation fault
Obtained 10 stack frames:
[0]./VIGILCameraServer(_Z4dumpi+0x28) [0x4e4cb8]
[1]linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7f89faf5e4]
[2]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZN3Aws5Utils9Threading16ReaderWriterLock10LockReaderEv+0) [0x7f897f14a8]
[3]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZNK3Aws6Config32ConfigAndCredentialsCacheManager9GetConfigERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_+0x34) [0x7f898017d4]
[4]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZN3Aws6Config20GetCachedConfigValueERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x58) [0x7f89801958]
[5]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZN3Aws6Client38setLegacyClientConfigurationParametersERNS0_19ClientConfigurationE+0x2a0) [0x7f89801c40]
[6]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZN3Aws6Client19ClientConfigurationC1Ev+0x114) [0x7f89802204]
[7]./VIGILCameraServer(_ZN15CMotionUploaderC1Ev+0x44) [0x59713c]
[8]./VIGILCameraServer(_ZN18CVIGILCameraServer12CreateServerEv+0xb7c) [0x4e3364]
[9]./VIGILCameraServer(_ZN18CVIGILCameraServer10InitializeEv+0x64) [0x4e2134]

Reproduction Steps
---- MotionUploader.h file ---------------------
using namespace std;
class CMotionUploader : public Runable
{
public:
	CMotionUploader();
	~CMotionUploader();

public:
	virtual bool run();

private:
    Aws::SDKOptions m_awsSDKoptions;
    Aws::Client::ClientConfiguration m_cfg;
}

---- MotionUploader.cpp file --------------------
CMotionUploader::CMotionUploader()
{
    Aws::InitAPI(m_awsSDKoptions);
}

main()
{
CMotionUploader*    m_pMotionUploader;
m_pMotionUploader = new CMotionUploader();
}

Possible Solution
No response
Additional Information/Context
This code has been working before running daily for a couple of years. The AWS SDK used was about 2018.
The bug is most likely triggered by a design change inside AWS-SDK.
See also likely similar issue, but not for C++: Segmentation fault at Aws::Utils::Threading::ReaderWriterLock::LockReader () #1716
AWS CPP SDK version used
AWS-SDK-C++ version: new checkout and default build "S3-only" on April 18, 2022 OS: Built on Ubuntu-20 AARM64, run on AARM64-device
Compiler and Version used
Ubuntu20-gcc
Operating System and version
Ubuntu-20 AARM64

Hi @gi12345 can you send the cmake command line that you used to build?

This is part of a very large system. We do not use cmake, all is built through make.

Also, look at this one:
Segmentation fault at Aws::Utils::Threading::ReaderWriterLock::LockReader () #1716
https://github.com/aws/aws-sdk-cpp/issues/1716
Very similar to this case I think.
But in our case I cannot change the change the initialization order. On creation of class CMotionUploader the c++ compiler will first create the class variable Aws::Client::ClientConfiguration m_cfg before calling the class constructor with Aws::InitAPI(m_awsSDKoptions).

You are setting the ClientConfiguration outside InitAPI(). I change the code and it works without showing the Segmentation problem. Please follow this code snippet or reopen if this is not helpful:
CMotionUploader() {
        InitAPI(options);
        {
            Aws::Client::ClientConfiguration clientConfig;
        }
    }

Hi Daniel,
The solution you suggest is not addressing our problem:

We are working in C++ not C; in this specific case C is trivial, C++ is not (see solution to #1716 above). Also take into account that the entire scenario happens during class instance creation mainly performed by the C++ compiler. And as in #1716 above our code was working before with an older SDK version.
The definition Aws::Client::ClientConfiguration m_cfg is a class member definition. It must be a class member definition so class methods can access this data structure! In your suggestion above client_config is a local method variable (scope); we must have a class variable so access from other class methods is possible.
The method Aws::InitAPI(m_awsSDKoptions) is run inside the class constructor. This is the earliest time during C++ class creation when a user defined method can be called.

In my opinion the problem is caused by Aws::Client::ClientConfiguration m_cfg. I guess it is bound to an AWS internal constructor which runs prior to Aws::InitAPI(m_awsSDKoptions). C++ compiler performs class member variable handling prior to invoking class constructor method.
If the class member variable definition Aws::Client::ClientConfiguration m_cfg would automatically call Aws::InitAPI() the problem would be solved.
An other solution might be the definition of some "dummy" class variable which has a constructor bound and invokes Aws::InitAPI(); such "dummy" variable would be added to the class variable section prior to Aws::Client::ClientConfiguration m_cfg.

Hi Daniel,
please re-open the issue as I do not consider it solved.

As an experiment I have modified my code as follows:
...within C++ class constructor...
printf("CSMU CMotionUploader::GetSecurityKeys: Point AAAAA1\n");
Aws::SDKOptions k_awsSDKoptions;
Aws::InitAPI(k_awsSDKoptions);
printf("CSMU CMotionUploader::GetSecurityKeys: Point AAAAA2\n");
{
Aws::Client::ClientConfiguration m_cfg;  //xxx-gi
printf("CSMU CMotionUploader::GetSevcurityKeys: Point AAAAA3\n");
Ouput:
CSMU CMotionUploader::GetSecurityKeys: Point AAAAA1
CSMU CMotionUploader::GetSecurityKeys: Point AAAAA2
Crash stack trace:
24/05/2022 14:25:56.101 [WARNING]Catch dump signal [11]Segmentation fault
Obtained 10 stack frames:
[0]./VIGILCameraServer(_Z4dumpi+0x28) [0x4e4dc4]
[1]linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fafb455e4]
[2]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZNK3Aws8Internal21AWSHttpResourceClient34GetResourceWithAWSWebServiceResultB5cxx11ERKSt10shared_ptrINS_4Http11HttpRequestEE+0xa4) [0x7faf349d7c]
[3]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZNK3Aws8Internal17EC2MetadataClient16GetCurrentRegionB5cxx11Ev+0x34c) [0x7faf345e44]
[4]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZN3Aws6Client19ClientConfigurationC1Ev+0x228) [0x7faf398318]
[5]./VIGILCameraServer(_ZN15CMotionUploader15GetSecurityKeysEv+0x420) [0x5990b8]
[6]./VIGILCameraServer(_ZN15CMotionUploader18InitializeAWSS3EnvEv+0x3c4) [0x59a9e4]
[7]./VIGILCameraServer(_ZN15CMotionUploaderC1Ev+0x18c) [0x597774]
[8]./VIGILCameraServer(_ZN18CVIGILCameraServer12CreateServerEv+0xb88) [0x4e3440]
9]./VIGILCameraServer(_ZN18CVIGILCameraServer10InitializeEv+0x64) [0x4e21f4]

Reproduced this way:
int main(int argc, char** argv)
{
printf("Point qqqqqqqqqqqqqqqqqq1\n");
Aws::SDKOptions k_awsSDKoptions;
Aws::InitAPI(k_awsSDKoptions);
printf("Point qqqqqqqqqqqqqqqqqqqqqq2\n");
{
Aws::Client::ClientConfiguration m_cfg;  //xxx-gi
printf("Point qqqqqqqqqqqqqqqqqqqqqqq3\n");
}
Log output:
Point qqqqqqqqqqqqqqqqqq1
Point qqqqqqqqqqqqqqqqqqqqqq2
Segmentation fault

=========================================
Obtained 8 stack frames:
[0]./VIGILCameraServer(_Z4dumpi+0x28) [0x4e51f8]
[1]linux-vdso.so.1(__kernel_rt_sigreturn+0) [0x7fa30885e4]
[2]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZNK3Aws8Internal21AWSHttpResourceClient34GetResourceWithAWSWebServiceResultB5cxx11ERKSt10shared_ptrINS_4Http11HttpRequestEE+0xa4) [0x7fa288cd7c]
[3]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZNK3Aws8Internal17EC2MetadataClient16GetCurrentRegionB5cxx11Ev+0x34c) [0x7fa2888e44]
[4]/mnt/plugin/vigilcamera/lib/libaws-cpp-sdk-core.so(_ZN3Aws6Client19ClientConfigurationC1Ev+0x228) [0x7fa28db318]
[5]./VIGILCameraServer(main+0x5b4) [0x4e5f24]
[6]/lib/libc.so.6(__libc_start_main+0xe8) [0x7fa1b30d18]
[7]./VIGILCameraServer() [0x4da934]
Question:  Could it be that core.so depends on some .so library which it cannot locate?
We are running on Ubuntu20-aarm64. SDK was built on EC2 with  Ubuntu20-aarm64.

ubuntu@ip-172-31-23-16:~/environ_may20/aws/lib$ ldd libaws-cpp-sdk-core.so
linux-vdso.so.1 (0x0000ffffb7274000)
libpthread.so.0 => /lib/aarch64-linux-gnu/atomics/libpthread.so.0 (0x0000ffffb6e67000)
libcurl.so.4 => /lib/aarch64-linux-gnu/libcurl.so.4 (0x0000ffffb6dd2000)
libcrypto.so.1.1 => /home/ubuntu/kvssdk_may20/amazon-kinesis-video-streams-producer-sdk-cpp/open-source/local/lib/libcrypto.so.1.1 (0x0000ffffb6b20000)
libdl.so.2 => /lib/aarch64-linux-gnu/atomics/libdl.so.2 (0x0000ffffb6b0c000)
libstdc++.so.6 => /lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000ffffb6927000)
libm.so.6 => /lib/aarch64-linux-gnu/atomics/libm.so.6 (0x0000ffffb687d000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000ffffb6859000)
libc.so.6 => /lib/aarch64-linux-gnu/atomics/libc.so.6 (0x0000ffffb66e8000)
/lib/ld-linux-aarch64.so.1 (0x0000ffffb7244000)
libnghttp2.so.14 => /lib/aarch64-linux-gnu/libnghttp2.so.14 (0x0000ffffb66b1000)
libidn2.so.0 => /lib/aarch64-linux-gnu/libidn2.so.0 (0x0000ffffb6683000)
librtmp.so.1 => /lib/aarch64-linux-gnu/librtmp.so.1 (0x0000ffffb6657000)
libssh.so.4 => /lib/aarch64-linux-gnu/libssh.so.4 (0x0000ffffb65dd000)
libpsl.so.5 => /lib/aarch64-linux-gnu/libpsl.so.5 (0x0000ffffb65bc000)
libssl.so.1.1 => /home/ubuntu/kvssdk_may20/amazon-kinesis-video-streams-producer-sdk-cpp/open-source/local/lib/libssl.so.1.1 (0x0000ffffb651e000)
libgssapi_krb5.so.2 => /lib/aarch64-linux-gnu/libgssapi_krb5.so.2 (0x0000ffffb64c6000)
libldap_r-2.4.so.2 => /lib/aarch64-linux-gnu/libldap_r-2.4.so.2 (0x0000ffffb6464000)
liblber-2.4.so.2 => /lib/aarch64-linux-gnu/liblber-2.4.so.2 (0x0000ffffb6445000)
libbrotlidec.so.1 => /lib/aarch64-linux-gnu/libbrotlidec.so.1 (0x0000ffffb642a000)
libz.so.1 => /lib/aarch64-linux-gnu/libz.so.1 (0x0000ffffb6400000)
libunistring.so.2 => /lib/aarch64-linux-gnu/libunistring.so.2 (0x0000ffffb6277000)
libgnutls.so.30 => /lib/aarch64-linux-gnu/libgnutls.so.30 (0x0000ffffb6086000)
libhogweed.so.5 => /lib/aarch64-linux-gnu/libhogweed.so.5 (0x0000ffffb6040000)
libnettle.so.7 => /lib/aarch64-linux-gnu/libnettle.so.7 (0x0000ffffb5ffa000)
libgmp.so.10 => /lib/aarch64-linux-gnu/libgmp.so.10 (0x0000ffffb5f73000)
libkrb5.so.3 => /lib/aarch64-linux-gnu/libkrb5.so.3 (0x0000ffffb5e8b000)
libk5crypto.so.3 => /lib/aarch64-linux-gnu/libk5crypto.so.3 (0x0000ffffb5e4e000)
libcom_err.so.2 => /lib/aarch64-linux-gnu/libcom_err.so.2 (0x0000ffffb5e3a000)
libkrb5support.so.0 => /lib/aarch64-linux-gnu/libkrb5support.so.0 (0x0000ffffb5e1d000)
libresolv.so.2 => /lib/aarch64-linux-gnu/atomics/libresolv.so.2 (0x0000ffffb5df7000)
libsasl2.so.2 => /lib/aarch64-linux-gnu/libsasl2.so.2 (0x0000ffffb5dcc000)
libgssapi.so.3 => /lib/aarch64-linux-gnu/libgssapi.so.3 (0x0000ffffb5d7e000)
libbrotlicommon.so.1 => /lib/aarch64-linux-gnu/libbrotlicommon.so.1 (0x0000ffffb5d4d000)
libp11-kit.so.0 => /lib/aarch64-linux-gnu/libp11-kit.so.0 (0x0000ffffb5bff000)
libtasn1.so.6 => /lib/aarch64-linux-gnu/libtasn1.so.6 (0x0000ffffb5bdc000)
libkeyutils.so.1 => /lib/aarch64-linux-gnu/libkeyutils.so.1 (0x0000ffffb5bc7000)
libheimntlm.so.0 => /lib/aarch64-linux-gnu/libheimntlm.so.0 (0x0000ffffb5bad000)
libkrb5.so.26 => /lib/aarch64-linux-gnu/libkrb5.so.26 (0x0000ffffb5b11000)
libasn1.so.8 => /lib/aarch64-linux-gnu/libasn1.so.8 (0x0000ffffb5a6a000)
libhcrypto.so.4 => /lib/aarch64-linux-gnu/libhcrypto.so.4 (0x0000ffffb5a23000)
libroken.so.18 => /lib/aarch64-linux-gnu/libroken.so.18 (0x0000ffffb59fd000)
libffi.so.7 => /lib/aarch64-linux-gnu/libffi.so.7 (0x0000ffffb59e4000)
libwind.so.0 => /lib/aarch64-linux-gnu/libwind.so.0 (0x0000ffffb59ab000)
libheimbase.so.1 => /lib/aarch64-linux-gnu/libheimbase.so.1 (0x0000ffffb598a000)
libhx509.so.5 => /lib/aarch64-linux-gnu/libhx509.so.5 (0x0000ffffb5930000)
libsqlite3.so.0 => /lib/aarch64-linux-gnu/libsqlite3.so.0 (0x0000ffffb57fd000)
libcrypt.so.1 => /lib/aarch64-linux-gnu/libcrypt.so.1 (0x0000ffffb57b4000)

Code always crashes in this variable definition inside AWS SDK:
Aws::Client::ClientConfiguration m_cfg;

in file AWSHttpResourceClient.cpp, Line 134:
std::shared_ptr response(m_httpClient->MakeRequest(httpRequest));
if m_httpClient is not initialized correctly above statement will crash!

Hi Daniel,
any comments or help on any of these problems?
Thanks

in file AWSHttpResourceClient.cpp, Line 134:
std::shared_ptr response(m_httpClient->MakeRequest(httpRequest));
if m_httpClient is not initialized correctly above statement will crash!

we see the same issue. use aws-sdk-cpp ver. 1.8.816, ubuntu20, use make, Intel 32bits App. The following lists the  coredump backtrace and our codes
------ coredump backtrace ------
#0  0x00889578 in Aws::Internal::AWSHttpResourceClient::GetResourceWithAWSWebServiceResult () at ../AWSHttpResourceClient.cpp
#1  0x0088cb3e in Aws::Internal::EC2MetadataClient::GetCurrentRegion (this=0x139b12c) at .. AWSHttpResourceClient.cpp
#2  0x008c74ed in Aws::Client::ClientConfiguration::ClientConfiguration (this=0x1a7f000) at ../ClientConfiguration.cpp
#3  0x00ac60c2 in ApplicationState::addClientConfiguration ()
----- codes --------
class ApplicationState
{
public:
        static ApplicationState& getInstance();
        void   addClientConfiguration();
private:
        Aws::Client::ClientConfiguration* p_awsClientConfig;
}

ApplicationState &ApplicationState::getInstance() {
    static ApplicationState appState;
    return appState;
}

void ApplicationState::addClientConfiguration() {
    p_awsClientConfig = new Aws::Client::ClientConfiguration();
}

main() {

  Aws::SDKOptions options;
  Aws::InitAPI(options);

 ApplicationState::getInstance().addClientConfiguration();  // crash here !!!

}

Can you make sure that you are making all sdk calls inside the {}:
#include <aws/core/Aws.h>
int main(int argc, char** argv)
{
   Aws::SDKOptions options;
   Aws::InitAPI(options);
   {
      // make your SDK calls here.
   }
   Aws::ShutdownAPI(options);
   return 0;
}


No API Documentation

This was billed as "ollama compatible", but when I run ramallama serve -p 11434 llama3.2 - my client code that works with ollama does NOT work (posting to /api/chat returns 404, and I see the POST hit ramallama in the console as well)
Where's API documentation for the actual API served by ramallama? 🙏

Good to know! Thank you for sharing that. Be really helpful to have a link
to the API documentation on the serve page or mentioned in the readme or
something because that was not at all obvious that I need to go look for
llama.cpp rest documentation when I thought it would be just like the
ollama API haha.
Thank you for straightening me out on this one, you can close this issue. I
really appreciate it
On Wed, Oct 9, 2024, 9:09 AM Eric Curtin @.***> wrote:

We are using upstream llama.cpp server by default:
https://github.com/ggerganov/llama.cpp/tree/master/examples/server
and it does say on that page:
looking for feedback and contributors
https://github.com/ggerganov/llama.cpp/issues/4216
But there's also a "--runtime" flag, where the intent is switchable
servers, vllm is one that we will support in future, but it is only
implemented in --nocontainer mode right now so one must set up vllm
themselves
—
Reply to this email directly, view it on GitHub
https://github.com/containers/ramalama/issues/265#issuecomment-2402458385,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABEZELFFNGDM236GQYJTDTDZ2U2K5AVCNFSM6AAAAABPUT43KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSGQ2TQMZYGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Care to open a PR to make this point in the README.md and potentially in the ramalama-serve.1.md file.

I haven't had time to fork and make a PR, but here's the patch, hope this helps:
From 17ba92537e15f98e51f85f992df8365afd938ecd Mon Sep 17 00:00:00 2001
From: Josiah Bryan<EMAIL_ADDRESS>Date: Wed, 9 Oct 2024 09:47:06 -0500
Subject: [PATCH] docs: Added links to llama.cpp REST API documentation and
 fixed a spelling error

---
 docs/ramalama-serve.1.md | 20 +++++++++++++++++++-
 docs/ramalama.1.md       | 14 +++++++-------
 2 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/docs/ramalama-serve.1.md b/docs/ramalama-serve.1.md
index 20f49de..cd9862b 100644
--- a/docs/ramalama-serve.1.md
+++ b/docs/ramalama-serve.1.md
@@ -1,38 +1,53 @@
 % ramalama-serve 1

 ## NAME
+
 ramalama\-serve - serve REST API on specified AI Model

 ## SYNOPSIS
-**ramalama serve** [*options*] *model*
+
+**ramalama serve** [*options*] _model_

 ## DESCRIPTION
+
 Serve specified AI Model as a chat bot. RamaLama pulls specified AI Model from
 registry if it does not exist in local storage.

+## REST API ENDPOINTS
+
+Under the hood, `ramalama-serve` uses the `LLaMA.cpp` HTTP server by default.
+
+For REST API endpoint documentation, see: [https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md#api-endpoints](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md#api-endpoints)
+
 ## OPTIONS

 #### **--detach**, **-d**
+
 Run the container in the background and print the new container ID.
 The default is TRUE. The --nocontainer option forces this option to False.

 Use the `ramalama stop` command to stop the container running the served ramalama Model.

 #### **--generate**=quadlet
+
 Generate specified configuration format for running the AI Model as a service

 #### **--help**, **-h**
+
 show this help message and exit

 #### **--name**, **-n**
+
 Name of the container to run the Model in.

 #### **--port**, **-p**
+
 port for AI Model server to listen on

 ## EXAMPLES

 Run two AI Models at the same time, notice that they are running within Podman Containers.
+

$ ramalama serve -p 8080 --name mymodel ollama://tiny-llm:latest
09b0e0d26ed28a8418fb5cd0da641376a08c435063317e89cf8f5336baf35cfa
@@ -47,6 +62,7 @@ CONTAINER ID  IMAGE                             COMMAND               CREATED

Generate a quadlet for running the AI Model service
+

$ ramalama serve --name MyGraniteServer --generate=quadlet granite > $HOME/.config/containers/systemd/MyGraniteServer.container
$ cat $HOME/.config/containers/systemd/MyGraniteServer.container
@@ -85,7 +101,9 @@ CONTAINER ID  IMAGE                             COMMAND               CREATED

## SEE ALSO
+
**[ramalama(1)](ramalama.1.md)**, **[ramalama-stop(1)](ramalama-stop.1.md)**, **quadlet(1)**, **systemctl(1)**, **podman-ps(1)**

## HISTORY
+
Aug 2024, Originally compiled by Dan Walsh<EMAIL_ADDRESS>diff --git a/docs/ramalama.1.md b/docs/ramalama.1.md
index 382d9ba..10deb3b 100644
--- a/docs/ramalama.1.md
+++ b/docs/ramalama.1.md
@@ -16,12 +16,11 @@ AI Model for your systems setup. This eliminates the need for the user to
configure the system for AI themselves. After the initialization, RamaLama
will run the AI Models within a container based on the OCI image.

-RamaLama first pulls AI Models from model registires. It then start a chatbot
-or a service as a rest API from a simple single command. Models are treated similarly
-to the way that Podman or Docker treat container images.
+RamaLama first pulls AI Models from model registries. It then start a chatbot
+or a service as a rest API (using llama.cpp's server) from a simple single command.
+Models are treated similarly to the way that Podman or Docker treat container images.

-RamaLama supports multiple AI model registries types called transports.
-Supported transports:
+RamaLama supports multiple AI model registries types called transports. Supported transports:

## TRANSPORTS
@@ -107,14 +106,15 @@ store AI Models in the specified directory (default rootless: `$HOME/.local/shar
| [ramalama-push(1)](ramalama-push.1.md)            | push AI Models from local storage to remote registries     |
| [ramalama-rm(1)](ramalama-rm.1.md)                | remove AI Models from local storage                         |
| [ramalama-run(1)](ramalama-run.1.md)              | run specified AI Model as a chatbot                        |
-| [ramalama-serve(1)](ramalama-serve.1.md)          | serve REST API on specified AI Model                       |
+| [ramalama-serve(1)](ramalama-serve.1.md)          | serve REST API on specified AI Model using `llama.cpp`     |
| [ramalama-stop(1)](ramalama-stop.1.md)            | stop named container that is running AI Model              |
| [ramalama-version(1)](ramalama-version.1.md)      | display version of RamaLama
## CONFIGURATION FILES

## SEE ALSO
-**[podman(1)](https://github.com/containers/podman/blob/main/docs/podman.1.md)**
+- **[podman(1)](https://github.com/containers/podman/blob/main/docs/podman.1.md)**
+- **[llama.cpp API endpoints](https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md#api-endpoints)**

## HISTORY
Aug 2024, Originally compiled by Dan Walsh<EMAIL_ADDRESS>--
2.39.3 (Apple Git-146)

Finally had a free minute to fork and PR - sorry it took so long. PR is up at: https://github.com/containers/ramalama/pull/274

Thanks for merging the PR! I'll close this issue now. Cheers!


Script failed to scan birthdays. Error message: eyJ0eXBlIjoiU0NBTl9FUlJPUl9USU1FT1VUIn0=

: )

The issue is solved in https://github.com/zagushka/birthday-calendar-extractor/pull/94


allow for rePOST against redirect URLS

Hi, I'm trying to interact with some drupal api that returns a 301 for puts. I'm not able to tell do slumber to rePOST on second api hit is there a way ?
Thank you, ciao
PUT /api/taxonomy_term/04d99f36-266e-5c7b-9edc-6e5ea603f982/ HTTP/1.1
Host: [redacted]
User-Agent: python-requests/2.9.1

{"name": "cane"}

HTTP/1.1 301 Moved Permanently
Location: http://[redacted]/api/taxonomy_term/04d99f36-266e-5c7b-9edc-6e5ea603f982

PUT /api/taxonomy_term/04d99f36-266e-5c7b-9edc-6e5ea603f982 HTTP/1.1
Host: [redacted]
User-Agent: python-requests/2.9.1

HTTP/1.1 200 OK

Do you have a simple way to strip the final "/" at the end of the URL ?
I've just had the same problem, with 405 in return (the POST method is mandatory, but not replicated on redirection)


[AIRFLOW-406] Sphinx/rst fixes

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

https://issues.apache.org/jira/browse/AIRFLOW-406

Changes

Fix some syntax errors in our sphinx/rst docstrings, which appears on pythonhosted.org
Move xcom_push documentation from constructor to class docstring
Rewrite some copy in HivePartitionSensor and NamedHivePartitionSensor docstrings
Fix AirflowImporter docstring that seems to have been automatically search-and-replaced

Current coverage is 64.53% (diff: 100%)

Merging #1717 into master will increase coverage by <.01%

@@             master      #1717   diff @@
==========================================
  Files           127        127
  Lines          9437       9443     +6
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           6090       6094     +4
- Misses         3347       3349     +2
  Partials          0          0

Powered by Codecov. Last update f1abffa...9f79f53

LGTM but was this tested?

I tested them in an online rst renderer, have not run sphinx on them
On Wednesday, 10 August 2016, aoen<EMAIL_ADDRESS>wrote:

LGTM but was this tested?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-airflow/pull/1717#issuecomment-239017835,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH9OjeemE_kRTJSOtAdczajCyFJ8TJCks5qekmjgaJpZM4JgoS2
.

--
Im Xuan Ji!


Code Coverage

Bisect_ppx

Bisect_ppx is a code coverage tool for OCaml and Reason. It helps you test thoroughly by showing what's not tested.

See https://github.com/aantron/bisect_ppx/issues/411
      - name: Run tests
        run: |
             mkdir $BISECT_DIR
             opam exec -- dune runtest --instrument-with bisect_ppx
        env:
          BISECT_DIR: ${{ runner.temp }}/_bisect_ppx_data
          BISECT_FILE: ${{ runner.temp }}/_bisect_ppx_data/data

      - name: Send coverage report to Coveralls
        run: opam exec -- bisect-ppx-report send-to Coveralls --coverage-path $BISECT_DIR
        env:
          BISECT_DIR: ${{ runner.temp }}/_bisect_ppx_data
          COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          PULL_REQUEST_NUMBER: ${{ github.event.number }}

- name: 🧪 Test and Coverage
  run: "opam exec -- dune runtest --instrument-with bisect_ppx --force"
- name: 📄 Coverage Report"
  run: "opam exec -- bisect-ppx-report summary"


C++: Creating UPythonComponent compilation error related to "RAWMESH_API"

Hello, I am running:
UE4 (Version 4.18.2) Python 3.6.3 on Ubuntu 64bit and using CLion as my IDE.
Worth noting: I also have CLionSourceAccess - https://github.com/dotBunny/CLionSourceCodeAccess
Although I don't think it is what causing the issue.
I tried the includes like in the following closed issue as well: https://github.com/20tab/UnrealEnginePython/issues/51
However I am still missing something.
Recreating the issue:

Created a new blank C++ project named: SimpleProj without StarterContent
Compiled both plugins. (UnrealEnginePython, CLionSourceAccess)
Edited SimpleProj.Buid.cs and appended UnrealEnginePython as a Public Dependecy to PublicDependencyModuleNames
Created new C++ Pawn class named: MyPawn with Pawn as base class. (Didn't change any of the efault settings; None selected out of Public\Private and Runtime remains project name)
Went ahead to the constructor of MyPawn and added the following line:
UPythonComponent *pyComp = CreateDefaultSubobject<UPythonComponent>(TEXT("pyComp"));
Added in PyPawn.h the following include:
#include "UnrealEnginePython/Private/UnrealEnginePythonPrivatePCH.h"
#include "UnrealEnginePython/Public/PythonComponent.h
Trying to compile... receiving:
ERROR.txt

I am attaching my MyPawn class as well:
SimpleProj.zip
Things I've tried:

Including only #include "UnrealEnginePython/Public/PythonComponent.h instead of both generates a compilation error that pyobject is unknown.
Including UnrealEnginePython/Public/PythonComponent.h in the header file and UnrealEnginePython/Private/UnrealEnginePythonPrivatePCH.h in the cpp file.
Adding to SimpleProj.Build.cs private dependencies UnrealEnginePython as well.
Instead of using #include "CoreMinimal.h" I tried: #include "Engine.h" and both Engine.h and Core.h
In the CLionSourceAccess configuration I've tried to include "Plugins" so it'll compile it as well.

Obvious soultion but unwanted:
Is to not create a UPythonComponent in C++, but rather in Blueprint that inherits from it.  But still, this should be supported isn't it?
Possble root of the problem?
Maybe it has to do something with the way both plugins communicate. Is there a conditional compilation header that doesn't include "RAWMESH_API" in UnrealEnginePython if it sees different Target Configuration/Target Projects than what it expects? (See img above) Tomorrow I'll be able to dig in the Source code and try to see if this is the case..
I've been working on this for 2-3 days. There were more attempts to try and solve this, can't remember it all, and I've tried any combination of them to try and find a solution, yet I am having the same issue.
UPDATE:
Manually defining RAWMESH_API by: #define RAWMESH_API  in MyPawn.h like it is shown in an external Definitions file: SimpleProj/Intermediate/ProjectFiles/Definitions.cmake causes a new compilation error:
ERROR2.txt
Note that this definition is included in the generated CMakeLists.txt. Perhaps it is really an issue of a Target Configuration/Target Projects?
Thanks,
Ben.

Hi, can you try by completely removing the FRawMesh api from the sources ?


fix: yaml steam decode and sync API call in main.rs and lib.rs

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

fix: #332.

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[x] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

test/grammar/datatype/str/long_str_0/main.k

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.712%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1369

Relevant Lines:
1526

💛  - Coveralls


SwissKnife functionalities

Introducing new Class SK which has functionalities to make certain set of processes for geoserver. This can be helpful to automate boring tasks for users. e.g.

When user wants to host all of tables in PostgreSQL store to geoserver
When user wants to create layer groups easily
When user wants to change styling for number of layers

These types of use cases are quite common in Geoserver and there is no simple REST API call that can make it happen.
I propose new SK class where we'll keep adding more and more functionalites

Ability for user to upload data (shp, geojson,etc. ) via API that'll be uploaded to DB and then layer will be created from it


Rancher and Kubernetes 1.3: enable PetSet support

Once k8s 1.3 is released, we should start leveraging 1.3 features. One of them is PetSet. From the design doc overview [link] (https://github.com/kubernetes/kubernetes/pull/18016) it looks like we have to add changes to rancher internal dns programming to propagate Pod identity records
@galal-hussein ^^

This requires support for two things -

[x] Network Identity (support added in https://github.com/rancher/cattle/pull/1827)
[ ] Sticky Volumes

@alena1108 @wlan0 There is a problem when starting Petsets with NFS Persistent Volumes #5607

@galal-hussein Petsets can only work with dynamically provisioned volumes (http://kubernetes.io/docs/user-guide/petset/#alpha-limitations) - NFS does not have a dynamic provisioner.
The volume types with dynamic provisioner are in this doc -  https://github.com/kubernetes/kubernetes/tree/master/examples/experimental/persistent-volume-provisioning
That being said, I just tested PetSet with EBS, on rancher v1.2.0-pre3 and kubernetes from this catalog -  rancher/rancher-catalog@356b24f (Folder number 12). Also, I have updated the docs to show the exact steps for creating Petsets -https://docs.google.com/document/d/1Zzy16IK7vb6dqpGuDumdVBarBu33Fbx1mbhYsDGBx_8/edit

Set cloud provider to aws and tested that EBS works fine.

Tested and worked from the PR https://github.com/rancher/infra-catalog/pull/23, and on Rancher master image (21 Oct).


add custom field

i added custom field to notifications table and added the field name to notifynder config file  but how to save this value

With the new added setField() method on the builder.
https://github.com/fenos/Notifynder/blob/master/src/Notifynder/Builder/NotifynderBuilder.php#L158

i checked before it wasn't exist, but when i added it and tried again the field still null

in file  vendor\fenos\notifynder\src\Notifynder\Models\Notification.php i changed in method mergeFillable()
this
$fillables = array_unique($this->getFillable() + $this->getCustomFillableFields());
to
$fillables = array_unique(array_merge($this->getFillable(), $this->getCustomFillableFields()));
now it works fine

Do you have the latest release? composer update today we have published a new version that exactly fixes this bug.
https://github.com/fenos/Notifynder/blob/3.2.15/src/Notifynder/Models/Notification.php#L225
This is the line of code in the latest release.


Creating HowTo for creating custom units

This is a placeholder for this Task started in #19.
How should we create custom units?
Does any of the code need to change for making it easier to create custom units?

22122bd - Just relaxed the restrictions on some methods from Internal to public in order for users to better create their customs units

I have started on a Wiki post about creating custom units.
Could you try it out and see if you can get it to work?
https://github.com/MadsKirkFoged/EngineeringUnits/wiki/Costume-units

Works for me. Obviously the 2nd method doesn't give you the getters and setter methods which I personally prefer using.
These can be added as extensions as well but it is more work. Note also that you have to use two different namespaces if you want to use the same name for the unit enum and the getter, as is the case for regular units..
Using your example, this would look like:
public static class LengthCostUnitExtensions
{
    // New unit
    public static readonly LengthCostUnit EuroPerMeter = new LengthCostUnit(CostUnit.Euro, LengthUnit.Meter);
}

public static class LengthCostExtensions
{
    // New getter
    public static double EuroPerMeter(this LengthCost lengthCost) => lengthCost.As(LengthCostUnitExtensions.EuroPerMeter);

    // New setter method
    public static LengthCost FromEuroPerMeter(double? EuroPerMeter)
    {
        if (!EuroPerMeter.HasValue)
        {
            return null;
        }

        return new LengthCost(EuroPerMeter.Value, LengthCostUnitExtensions.EuroPerMeter);
    }
}

Btw, was "Costume Units" in the wiki (both title and url) intended or a typo?


Update compile.m

fixed a minor typo in the arguments of vl_compilenn

thanks!

You're welcome. Nice work, by the way.


Update Dockerfile

WELCOME TO DEVOPS-EASY-LEARNING PULL REQUEST SYSTEM
Description of the change

Detailed description here

Checks and balances

[ ] Tests added and run
[ ] (External) Interfaces documented
[ ] Has security implications (describe below)

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)

Related stories, issues and pulls
https://devopseasylearning.atlassian.net/browse/S02-172
Security considerations

Describe any security impact this change may have

good

Good


Make mobs alert other mobs when target found

Task description
It is currently too easy to pick off single mobs that are in a group and lure them away.
It would be better if when a mob notices a target (another character type of an opposing faction) then it would broadcast that information to any other mobs of the same faction within a certain range, so they too would be alerted of the target being found.
For example:
There is a group of knights near each other facing in different directions.
A bandit moves into the view range of a knight, so the knight notices it.
The knight would check for all nearby knights (and any other characters that have a friendly faction relationship to the knight) and tell each one of them to focus on the bandit (if they don't already have a target).
References/notes
Character factions: https://github.com/Arcanorum/dungeonz/blob/master/server/src/gameplay/Factions.js
Mob logic: https://github.com/Arcanorum/dungeonz/blob/master/server/src/entities/classes/destroyables/movables/characters/mobs/Mob.js

See onDamage for what the mob should do when it is damaged.
See getNearestHostileInLOS for when a hostile character is found by this mob.

Try with a range of 4 (in all directions) to check for other friendly mobs, though this may change depending on testing/feedback, as long as it is configurable.
Acceptance criteria

When a mob is damaged, it should check the source of the damage and if it is another character, then it should target that character, and also check for characters of a friendly faction within a 4 tile radius that do not have a target and set their target to the damaging character.
When a mob finds a character of a hostile faction, it should target that character, and also check for characters of a friendly faction within a 4 tile radius that do not have a target and set their target to the hostile character.
The 4 tile radius should be added as a property to the Mob prototype, something like alertRange.

Zombie pigmen flashbacks.


fix(quantic): read sfdx error JSON output from stdout instead of stderr

https://coveord.atlassian.net/browse/SVCC-2349
Apparently a recent version of sfdx-cli introduced a change in the way errors are returned. Before, the error JSON response would be returned through stderr. It is now returned through stdout.
It prevented our deploy-community script from deploying on an existing scratch org.

Is this change compatible with the version of sfdx we're installing in our CI workflows too?

As long as we are sure the output will always be json parsable?

You have a good point. So far I've always seen the SFDX CLI return JSON when using the --json flag. However, if an issue occur trying to execute the SFDX CLI, then the output won't be JSON. I'll improve that.

It seems that upgrading the sfdx-cli dependency corrupted the package-lock somehow. Opening a new PR that simply fixes the issue and keep dependencies the same.

It seems that upgrading the sfdx-cli dependency corrupted the package-lock somehow. Opening a new PR that simply fixes the issue and keep dependencies the same.


[Wallet] Run e2e mobile test on Circle CI

(only reason this is open is because is because it needs the CI to test)
Description
A few sentences describing the overall effects and goals of the pull request's commits.
What is the current behavior, and what is the updated/expected behavior with this PR?
Tested
An explanation of how the changes were tested or an explanation as to why they don't need to be.
Other changes
Describe any minor or "drive-by" changes here.
Related issues

Fixes #[issue number here]

Backwards compatibility
Brief explanation of why these changes are/are not backwards compatible.

The env in Circle CI is ready to run the tests but the emulator never connects to the wifi and every screenshot is empty. This confirms the emulator is not supported by CircleCi.


AS5047P

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Aksat Shah seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Another implementation for SPI encoder support (initial commit: 4b29c5154893f74a4ea4308ac6b0aaa02e006dbd) was now merged to devel.


Only add images that exist, sorted the ImageStream

Uses skopeo inspect to check if a given input image actually exists before adding it to the sync list.
The ImageStream tags list is now sorted.

This is dirty right now. Needs to be cleaned up. But this is the beginning of getting things fixed for issues that @smarterclayton and I ran into before break.

I'm going to merge this because I need it on buildvm to test back and forth with Clayton right now.


Support streaming for onSnapshot

This is a feature request for supporting streaming for onSnapshot.
The use case:
I have a collection of 10000 documents. I would like to subscribe to changes to these 10000 documents.
When starting my subscription I do not want the app to block until the first snapshot of 10000 documents is received. I want to be able to start processing data as they are streamed to the application.
Hope this is clear. If not please let me know.

@mad-it Thanks for the feature request!
Unfortunately, this will be pretty hard for us to implement. The backend doesn't provide any guarantees on the data they send to us until we get a confirmation that we have reached a consistent state. That means that the backend can send us outdated documents, before updating these to the most current state. While some of our users might not mind this behavior, this is likely something that we cannot offer in a mainline API.
The only suggestion I have at the moment is the Query.stream() API, but there is no migration path from Query streaming to live snapshots.


Upgrade(BTSCore): Contract not being upgraded on testnet

Overview
On running the upgrade script on bsc testnet for BTS Core, the contract to upgrade was not deployed.
Starting migrations...
======================
> Network name:    'bsc'
> Network id:      97
> Block gas limit: 50000000 (0x2faf080)

4_upgrade_btsCore.js
====================
Existing BTSCore Contract 0x2E943b0a561AcAaf7B5a90cFEe2e2ca46809Fcd0
Upgraded BTSCoreUpgraded Proxy 0x2E943b0a561AcAaf7B5a90cFEe2e2ca46809Fcd0
   -------------------------------------
   > Total cost:                   0 ETH

Summary
=======
> Total deployments:   0
> Final cost:          0 ETH

BTSCore Proxy Address after upgrade
0x2E943b0a561AcAaf7B5a90cFEe2e2ca46809Fcd0

Existing implementation contract and the one intended to be upgraded were the same. This brought the problem mentioned above. As normal upgrades do not have the same contract code and upgrades are working when these are different, this issue can be closed.


New Zealand flag seems broken

Please check all that apply

[x] visual bug
[ ] functional bug
[x] able to consistently reproduce

Expected Behavior

The New Zealand flag should have a red cross in its top left corner.

Current Behavior

The New Zealand flag is missing its red cross.

This is also the case in this repository
Possible Solution

Add the red cross.
Thanks a lot for this package!

Seems to me there is a masking issue with certain flags. I'll collect his and related issues here in as a single issue.

@daoneandonly
The same issue can also be found in:

HR
KR

Croatian (HR) flag as mentioned by @SimpleCreations looks different on the landing page and different in the index. Both seem to have masking issues and scaling is wrong.
Tested on mobile Safari and iOS 16.0.3 webview