-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-06-02-16_30_43.log
368 lines (367 loc) · 13.5 KB
/
2023-06-02-16_30_43.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
+ source common/common.sh
++ 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 function ']'
+ config_params
+ LOG_INFO 'Start to config params of the case.'
+ message='Start to config params of the case.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Start to config params of the case.'
Fri Jun 2 16:30:46 2023 - INFO - Start to config params of the case.
+ common_config_params
+ DRIVER_MEDIUMX=L80
+ DRIVER_TAPE=T10000B
+ LOG_INFO 'End to config params of the case.'
+ message='End to config params of the case.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End to config params of the case.'
Fri Jun 2 16:30:47 2023 - INFO - End to config params of the case.
++ 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.'
Fri Jun 2 16:30:47 2023 - INFO - Start to prepare the test environment.
+ common_pre
+ DNF_INSTALL 'mtx rpm-build rpmdevtools git zlib-devel'
+ pkgs='mtx rpm-build rpmdevtools git zlib-devel'
+ node=1
+ '[' -z '' ']'
+ tmpfile=
++ python3 /root/mugen/libs/locallibs/rpm_manage.py install --pkgs 'mtx rpm-build rpmdevtools git zlib-devel' --node 1 --tempfile ''
+ tmpfile2=/tmp/tmp8owluow9
+ '[' -z '' ']'
+ tmpfile=/tmp/tmp8owluow9
+ rpmdev-setuptree
+ git clone https://gitee.com/src-openeuler/mhvtl.git ./tmp/mhvtl
Cloning into './tmp/mhvtl'...
+ cp ./tmp/mhvtl/1.7-0_release.tar.gz ./tmp/mhvtl/build-kernel-module.patch ./tmp/mhvtl/build-mhvtl-module.patch /root/rpmbuild/SOURCES
+ rpmbuild -bb ./tmp/mhvtl/mhvtl-utils.spec
warning: bogus date in %changelog: Wed Dec 22 2022 lutkunpeng <[email protected]> - 1.7-3
error: Failed build dependencies:
kernel-devel is needed by mhvtl-utils-1.7-3.riscv64
RPM build warnings:
bogus date in %changelog: Wed Dec 22 2022 lutkunpeng <[email protected]> - 1.7-3
++ arch
+ dnf install '/root/rpmbuild/RPMS/riscv64/*.rpm' -y
Last metadata expiration check: 0:05:48 ago on Fri 02 Jun 2023 04:25:39 PM CST.
Can not load RPM file: /root/rpmbuild/RPMS/riscv64/*.rpm.
Could not open: /root/rpmbuild/RPMS/riscv64/*.rpm
+ systemctl start mhvtl.target
Failed to start mhvtl.target: Unit mhvtl.target not found.
+ SLEEP_WAIT 5s
+ wait_time=5s
+ cmd=
+ mode=1
+ python3 /root/mugen/libs/locallibs/sleep_wait.py --time 5s --cmd '' --mode 1
++ lsscsi -g
++ grep L80
++ grep -oE '/dev/sg.*'
common/common.sh: line 43: lsscsi: command not found
+ PATH_MEDIUMX=
++ lsscsi -g
++ grep -m 1 T10000B
common/common.sh: line 45: lsscsi: command not found
++ grep -oE '/dev/st[0-9]*'
+ PATH_TAPE=
+ common_load
+ mtx -f next
cannot open SCSI device 'next' - No such file or directory
+ 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.'
Fri Jun 2 16:31:34 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.'
Fri Jun 2 16:31:35 2023 - INFO - Start to run test.
+ common_test
+ systemctl status mhvtl.target
+ grep 'mhvtl service allowing to start/stop'
Unit mhvtl.target could not be found.
+ CHECK_RESULT 1 0 0 'mhvtl service WRONG'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='mhvtl service WRONG'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'mhvtl service WRONG'
+ LOG_ERROR 'mhvtl service WRONG'
+ message='mhvtl service WRONG'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'mhvtl service WRONG'
Fri Jun 2 16:31:36 2023 - ERROR - mhvtl service WRONG
+ (( exec_result++ ))
+ LOG_ERROR 'common/common.sh line 52'
+ message='common/common.sh line 52'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'common/common.sh line 52'
Fri Jun 2 16:31:36 2023 - ERROR - common/common.sh line 52
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f setblk 5
cannot open SCSI device 'setblk' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f setblk error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f setblk error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f setblk error'
+ LOG_ERROR 'option: -f setblk error'
+ message='option: -f setblk error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f setblk error'
Fri Jun 2 16:31:37 2023 - ERROR - option: -f setblk error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 46'
+ message='oe_test_mtx_scsitape.sh line 46'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 46'
Fri Jun 2 16:31:38 2023 - ERROR - oe_test_mtx_scsitape.sh line 46
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f fsf 0
cannot open SCSI device 'fsf' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f fsf error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f fsf error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f fsf error'
+ LOG_ERROR 'option: -f fsf error'
+ message='option: -f fsf error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f fsf error'
Fri Jun 2 16:31:38 2023 - ERROR - option: -f fsf error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 49'
+ message='oe_test_mtx_scsitape.sh line 49'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 49'
Fri Jun 2 16:31:39 2023 - ERROR - oe_test_mtx_scsitape.sh line 49
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f bsf 0
cannot open SCSI device 'bsf' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f bsf error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f bsf error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f bsf error'
+ LOG_ERROR 'option: -f bsf error'
+ message='option: -f bsf error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f bsf error'
Fri Jun 2 16:31:40 2023 - ERROR - option: -f bsf error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 52'
+ message='oe_test_mtx_scsitape.sh line 52'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 52'
Fri Jun 2 16:31:40 2023 - ERROR - oe_test_mtx_scsitape.sh line 52
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f eod
cannot open SCSI device 'eod' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f eod error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f eod error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f eod error'
+ LOG_ERROR 'option: -f eod error'
+ message='option: -f eod error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f eod error'
Fri Jun 2 16:31:41 2023 - ERROR - option: -f eod error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 55'
+ message='oe_test_mtx_scsitape.sh line 55'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 55'
Fri Jun 2 16:31:42 2023 - ERROR - oe_test_mtx_scsitape.sh line 55
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f rewind
cannot open SCSI device 'rewind' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f rewind error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f rewind error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f rewind error'
+ LOG_ERROR 'option: -f rewind error'
+ message='option: -f rewind error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f rewind error'
Fri Jun 2 16:31:42 2023 - ERROR - option: -f rewind error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 58'
+ message='oe_test_mtx_scsitape.sh line 58'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 58'
Fri Jun 2 16:31:43 2023 - ERROR - oe_test_mtx_scsitape.sh line 58
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f mark 0
cannot open SCSI device 'mark' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f mark error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f mark error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f mark error'
+ LOG_ERROR 'option: -f mark error'
+ message='option: -f mark error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f mark error'
Fri Jun 2 16:31:44 2023 - ERROR - option: -f mark error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 61'
+ message='oe_test_mtx_scsitape.sh line 61'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 61'
Fri Jun 2 16:31:44 2023 - ERROR - oe_test_mtx_scsitape.sh line 61
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f seek 0
cannot open SCSI device 'seek' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f seek error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f seek error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f seek error'
+ LOG_ERROR 'option: -f seek error'
+ message='option: -f seek error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f seek error'
Fri Jun 2 16:31:45 2023 - ERROR - option: -f seek error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 64'
+ message='oe_test_mtx_scsitape.sh line 64'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 64'
Fri Jun 2 16:31:46 2023 - ERROR - oe_test_mtx_scsitape.sh line 64
+ '[' 0 -eq 1 ']'
+ return 0
+ echo '01AB.测试。
' -f write 5 50
+ CHECK_RESULT 0 0 0 'option: -f write error'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='option: -f write error'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ scsitape -f read 5 50
cannot open SCSI device 'read' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f read error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f read error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f read error'
+ LOG_ERROR 'option: -f read error'
+ message='option: -f read error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f read error'
Fri Jun 2 16:31:46 2023 - ERROR - option: -f read error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 70'
+ message='oe_test_mtx_scsitape.sh line 70'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 70'
Fri Jun 2 16:31:47 2023 - ERROR - oe_test_mtx_scsitape.sh line 70
+ '[' 0 -eq 1 ']'
+ return 0
+ scsitape -f eject
cannot open SCSI device 'eject' - No such file or directory
+ CHECK_RESULT 1 0 0 'option: -f eject error'
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f eject error'
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f eject error'
+ LOG_ERROR 'option: -f eject error'
+ message='option: -f eject error'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f eject error'
Fri Jun 2 16:31:48 2023 - ERROR - option: -f eject error
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_scsitape.sh line 73'
+ message='oe_test_mtx_scsitape.sh line 73'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_scsitape.sh line 73'
Fri Jun 2 16:31:48 2023 - ERROR - oe_test_mtx_scsitape.sh line 73
+ '[' 0 -eq 1 ']'
+ return 0
+ 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.'
Fri Jun 2 16:31:49 2023 - INFO - End to run test.
+ CASE_RESULT 0
+ case_re=0
+ test -z 10
+ test 10 -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.'
Fri Jun 2 16:31:49 2023 - ERROR - failed to execute the case.
+ exit 10
+ 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.'
Fri Jun 2 16:31:50 2023 - INFO - Start to restore the test environment.
+ common_post
+ rm -rf ./tmp /root/rpmbuild
+ systemctl stop mhvtl.target
Failed to stop mhvtl.target: Unit mhvtl.target not loaded.
+ DNF_REMOVE
+ node=1
+ pkg_list=
+ mode=0
+ [[ -z /tmp/tmp8owluow9 ]]
+ '[' 0 -ne 0 ']'
+ '[' 1 == 0 ']'
+ python3 /root/mugen/libs/locallibs/rpm_manage.py remove --node 1 --pkgs '' --tempfile /tmp/tmp8owluow9
+ '[' 0 -ne 0 ']'
+ 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.'
Fri Jun 2 16:32:01 2023 - INFO - End to restore the test environment.