-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-06-02-13_45_58.log
274 lines (271 loc) · 14.1 KB
/
2023-06-02-13_45_58.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
+ source ../common/common_javapackages-tools.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 '' ']'
++ 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 13:45:59 2023 - INFO - Start to prepare the test environment.
+ deploy_env
+ DNF_INSTALL junit
+ pkgs=junit
+ node=1
+ '[' -z '' ']'
+ tmpfile=
++ python3 /root/mugen/libs/locallibs/rpm_manage.py install --pkgs junit --node 1 --tempfile ''
+ tmpfile2=/tmp/tmpmt80fe3t
+ '[' -z '' ']'
+ tmpfile=/tmp/tmpmt80fe3t
++ rpm -qa 'java*'
++ grep 'java-.*-openjdk'
++ awk -F - '{print $2}'
+ java_version=1.8.0
+ DNF_INSTALL 'javapackages-tools java-1.8.0-devel xmvn-resolve objectweb-asm3 beust-jcommander log4j'
+ pkgs='javapackages-tools java-1.8.0-devel xmvn-resolve objectweb-asm3 beust-jcommander log4j'
+ node=1
+ '[' -z /tmp/tmpmt80fe3t ']'
++ python3 /root/mugen/libs/locallibs/rpm_manage.py install --pkgs 'javapackages-tools java-1.8.0-devel xmvn-resolve objectweb-asm3 beust-jcommander log4j' --node 1 --tempfile /tmp/tmpmt80fe3t
+ tmpfile2='Last metadata expiration check: 0:03:16 ago on Fri 02 Jun 2023 01:43:46 PM UTC.
Package javapackages-tools-5.3.0-5.oe2303.noarch is already installed.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
beust-jcommander noarch 1.71-7.oe2303 everything 82 k
java-1.8.0-openjdk-devel x86_64 1:1.8.0.362.b09-3.oe2303 OS 9.7 M
log4j noarch 2.17.2-1.oe2303 everything 2.1 M
objectweb-asm3 noarch 3.3.1-22.oe2303 everything 394 k
xmvn-resolve noarch 3.0.0-24.oe2303 everything 23 k
Installing dependencies:
alsa-lib x86_64 1.2.8-1.oe2303 OS 460 k
jackson-annotations noarch 2.13.1-1.oe2303 everything 80 k
jackson-core noarch 2.9.8-1.oe2303 everything 321 k
jackson-databind noarch 2.9.8-9.oe2303 everything 1.2 M
java-1.8.0-openjdk x86_64 1:1.8.0.362.b09-3.oe2303 OS 379 k
libfontenc x86_64 1.1.6-1.oe2303 OS 17 k
xmvn-api noarch 3.0.0-24.oe2303 everything 75 k
xmvn-core noarch 3.0.0-24.oe2303 everything 51 k
xorg-x11-font-utils x86_64 1:7.5-44.oe2303 OS 83 k
xorg-x11-fonts-others noarch 7.5-25.oe2303 OS 7.4 M
Transaction Summary
================================================================================
Install 15 Packages
Total download size: 22 M
Installed size: 57 M
Downloading Packages:
[MIRROR] alsa-lib-1.2.8-1.oe2303.x86_64.rpm: Curl error (28): Timeout was reached for http://repo.openeuler.org/openEuler-23.03/OS/x86_64/Packages/alsa-lib-1.2.8-1.oe2303.x86_64.rpm [Connection timeout after 30000 ms]
[MIRROR] java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64.rpm: Curl error (28): Timeout was reached for http://repo.openeuler.org/openEuler-23.03/OS/x86_64/Packages/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64.rpm [Connection timeout after 30000 ms]
[MIRROR] java-1.8.0-openjdk-devel-1.8.0.362.b09-3.oe2303.x86_64.rpm: Curl error (28): Timeout was reached for http://repo.openeuler.org/openEuler-23.03/OS/x86_64/Packages/java-1.8.0-openjdk-devel-1.8.0.362.b09-3.oe2303.x86_64.rpm [Connection timeout after 30000 ms]
[MIRROR] alsa-lib-1.2.8-1.oe2303.x86_64.rpm: Curl error (28): Timeout was reached for http://repo.openeuler.org/openEuler-23.03/OS/x86_64/Packages/alsa-lib-1.2.8-1.oe2303.x86_64.rpm [Connection timeout after 30000 ms]
[MIRROR] beust-jcommander-1.71-7.oe2303.noarch.rpm: Curl error (28): Timeout was reached for http://repo.openeuler.org/openEuler-23.03/everything/x86_64/Packages/beust-jcommander-1.71-7.oe2303.noarch.rpm [Connection timeout after 30000 ms]
[MIRROR] jackson-annotations-2.13.1-1.oe2303.noarch.rpm: Curl error (28): Timeout was reached for http://repo.openeuler.org/openEuler-23.03/everything/x86_64/Packages/jackson-annotations-2.13.1-1.oe2303.noarch.rpm [Connection timeout after 30000 ms]
[FAILED] alsa-lib-1.2.8-1.oe2303.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing '\''dnf clean packages'\''.
Error: Error downloading packages:
alsa-lib-1.2.8-1.oe2303.x86_64: Cannot download, all mirrors were already tried without success'
+ '[' -z /tmp/tmpmt80fe3t ']'
+ LOG_INFO 'Finish preparing the test environment.'
+ message='Finish preparing the test environment.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Finish preparing the test environment.'
Fri Jun 2 13:48:04 2023 - INFO - Finish preparing 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 13:48:04 2023 - INFO - Start to run test.
+ build-classpath log4j
+ grep -E /usr/share/java/log4j.jar
/usr/bin/build-classpath: Could not find log4j Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
+ 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_build-classpath.sh line 31'
+ message='oe_test_build-classpath.sh line 31'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level error --message 'oe_test_build-classpath.sh line 31'
Fri Jun 2 13:48:04 2023 - ERROR - oe_test_build-classpath.sh line 31
+ '[' 0 -eq 1 ']'
+ return 0
+ build-classpath junit
+ grep -E /usr/share/java/junit.jar
/usr/share/java/junit.jar
+ 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
+ build-classpath easymock beust-jcommander
+ grep -E '/usr/share/java/easymock.jar|/usr/share/java/beust-jcommander.jar'
/usr/bin/build-classpath: Could not find beust-jcommander Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
/usr/share/java/easymock.jar
+ 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
+ build-classpath-directory --help
+ grep Usage:
Usage: find [-H] [-L] [-P] [-Olevel] [-D debugopts] [path...] [expression] Default path is the current directory; default expression is -print. Expression may consist of: operators, options, tests, and actions. Operators (decreasing precedence; -and is implicit where no others are given): ( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2 EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2 Positional options (always true): -daystart -follow -nowarn -regextype -warn Normal options (always true, specified before other expressions): -depth -files0-from FILE -maxdepth LEVELS -mindepth LEVELS -mount -noleaf -xautofs -xdev -ignore_readdir_race -noignore_readdir_race Tests (N can be +N or -N or N): -amin N -anewer FILE -atime N -cmin N -cnewer FILE -context CONTEXT -ctime N -empty -false -fstype TYPE -gid N -group NAME -ilname PATTERN -iname PATTERN -inum N -iwholename PATTERN -iregex PATTERN -links N -lname PATTERN -mmin N -mtime N -name PATTERN -newer FILE -nouser -nogroup -path PATTERN -perm [-/]MODE -regex PATTERN -readable -writable -executable -wholename PATTERN -size N[bcwkMG] -true -type [bcdpflsD] -uid N -used N -user NAME -xtype [bcdpfls] Actions: -delete -print0 -printf FORMAT -fprintf FILE FORMAT -print -fprint0 FILE -fprint FILE -ls -fls FILE -prune -quit -exec COMMAND ; -exec COMMAND {} + -ok COMMAND ; -execdir COMMAND ; -execdir COMMAND {} + -okdir COMMAND ; Other common options: --help display this help and exit --version output version information and exit Valid arguments for -D: exec, opt, rates, search, stat, time, tree, all, help Use '-D help' for a description of the options, or see find(1) Please see also the documentation at https://www.gnu.org/software/findutils/. You can report (and track progress on fixing) bugs in the "find" program via the GNU findutils bug-reporting page at https://savannah.gnu.org/bugs/?group=findutils or, if you have no web access, by sending email to <bug-findutils@gnu.org>.
+ 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
+ build-classpath-directory --version
+ grep '[0-9]'
find (GNU findutils) 4.9.0 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Eric B. Decker, James Youngman, and Kevin Dalley. Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS(FTS_CWDFD) CBO(level=2)
+ 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
+ build-classpath-directory /usr/share/java
+ tr : '\n'
+ grep /usr/share/java
/usr/share/java/easymock.jar
/usr/share/java/easymock3-test-java8.jar
/usr/share/java/objectweb-asm/asm.jar
/usr/share/java/objectweb-asm/asm-tree.jar
/usr/share/java/objectweb-asm/asm-commons.jar
/usr/share/java/objectweb-asm/asm-analysis.jar
/usr/share/java/objectweb-asm/asm-all.jar
/usr/share/java/objectweb-asm/asm-util.jar
/usr/share/java/easymock3-test-testng.jar
/usr/share/java/qdox.jar
/usr/share/java/easymock-test-testng.jar
/usr/share/java/easymock-test-java8.jar
/usr/share/java/easymock3.jar
/usr/share/java/objenesis/objenesis-tck.jar
/usr/share/java/objenesis/objenesis.jar
/usr/share/java/cglib/cglib-sample.jar
/usr/share/java/cglib/cglib.jar
/usr/share/java/hamcrest/integration.jar
/usr/share/java/hamcrest/generator.jar
/usr/share/java/hamcrest/core.jar
/usr/share/java/hamcrest/library.jar
/usr/share/java/hamcrest/all.jar
/usr/share/java/junit.jar
+ 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
+ build-classpath-directory /usr/lib
+ tr : '\n'
+ grep /usr/lib
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/localedata.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/jaccess.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/cldrdata.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/zipfs.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/nashorn.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/sunec.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/sunjce_provider.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/sunpkcs11.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/ext/dnsns.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/charsets.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/resources.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/rt.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/security/policy/limited/local_policy.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/security/policy/limited/US_export_policy.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/security/policy/unlimited/local_policy.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/security/policy/unlimited/US_export_policy.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/jce.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/jsse.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/management-agent.jar
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-3.oe2303.x86_64/jre/lib/jfr.jar
+ 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
+ LOG_INFO 'End of the test.'
+ message='End of the test.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'End of the test.'
Fri Jun 2 13:48:05 2023 - INFO - End of the test.
+ CASE_RESULT 0
+ case_re=0
+ test -z 1
+ test 1 -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 13:48:06 2023 - ERROR - failed to execute the case.
+ exit 1
+ 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 13:48:06 2023 - INFO - Start to restore the test environment.
+ clear_env
++ ls
++ grep -v .sh
+ roc=
+ rm -rf
+ DNF_REMOVE
+ node=1
+ pkg_list=
+ mode=0
+ [[ -z /tmp/tmpmt80fe3t ]]
+ '[' 0 -ne 0 ']'
+ '[' 1 == 0 ']'
+ python3 /root/mugen/libs/locallibs/rpm_manage.py remove --node 1 --pkgs '' --tempfile /tmp/tmpmt80fe3t
+ '[' 0 -ne 0 ']'
+ LOG_INFO 'Finish restoring the test environment.'
+ message='Finish restoring the test environment.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'Finish restoring the test environment.'
Fri Jun 2 13:48:14 2023 - INFO - Finish restoring the test environment.