-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-05-30-18_56_11.log
231 lines (231 loc) · 8.33 KB
/
2023-05-30-18_56_11.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
+ 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 '' ']'
+ trap POST_TEST_DEFAULT EXIT INT HUP TERM
+ rpm -qa
+ grep expect
++ type -t config_params
+ '[' -n '' ']'
++ type -t pre_test
+ '[' -n '' ']'
++ type -t run_test
+ '[' -n function ']'
+ run_test
+ LOG_INFO 'Start testing...'
+ message='Start testing...'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start testing...'
Tue May 30 18:56:19 2023 - INFO - Start testing...
+ dmidecode -h
+ grep -i 'Usage: dmidecode'
oe_test_dmidecode.sh: line 25: dmidecode: command not found
+ CHECK_RESULT 1 0 0 'dmidecode -h fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -h fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -h fail'
+ LOG_ERROR 'dmidecode -h fail'
+ message='dmidecode -h fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -h fail'
Tue May 30 18:56:20 2023 - ERROR - dmidecode -h fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 26'
+ message='oe_test_dmidecode.sh line 26'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 26'
Tue May 30 18:56:22 2023 - ERROR - oe_test_dmidecode.sh line 26
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t system
oe_test_dmidecode.sh: line 27: dmidecode: command not found
+ grep -i 'Getting SMBIOS data from sysfs'
+ CHECK_RESULT 1 0 0 'dmidecode -t system fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t system fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t system fail'
+ LOG_ERROR 'dmidecode -t system fail'
+ message='dmidecode -t system fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t system fail'
Tue May 30 18:56:24 2023 - ERROR - dmidecode -t system fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 28'
+ message='oe_test_dmidecode.sh line 28'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 28'
Tue May 30 18:56:25 2023 - ERROR - oe_test_dmidecode.sh line 28
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t bios
+ grep -i 'Getting SMBIOS data from sysfs'
oe_test_dmidecode.sh: line 29: dmidecode: command not found
+ CHECK_RESULT 1 0 0 'dmidecode -t bios fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t bios fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t bios fail'
+ LOG_ERROR 'dmidecode -t bios fail'
+ message='dmidecode -t bios fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t bios fail'
Tue May 30 18:56:27 2023 - ERROR - dmidecode -t bios fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 30'
+ message='oe_test_dmidecode.sh line 30'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 30'
Tue May 30 18:56:29 2023 - ERROR - oe_test_dmidecode.sh line 30
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t baseboard
+ grep -i 'Getting SMBIOS data from sysfs'
oe_test_dmidecode.sh: line 31: dmidecode: command not found
+ CHECK_RESULT 1 0 0 'dmidecode -t baseboard fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t baseboard fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t baseboard fail'
+ LOG_ERROR 'dmidecode -t baseboard fail'
+ message='dmidecode -t baseboard fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t baseboard fail'
Tue May 30 18:56:31 2023 - ERROR - dmidecode -t baseboard fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 32'
+ message='oe_test_dmidecode.sh line 32'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 32'
Tue May 30 18:56:33 2023 - ERROR - oe_test_dmidecode.sh line 32
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t chassis
oe_test_dmidecode.sh: line 33: dmidecode: command not found
+ grep -i 'Getting SMBIOS data from sysfs'
+ CHECK_RESULT 1 0 0 'dmidecode -t chassis fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t chassis fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t chassis fail'
+ LOG_ERROR 'dmidecode -t chassis fail'
+ message='dmidecode -t chassis fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t chassis fail'
Tue May 30 18:56:35 2023 - ERROR - dmidecode -t chassis fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 34'
+ message='oe_test_dmidecode.sh line 34'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 34'
Tue May 30 18:56:37 2023 - ERROR - oe_test_dmidecode.sh line 34
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t processor
+ grep -i 'Getting SMBIOS data from sysfs'
oe_test_dmidecode.sh: line 35: dmidecode: command not found
+ CHECK_RESULT 1 0 0 'dmidecode -t processor fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t processor fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t processor fail'
+ LOG_ERROR 'dmidecode -t processor fail'
+ message='dmidecode -t processor fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t processor fail'
Tue May 30 18:56:39 2023 - ERROR - dmidecode -t processor fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 36'
+ message='oe_test_dmidecode.sh line 36'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 36'
Tue May 30 18:56:41 2023 - ERROR - oe_test_dmidecode.sh line 36
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t memory
+ grep -i 'Getting SMBIOS data from sysfs'
oe_test_dmidecode.sh: line 37: dmidecode: command not found
+ CHECK_RESULT 1 0 0 'dmidecode -t memory fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t memory fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t memory fail'
+ LOG_ERROR 'dmidecode -t memory fail'
+ message='dmidecode -t memory fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t memory fail'
Tue May 30 18:56:43 2023 - ERROR - dmidecode -t memory fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 38'
+ message='oe_test_dmidecode.sh line 38'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 38'
Tue May 30 18:56:45 2023 - ERROR - oe_test_dmidecode.sh line 38
+ '[' 0 -eq 1 ']'
+ return 0
+ dmidecode -t cache
+ grep -i 'Getting SMBIOS data from sysfs'
oe_test_dmidecode.sh: line 39: dmidecode: command not found
+ CHECK_RESULT 1 0 0 'dmidecode -t cache fail'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='dmidecode -t cache fail'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'dmidecode -t cache fail'
+ LOG_ERROR 'dmidecode -t cache fail'
+ message='dmidecode -t cache fail'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'dmidecode -t cache fail'
Tue May 30 18:56:46 2023 - ERROR - dmidecode -t cache fail
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_dmidecode.sh line 40'
+ message='oe_test_dmidecode.sh line 40'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_dmidecode.sh line 40'
Tue May 30 18:56:49 2023 - ERROR - oe_test_dmidecode.sh line 40
+ '[' 0 -eq 1 ']'
+ return 0
+ LOG_INFO 'Finish test!'
+ message='Finish test!'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Finish test!'
Tue May 30 18:56:51 2023 - INFO - Finish test!
+ CASE_RESULT 0
+ case_re=0
+ test -z 8
+ test 8 -gt 0
+ LOG_ERROR 'failed to execute the case.'
+ message='failed to execute the case.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'failed to execute the case.'
Tue May 30 18:56:53 2023 - ERROR - failed to execute the case.
+ exit 8
+ POST_TEST_DEFAULT
+ LOG_INFO 'oe_test_dmidecode.sh post_test'
+ message='oe_test_dmidecode.sh post_test'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'oe_test_dmidecode.sh post_test'
Tue May 30 18:56:55 2023 - INFO - oe_test_dmidecode.sh post_test