-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-05-22-22_27_14.log
843 lines (843 loc) · 23.5 KB
/
2023-05-22-22_27_14.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
+ source /root/mugen/libs/locallibs/common_lib.sh
++ python3 --version
++ '[' 0 -eq 0 ']'
++ source /root/mugen/libs/locallibs/common_lib_python.sh
+ main
++ type -t post_test
+ '[' -n function ']'
+ trap post_test EXIT INT HUP TERM
+ rpm -qa
+ grep expect
++ type -t config_params
+ '[' -n '' ']'
++ type -t pre_test
+ '[' -n function ']'
+ pre_test
+ LOG_INFO 'Start to prepare the test environment.'
+ message='Start to prepare the test environment.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start to prepare the test environment.'
Mon May 22 22:27:17 2023 - INFO - Start to prepare the test environment.
+ systemctl stop rsyslog
+ LOG_INFO 'End to prepare the test environment.'
+ message='End to prepare the test environment.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End to prepare the test environment.'
Mon May 22 22:27:18 2023 - INFO - End to prepare the test environment.
++ type -t run_test
+ '[' -n function ']'
+ run_test
+ LOG_INFO 'Start to run test.'
+ message='Start to run test.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start to run test.'
Mon May 22 22:27:19 2023 - INFO - Start to run test.
+ rsyslogd -d
Starting parse
Entering state 0
Reducing stack by rule 1 (line 135):
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Reading a token: Next token is token BEGINOBJ ()
Shifting token BEGINOBJ ()
Entering state 3
Reading a token: Next token is token NAME ()
Reducing stack by rule 18 (line 161):
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token ENDOBJ ()
Shifting token ENDOBJ ()
Entering state 60
Reducing stack by rule 8 (line 142):
$1 = token BEGINOBJ ()
$2 = nterm nvlst ()
$3 = token ENDOBJ ()
-> $$ = nterm obj ()
Stack now 0 1
Entering state 25
Reducing stack by rule 2 (line 136):
$1 = nterm conf ()
$2 = nterm obj ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Reading a token: Next token is token BEGINOBJ ()
Shifting token BEGINOBJ ()
Entering state 3
Reading a token: Next token is token NAME ()
Reducing stack by rule 18 (line 161):
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token ENDOBJ ()
Shifting token ENDOBJ ()
Entering state 60
Reducing stack by rule 8 (line 142):
$1 = token BEGINOBJ ()
$2 = nterm nvlst ()
$3 = token ENDOBJ ()
-> $$ = nterm obj ()
Stack now 0 1
Entering state 25
Reducing stack by rule 2 (line 136):
$1 = nterm conf ()
$2 = nterm obj ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Reading a token: Next token is token BEGINOBJ ()
Shifting token BEGINOBJ ()
Entering state 3
Reading a token: Next token is token NAME ()
Reducing stack by rule 18 (line 161):
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token ENDOBJ ()
Shifting token ENDOBJ ()
Entering state 60
Reducing stack by rule 8 (line 142):
$1 = token BEGINOBJ ()
$2 = nterm nvlst ()
$3 = token ENDOBJ ()
-> $$ = nterm obj ()
Stack now 0 1
Entering state 25
Reducing stack by rule 2 (line 136):
$1 = nterm conf ()
$2 = nterm obj ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Reading a token: Next token is token BEGINOBJ ()
Shifting token BEGINOBJ ()
Entering state 3
Reading a token: Next token is token NAME ()
Reducing stack by rule 18 (line 161):
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 3 29 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 3 29
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 3
Entering state 29
Reading a token: Next token is token ENDOBJ ()
Shifting token ENDOBJ ()
Entering state 60
Reducing stack by rule 8 (line 142):
$1 = token BEGINOBJ ()
$2 = nterm nvlst ()
$3 = token ENDOBJ ()
-> $$ = nterm obj ()
Stack now 0 1
Entering state 25
Reducing stack by rule 2 (line 136):
$1 = nterm conf ()
$2 = nterm obj ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Reading a token: Next token is token BEGIN_INCLUDE ()
Shifting token BEGIN_INCLUDE ()
Entering state 4
Reducing stack by rule 18 (line 161):
-> $$ = nterm nvlst ()
Stack now 0 1 4
Entering state 30
Reading a token: Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 4 30 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 4 30
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 4
Entering state 30
Reading a token: Next token is token NAME ()
Shifting token NAME ()
Entering state 59
Reading a token: Next token is token '=' ()
Shifting token '=' ()
Entering state 103
Reading a token: Next token is token STRING ()
Shifting token STRING ()
Entering state 139
Reducing stack by rule 21 (line 164):
$1 = token STRING ()
-> $$ = nterm value ()
Stack now 0 1 4 30 59 103
Entering state 140
Reducing stack by rule 20 (line 163):
$1 = token NAME ()
$2 = token '=' ()
$3 = nterm value ()
-> $$ = nterm nv ()
Stack now 0 1 4 30
Entering state 61
Reducing stack by rule 19 (line 162):
$1 = nterm nvlst ()
$2 = nterm nv ()
-> $$ = nterm nvlst ()
Stack now 0 1 4
Entering state 30
Reading a token: Next token is token ENDOBJ ()
Shifting token ENDOBJ ()
Entering state 62
Reducing stack by rule 7 (line 141):
$1 = token BEGIN_INCLUDE ()
$2 = nterm nvlst ()
$3 = token ENDOBJ ()
-> $$ = nterm include ()
Stack now 0 1
Entering state 24
Reducing stack by rule 35 (line 186):
$1 = nterm include ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Reading a token: Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Next token is token PRIFILT ()
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Next token is token PRIFILT ()
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Next token is token PRIFILT ()
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Next token is token PRIFILT ()
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Next token is token PRIFILT ()
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Next token is token PRIFILT ()
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Next token is token PRIFILT ()
Shifting token PRIFILT ()
Entering state 17
Reading a token: Next token is token LEGACY_ACTION ()
Shifting token LEGACY_ACTION ()
Entering state 15
Reducing stack by rule 42 (line 194):
$1 = token LEGACY_ACTION ()
-> $$ = nterm s_act ()
Stack now 0 1 17
Entering state 28
Reducing stack by rule 39 (line 190):
$1 = nterm s_act ()
-> $$ = nterm actlst ()
Stack now 0 1 17
Entering state 27
Reading a token: Now at end of input.
Reducing stack by rule 25 (line 168):
$1 = nterm actlst ()
-> $$ = nterm stmt ()
Stack now 0 1 17
Entering state 51
Reducing stack by rule 37 (line 188):
$1 = nterm stmt ()
-> $$ = nterm block ()
Stack now 0 1 17
Entering state 52
Reducing stack by rule 32 (line 183):
$1 = token PRIFILT ()
$2 = nterm block ()
-> $$ = nterm stmt ()
Stack now 0 1
Entering state 26
Reducing stack by rule 3 (line 137):
$1 = nterm conf ()
$2 = nterm stmt ()
-> $$ = nterm conf ()
Stack now 0
Entering state 1
Now at end of input.
Shifting token $end ()
Entering state 2
Stack now 0 1 2
Cleanup: popping token $end ()
Cleanup: popping nterm conf ()
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ '[' -f file1 ']'
+ grep 'main Q' file1
5639.802753843:main thread : main Q: queue.c: starting queue
5639.803097340:main thread : main Q: queue.c: is NOT disk-assisted
5639.803212039:main thread : main Q: queue.c: params: type 0, enq-only 0, disk assisted 0, spoolDir '/var/lib/rsyslog', maxFileSz 1048576, maxQSize 100000, lqsize 0, pqsize 0, child 0, full delay 97000, light delay 70000, deq batch size 256, min deq batch size 0, high wtrmrk 80000, low wtrmrk 20000, discardmrk 98000, max wrkr 2, min msgs f. wrkr 40000 takeFlowCtlFromMsg 0
5639.803609136:main thread : wtp.c: main Q:Reg: finalizing construction of worker thread pool (numworkerThreads 2)
5639.803930533:main thread : wti.c: main Q:Reg/w0: finalizing construction of worker instance data (for 7 actions)
5639.804171431:main thread : wti.c: main Q:Reg/w1: finalizing construction of worker instance data (for 7 actions)
5639.804299930:main thread : main Q: queue.c: queue finished initialization
5639.818606811:imjournal.c : wtp.c: main Q:Reg: started with state 0, num workers now 1
5639.818874109:ffffff7f3fd0a0: debug.c: thread created, tid 1522, name 'rs:main Q:Reg'
5639.819328205:main Q:Reg/w0 : wti.c: wti 0xaaaaaac4d53330: worker starting
5639.819932600:imjournal.c : wtp.c: main Q:Reg: new worker finished initialization with state 3, num workers now 1
5639.820273497:imjournal.c : main Q: queue.c: EnqueueMsg advised worker start
5639.821150190:imjournal.c : main Q: queue.c: EnqueueMsg advised worker start
5639.821669186:imjournal.c : main Q: queue.c: EnqueueMsg advised worker start
5639.822215381:imjournal.c : main Q: queue.c: EnqueueMsg advised worker start
5639.822776977:imjournal.c : main Q: queue.c: EnqueueMsg advised worker start
5639.824098666:main Q:Reg/w0 : queue.c: DeleteProcessedBatch: we deleted 0 objects and enqueued 0 objects
5639.824273764:main Q:Reg/w0 : queue.c: rger: deleteBatchFromQStore, nElem 0
5639.824438763:main Q:Reg/w0 : queue.c: doDeleteBatch: delete batch from store, new sizes: log 5, phys 5
5639.824660361:main Q:Reg/w0 : main Q: queue.c: entry deleted, size now log 4, phys 5 entries
5639.824853559:main Q:Reg/w0 : main Q: queue.c: entry deleted, size now log 3, phys 5 entries
5639.825030258:main Q:Reg/w0 : main Q: queue.c: entry deleted, size now log 2, phys 5 entries
5639.825137957:main Q:Reg/w0 : main Q: queue.c: entry deleted, size now log 1, phys 5 entries
5639.825249456:main Q:Reg/w0 : main Q: queue.c: entry deleted, size now log 0, phys 5 entries
5639.825449854:main Q:Reg/w0 : main Q: queue.c: dequeued 5 discarded 0 QueueSize 5 consumable elements, szlog 0 sz phys 5
5639.825786852:main Q:Reg/w0 : ruleset.c: processBATCH: batch of 5 elements must be processed
5639.825941650:main Q:Reg/w0 : ruleset.c: processBATCH: next msg 0: [systemctl stop rsyslog] called by PID 1504 (bash -x oe_test_rsyslog_parameter01.sh)
5639.826102049:main Q:Reg/w0 : rainerscript.c: 5639.826138749:imjournal.c : errmsg.c: Called LogMsg, msg: imjournal: journal files changed, reloading...
5639.826346147:main Q:Reg/w0 : rainerscript.c: PRIFILT '*.info;mail.none;authpriv.none;cron.none'
5639.826480046:main Q:Reg/w0 : rainerscript.c:
5639.826676944:main Q:Reg/w0 : rainerscript.c: pmask: 7F 7F X 7F 7F 7F 7F 7F 7F
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ pgrep -f rsyslogd
+ xargs kill -9
+ SLEEP_WAIT 3
+ wait_time=3
+ cmd=
+ mode=1
+ python3 /root/mugen/libs/locallibs/sleep_wait.py --time 3 --cmd '' --mode 1
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ rsyslogd -v
+ grep rsyslogd
rsyslogd 8.2210.0 (aka 2022.10) compiled with:
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ rsyslogd -o file2
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ '[' -f file2 ']'
+ grep /etc/rsyslog.conf file2
##### BEGIN CONFIG: /etc/rsyslog.conf (put on stack)
##### END CONFIG: /etc/rsyslog.conf
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ pgrep -f rsyslogd
+ xargs kill -9
+ SLEEP_WAIT 1
+ wait_time=1
+ cmd=
+ mode=1
+ python3 /root/mugen/libs/locallibs/sleep_wait.py --time 1 --cmd '' --mode 1
+ CHECK_RESULT 0
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ rsyslogd -n
+ SLEEP_WAIT 1
+ wait_time=1
+ cmd=
+ mode=1
+ python3 /root/mugen/libs/locallibs/sleep_wait.py --time 1 --cmd '' --mode 1
+ pgrep -f rsyslogd
+ xargs kill -9
oe_test_rsyslog_parameter01.sh: line 27: 1541 Killed rsyslogd -n
+ LOG_INFO 'End to run test.'
+ message='End to run test.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End to run test.'
Mon May 22 22:27:28 2023 - INFO - End to run test.
+ CASE_RESULT 0
+ case_re=0
+ test -z ''
+ test 0 -eq 0
+ LOG_INFO 'succeed to execute the case.'
+ message='succeed to execute the case.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'succeed to execute the case.'
Mon May 22 22:27:29 2023 - INFO - succeed to execute the case.
+ exec_result=
+ exit 0
+ post_test
+ LOG_INFO 'Start to restore the test environment.'
+ message='Start to restore the test environment.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start to restore the test environment.'
Mon May 22 22:27:30 2023 - INFO - Start to restore the test environment.
+ rm -rf file1 file2
+ systemctl start rsyslog
+ LOG_INFO 'End to restore the test environment.'
+ message='End to restore the test environment.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End to restore the test environment.'
Mon May 22 22:27:31 2023 - INFO - End to restore the test environment.