-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-06-07-11_34_09.log
200 lines (199 loc) · 7.55 KB
/
2023-06-07-11_34_09.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
+ 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.'
Wed Jun 7 11:34:11 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.'
Wed Jun 7 11:34:11 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.'
Wed Jun 7 11:34:11 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/tmpmeb94gfo
+ '[' -z '' ']'
+ tmpfile=/tmp/tmpmeb94gfo
+ 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:
gcc is needed by mhvtl-utils-1.7-3.x86_64
kernel-devel is needed by mhvtl-utils-1.7-3.x86_64
RPM build warnings:
bogus date in %changelog: Wed Dec 22 2022 lutkunpeng <[email protected]> - 1.7-3
++ arch
+ dnf install '/root/rpmbuild/RPMS/x86_64/*.rpm' -y
Last metadata expiration check: 0:00:40 ago on Wed 07 Jun 2023 11:34:18 AM UTC.
Can not load RPM file: /root/rpmbuild/RPMS/x86_64/*.rpm.
Could not open: /root/rpmbuild/RPMS/x86_64/*.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
common/common.sh: line 43: lsscsi: command not found
++ grep L80
++ grep -oE '/dev/sg.*'
+ PATH_MEDIUMX=
++ lsscsi -g
common/common.sh: line 45: lsscsi: command not found
++ grep -m 1 T10000B
++ 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.'
Wed Jun 7 11:35:04 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.'
Wed Jun 7 11:35:05 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'
Wed Jun 7 11:35:05 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'
Wed Jun 7 11:35:06 2023 - ERROR - common/common.sh line 52
+ '[' 0 -eq 1 ']'
+ return 0
+ for device in "${PATH_MEDIUMX}" "${PATH_TAPE}"
+ loaderinfo -f
+ grep 'Product Type'
Usage: loaderinfo -f <generic-device>
+ CHECK_RESULT 1 0 0 'option: -f error at '
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f error at '
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f error at '
+ LOG_ERROR 'option: -f error at '
+ message='option: -f error at '
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f error at '
Wed Jun 7 11:35:06 2023 - ERROR - option: -f error at
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_loaderinfo.sh line 46'
+ message='oe_test_mtx_loaderinfo.sh line 46'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_loaderinfo.sh line 46'
Wed Jun 7 11:35:07 2023 - ERROR - oe_test_mtx_loaderinfo.sh line 46
+ '[' 0 -eq 1 ']'
+ return 0
+ for device in "${PATH_MEDIUMX}" "${PATH_TAPE}"
+ loaderinfo -f
+ grep 'Product Type'
Usage: loaderinfo -f <generic-device>
+ CHECK_RESULT 1 0 0 'option: -f error at '
+ actual_result=1
+ expect_result=0
+ mode=0
+ error_log='option: -f error at '
+ exit_mode=0
+ '[' -z 1 ']'
+ '[' 0 -eq 0 ']'
+ test 1x '!=' 0x
+ test -n 'option: -f error at '
+ LOG_ERROR 'option: -f error at '
+ message='option: -f error at '
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'option: -f error at '
Wed Jun 7 11:35:07 2023 - ERROR - option: -f error at
+ (( exec_result++ ))
+ LOG_ERROR 'oe_test_mtx_loaderinfo.sh line 46'
+ message='oe_test_mtx_loaderinfo.sh line 46'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_mtx_loaderinfo.sh line 46'
Wed Jun 7 11:35:08 2023 - ERROR - oe_test_mtx_loaderinfo.sh line 46
+ '[' 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.'
Wed Jun 7 11:35:08 2023 - INFO - End to run test.
+ CASE_RESULT 0
+ case_re=0
+ test -z 3
+ test 3 -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.'
Wed Jun 7 11:35:08 2023 - ERROR - failed to execute the case.
+ exit 3
+ 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.'
Wed Jun 7 11:35:09 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/tmpmeb94gfo ]]
+ '[' 0 -ne 0 ']'
+ '[' 1 == 0 ']'
+ python3 /root/mugen/libs/locallibs/rpm_manage.py remove --node 1 --pkgs '' --tempfile /tmp/tmpmeb94gfo
+ '[' 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.'
Wed Jun 7 11:35:17 2023 - INFO - End to restore the test environment.