-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-05-25-16_37_42.log
272 lines (272 loc) · 9.42 KB
/
2023-05-25-16_37_42.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
+ 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 to run test.'
+ message='Start to run test.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start to run test.'
Thu May 25 16:37:43 2023 - INFO - Start to run test.
+ modinfo --help
+ grep -E 'modinfo|-'
modinfo [options] <modulename|filename> [args]
-a, --author Print only 'author'
-d, --description Print only 'description'
-l, --license Print only 'license'
-p, --parameters Print only 'parm'
-n, --filename Print only 'filename'
-0, --null Use \0 instead of \n
-m, --modname Handle argument as module name instead of alias or filename
-F, --field=FIELD Print only provided FIELD
-k, --set-version=VERSION Use VERSION instead of `uname -r`
-b, --basedir=DIR Use DIR as filesystem root for /lib/modules
-V, --version Show version
-h, --help Show this help
+ 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
+ modinfo -V
+ grep 'kmod version'
kmod version 30
+ 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
+ lsmod
+ grep '[a-zA-Z0-9]'
Module Size Used by
binfmt_misc 28672 1
ppdev 24576 0
snd_usb_audio 397312 0
snd_usbmidi_lib 45056 1 snd_usb_audio
snd_hwdep 16384 1 snd_usb_audio
snd_rawmidi 49152 1 snd_usbmidi_lib
snd_seq_device 16384 1 snd_rawmidi
rfkill 40960 0
snd_pcm 155648 1 snd_usb_audio
snd_timer 49152 1 snd_pcm
mc 77824 1 snd_usb_audio
snd 126976 7 snd_seq_device,snd_hwdep,snd_usb_audio,snd_usbmidi_lib,snd_timer,snd_pcm,snd_rawmidi
joydev 28672 0
parport_pc 40960 0
soundcore 16384 1 snd
pcspkr 16384 0
sg 49152 0
i2c_piix4 32768 0
parport 77824 2 parport_pc,ppdev
vfat 24576 1
fat 94208 1 vfat
fuse 188416 1
ext4 995328 1
mbcache 16384 1 ext4
jbd2 172032 1 ext4
bochs 20480 0
drm_vram_helper 24576 1 bochs
drm_kms_helper 217088 4 bochs,drm_vram_helper
sr_mod 28672 0
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
cdrom 81920 1 sr_mod
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
drm_ttm_helper 16384 2 bochs,drm_vram_helper
ttm 94208 2 drm_vram_helper,drm_ttm_helper
ata_generic 16384 0
drm 630784 6 drm_kms_helper,bochs,drm_vram_helper,drm_ttm_helper,ttm
ata_piix 45056 0
libata 409600 2 ata_piix,ata_generic
virtio_net 73728 0
serio_raw 20480 0
net_failover 24576 1 virtio_net
failover 16384 1 net_failover
virtio_blk 28672 2
btrfs 1839104 0
sunrpc 704512 1
xts 16384 0
lrw 16384 0
dm_crypt 61440 0
dm_round_robin 16384 0
dm_multipath 45056 1 dm_round_robin
dm_snapshot 53248 0
dm_bufio 45056 1 dm_snapshot
dm_mirror 28672 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
dm_zero 16384 0
dm_mod 188416 7 dm_crypt,dm_zero,dm_multipath,dm_log,dm_snapshot,dm_mirror,dm_bufio
linear 20480 0
raid10 73728 0
raid456 196608 0
async_raid6_recov 24576 1 raid456
async_memcpy 20480 2 raid456,async_raid6_recov
async_pq 20480 2 raid456,async_raid6_recov
async_xor 20480 3 async_pq,raid456,async_raid6_recov
async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 24576 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 16384 2 btrfs,raid456
raid1 53248 0
squashfs 69632 0
cramfs 57344 0
+ 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
+ modinfo -a dm_log
+ grep [email protected]
Joe Thornber, Heinz Mauelshagen <[email protected]>
+ 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
+ modinfo -d dm_log
+ grep device-mapper
device-mapper dirty region log
+ 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
+ modinfo -l dm_log
+ grep GPL
GPL
+ 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
+ modinfo -p raid1
+ grep -E 'max_queued_requests|int'
+ CHECK_RESULT 1
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log=
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n ''
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_modinfo.sh line 37'
+ message='oe_test_modinfo.sh line 37'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_modinfo.sh line 37'
Thu May 25 16:37:43 2023 - ERROR - oe_test_modinfo.sh line 37
+ '[' 0 -eq 1 ']'
+ return 0
+ modinfo -n dm_log
+ grep dm-log
/lib/modules/6.1.19-7.0.0.17.oe2303.x86_64/kernel/drivers/md/dm-log.ko.xz
+ 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
+ modinfo -0 dm_log
+ grep -aE 'filename|dm-log|[email protected]|:'
filename: /lib/modules/6.1.19-7.0.0.17.oe2303.x86_64/kernel/drivers/md/dm-log.ko.xz license=GPL author=Joe Thornber, Heinz Mauelshagen <[email protected]>