@@ -184,7 +184,7 @@ def __get_hosts_with_omms(cls, hosts: set[str], start_time: float, end_time: flo
184
184
tz = timezone ('Europe/Moscow' )
185
185
start = datetime .fromtimestamp (start_time , tz ).strftime ("%Y-%m-%d %H:%M:%S" )
186
186
end = datetime .fromtimestamp (end_time , tz ).strftime ("%Y-%m-%d %H:%M:%S" )
187
- oom_cmd = f'sudo journalctl -k -q --no-pager -S { start } -U { end } --grep "Out of memory: Kill process" '
187
+ oom_cmd = f'sudo journalctl -k -q --no-pager -S { start } -U { end } --grep "Out of memory: Kill" --case-sensitive=false '
188
188
ooms = set ()
189
189
for h in hosts :
190
190
exec = cls .__execute_ssh (h , oom_cmd )
@@ -287,18 +287,18 @@ def _attach_plans(plan: YdbCliHelper.QueryPlan, name: str) -> None:
287
287
288
288
if result .stderr is not None :
289
289
allure .attach (result .stderr , 'Stderr' , attachment_type = allure .attachment_type .TEXT )
290
+ end_time = time ()
291
+ allure_test_description (
292
+ cls .suite (), test , refference_set = cls .refference ,
293
+ start_time = result .start_time , end_time = end_time , node_errors = cls .check_nodes (result , end_time )
294
+ )
290
295
stats = result .get_stats (test )
291
296
for p in ['Mean' ]:
292
297
if p in stats :
293
298
allure .dynamic .parameter (p , _duration_text (stats [p ] / 1000. ))
294
- end_time = time ()
295
299
if os .getenv ('NO_KUBER_LOGS' ) is None and not result .success :
296
300
cls .__attach_logs (start_time = result .start_time , attach_name = 'kikimr' )
297
301
allure .attach (json .dumps (stats , indent = 2 ), 'Stats' , attachment_type = allure .attachment_type .JSON )
298
- allure_test_description (
299
- cls .suite (), test , refference_set = cls .refference ,
300
- start_time = result .start_time , end_time = end_time , node_errors = cls .check_nodes (result , end_time )
301
- )
302
302
if upload :
303
303
ResultsProcessor .upload_results (
304
304
kind = 'Load' ,
0 commit comments