-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path2023-05-25-22_05_47.log
810 lines (718 loc) · 30 KB
/
2023-05-25-22_05_47.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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
+ 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.'
Thu May 25 22:05:52 2023 - INFO - Start to prepare the test environment.
+ DNF_INSTALL 'djvulibre ImageMagick'
+ pkgs='djvulibre ImageMagick'
+ node=1
+ '[' -z '' ']'
+ tmpfile=
++ python3 /root/mugen/libs/locallibs/rpm_manage.py install --pkgs 'djvulibre ImageMagick' --node 1 --tempfile ''
+ tmpfile2=/tmp/tmpsgitiku_
+ '[' -z '' ']'
+ tmpfile=/tmp/tmpsgitiku_
+ cp ../common/test1.jpg ../common/test2.jpg ../common/test3.jpg ../common/test.pdf ./
+ 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.'
Thu May 25 22:09:43 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.'
Thu May 25 22:09:44 2023 - INFO - Start to run test.
+ any2djvu --help
+ grep Usage:
/usr/bin/any2djvu: illegal option -- -
Usage: /usr/bin/any2djvu [options] [url] {filename(s)}
+ CHECK_RESULT 0 0 0 'Check any2djvu --help failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check any2djvu --help failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ expect
spawn any2djvu http://barak.pearlmutter.net/papers mesh-preprint.ps.gz
/-- Started Thu May 25 02:09:45 PM UTC 2023: root@openeuler-riscv64, pid 550: /usr/bin/any2djvu (cwd /root/mugen/testcases/cli-test/djvulibre/oe_test_djvulibre_01)
WARNING!
any2djvu uses an external server which is willing to perform the
conversion and requires the document transfer over to that server.
There is a security issue in operating on documents not intended for
widespread distribution, which could be partially although not
completely ameliorated by using a secure web connection.
Do you acknowledge and allow the transmission of the document?
(Type 'yes' to acknowledge. You can define non-empty environment
variable DJVU_ONLINE_ACK to avoid seeing this dialog, or use -a
command line parameter to any2djvu).
[yes/no]:yes
Thu May 25 02:09:46 PM UTC 2023 Processing mesh-preprint ...
--2023-05-25 22:09:46-- http://any2djvu.djvu.org/any2djvu.php?urlupload=http://barak.pearlmutter.net/papers/mesh-preprint.ps.gz&docformat=2&resolution=400&ocr=1&legal=1
Resolving any2djvu.djvu.org (any2djvu.djvu.org)... 216.165.22.6
Connecting to any2djvu.djvu.org (any2djvu.djvu.org)|216.165.22.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’
- [<=> ] 0 --.-KB/s <!DOCTYPE HTML PUBLIC>
<html>
<head>
<title>Any2DjVu Server</title>
<style type="text/css">
<!--
.footertextmenu {
COLOR: #40556b;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.footertextmenuhead {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 11px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.lefttextmenu {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 12px;
TEXT-ALIGN: left;
TEXT-DECORATION: none;
}
.titlebanner {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 22px;
}
.titlelinks {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 18px;
TEXT-DECORATION: none;
}
//-->
</style>
<script language="JavaScript" type="text/javascript">
<!--
/************************************/
/********** Menu Functions **********/
/************************************/
function overMenu(menuItem) {
imageSrc = document.images[menuItem].src;
ending = imageSrc.substring(imageSrc.length-7);
/***** Return if no such element *****/
if (!document.images[menuItem]){
alert('oops');
return;
}
/***** Return if this is a hightlighted Image *****/
if ( ending == ".on.gif"){
return;
}
document.images[menuItem].src = "button-left.tr.gif";
return;
}
function offMenu(menuItem) {
imageSrc = document.images[menuItem].src;
ending = imageSrc.substring(imageSrc.length-7);
/***** Return if no such element *****/
if (!document.images[menuItem]){
alert('oops');
return;
}
/***** Return if this is a hightlighted Image *****/
if ( ending == ".on.gif"){
return;
}
document.images[menuItem].src = "button-left.gif";
return;
}
/************************************/
/************************************/
//-->
</script>
<style type="text/css">
<!--
.footertextmenu {
COLOR: #40556b;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.footertextmenuhead {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 11px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.lefttextmenu {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 12px;
TEXT-ALIGN: left;
TEXT-DECORATION: none;
}
.titlebanner {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 22px;
}
.titlelinks {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 18px;
TEXT-DECORATION: none;
}
//-->
</style>
</head>
<meta name="keywords" content="DjVu, document imaging, image compression, scan, image, document, web,image processing, digital library, electronic commerce, legacy document, plug-in, JPEG, TIFF, PDF">
<meta name="description" content="DjVu: The Technology for Scanned Documents on the Web">
<meta name="description" content="technology document image compression innovation, scan high-resolution page color 300 dpi, fast download of scanned documents, as fast as html, zcoder, z-coder, binary adaptive arithmetic coding, wavelet, pattern matching. download, free, non-commercial, plug-in, plugin, compressor, wavelets">
<body bgcolor="#ffffff" text="#40556b" link="#124a9c" vlink="#2c7aa4">
<font face="Arial,Helvetica" size="3">
<table width=100% border=0 cellpadding=0 cellspacing=5>
<tr>
<td width=95% valign="top">
<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#2c7aa4" background="ban_bg.gif" valign=middle><img src="ban_left.gif" width="32" height="64" border="0" align=middle><nobr><font face="Arial,Helvetica" size="5" color="#ffffff"><b><span class="titlebanner">Any2DjVu Server</span></b></font><img src="ban_bg.gif" width="32" height="64" border="0" align=middle><img src="ban_right.gif" width="187" height="64" border="0" align=middle>
<a href=index.php?title=Any2DjVu+Server><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">Any2DjVu</span></b></font></a>
<!--
<font color=white><b>|</b></font>
<a href="http://bib2web.djvuzone.org"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">Bib2Web</span></b></font></a>
<font color=white><b>|</b></font>
<a href="http://www.djvuzone.org"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">DjVuZone</span></b></font></a>
-->
<font color=white><b> | </b></font>
<a href="http://djvu.org"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">DjVu.org</span></b></font></a>
<font color=white><b> | </b></font>
<a href="http://djvu.sourceforge.net"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">DjVuLibre</span></b></font></a>
</nobr></td></tr><tr><td bgcolor="#ffffff"><img src="clear.gif" width="10" height="10" border="0"></td></tr></table><br>
<p><p>
</table>
</td>
</tr>
</table>
<table width=100% align=center cellpadding=1 cellspacing=1><td bgcolor="#2c7aa4">
<table width=100% cellspacing=0 cellpadding=4 align=center><tr><th bgcolor="#2c7aa4" colspan=8><font color=white size=+1>Your document, http://barak.pearlmutter.net/papers/mesh-preprint.ps.gz, is now being downloaded and processed by the Any2DjVu Server.</font></th></tr>
<tr><th bgcolor="#f4e8d1" colspan=8 align=left><font color="#2c7aa4"><p>Please be patient, especially with large files, which take some time to be downloaded and converted. Do not reload or stop this page unless you wish to cancel the process.<p>During the conversion, you will be able to follow a "live log" on this page of the various processes being run. When the conversion is finished, you will see the DjVu version appear near the bottom of the page.</font></th></tr></table>
</td></table><br clear=all>
</table>
</td>
</tr>
</table>
</table>
</td>
</tr>
</table>
<p><blockquote>
<p><b>Now fetching your original document from the Internet...</b><p>
<pre>
--2023-05-25 10:09:47-- http://barak.pearlmutter.net/papers/mesh-preprint.ps.gz
Resolving barak.pearlmutter.net (barak.pearlmutter.net)... 192.64.119.6
Connecting to barak.pearlmutter.net (barak.pearlmutter.net)|192.64.119.6|:80... - [ <=> ] 6.39K 29.1KB/s connected.
HTTP request sent, awaiting response... 302 Found
Location: https://golconda.cs.nuim.ie/~barak/papers/mesh-preprint.ps.gz [following]
--2023-05-25 10:09:47-- https://golconda.cs.nuim.ie/~barak/papers/mesh-preprint.ps.gz
Resolving golconda.cs.nuim.ie (golconda.cs.nuim.ie)... 149.157.245.66
Connecting to golconda.cs.nuim.ie (golconda.cs.nuim.ie)|149.157.245.66|:443... connected.
HTTP request sent, awaiting response... - [ <=> ] 6.81K 16.2KB/s 200 OK
Length: 63643 (62K) [application/x-gzip]
Saving to: '/home/apache/any2djvu.djvuzone.org/data/raw/230525/88738.230525100947.mesh-preprint.ps.gz'
0K .......... .......... .......- [ <=> ] 6.99K 10.9KB/s ... .......... .......... 80% 195K 0s
50K .......... .. 100% 253K=0.3s
2023-05-25 10:09:48 (205 KB/s) - '/home/apache/any2djvu.djvuzone.org/data/raw/230525/88738.230525100947.mesh-preprint.ps.gz' saved [63643/63643]
</pre>
<hr size=2 noshade><b>Your file has been uploaded.</b><p>
Conversion will start shortly. After conversion your document will be named <a href="djvu/230525/58.19.86.254/88738.230525100947.djvu">djvu/230525/58.19.86.254/88738.230525100947.djvu</a>.  If your browser drops the connection before the conversion terminates, you can check the above url to see if the converted document has appeared.<p>
<hr size=2 noshade>
<b>Now running DjVu Conversion...</b><p>
- [ <=> ] 7.71K 9.06KB/s <pre>
</pre><b>Now running OCR on the document...</b><p>
- [ <=> ] 8.02K 2.88KB/s <pre>
Processing page 1
Processing page 2
- [ <=> ] 8.31K 1.71KB/s </pre>
- [ <=> ] 8.32K 1.11KB/s
<b>Original file 63643 bytes; DjVu file 61675 bytes</b>
<hr size=2 noshade><b>All done! Here is your new DjVu document: <a href=djvu/230525/58.19.86.254/88738.230525100947.djvu>djvu/230525/58.19.86.254/88738.230525100947.djvu</a></b><hr size=2 noshade>
<br clear=all><object classid="clsid:0e8d0700-75df-11d3-8b4a-0008c7450c4a" width=100% height=100%> <param name="imageURL" value="djvu/230525/58.19.86.254/88738.230525100947.djvu" align="center" width="100%" height="100%" hspace="0" vspace="0"> <embed type="image/x.djvu" src="djvu/230525/58.19.86.254/88738.230525100947.djvu" align="center" width="100%" height="100%" hspace="0" vspace="0"> </embed> </object>
</blockquote>
<BR>
<p><a href="index.html"><b><i>Any2DjVu Server</i></b></a></p>
</CENTER>
</BODY>
</HTML>
- [ <=> ] 9.08K 1.20KB/s in 7.5s
2023-05-25 22:09:55 (1.20 KB/s) - written to stdout [9293]
egrep: warning: egrep is obsolescent; using grep -E
--2023-05-25 22:09:55-- http://any2djvu.djvu.org/djvu/230525/58.19.86.254/88738.230525100947.djvu
Resolving any2djvu.djvu.org (any2djvu.djvu.org)... 216.165.22.6
Connecting to any2djvu.djvu.org (any2djvu.djvu.org)|216.165.22.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 61675 (60K) [image/vnd.djvu]
Saving to: ‘mesh-preprint.djvu’
mesh-preprint.djvu 0%[ ] 0 --.-KB/s mesh-preprint.djvu 28%[====> ] 17.23K 76.4KB/s mesh-preprint.djvu 73%[=============> ] 44.19K 89.9KB/s mesh-preprint.djvu 100%[===================>] 60.23K 121KB/s in 0.5s
2023-05-25 22:09:57 (121 KB/s) - ‘mesh-preprint.djvu’ saved [61675/61675]
-rw-r--r-- 1 root root 61675 May 25 22:09 mesh-preprint.djvu
\-- Done Thu May 25 02:09:57 PM UTC 2023: root@openeuler-riscv64, pid 550: /usr/bin/any2djvu (cwd /root/mugen/testcases/cli-test/djvulibre/oe_test_djvulibre_01)
+ CHECK_RESULT 0 0 0 'Check any2djvu failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check any2djvu failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ test -f mesh-preprint.djvu
+ CHECK_RESULT 0 0 0 'Check mesh-preprint.djvu not exist.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check mesh-preprint.djvu not exist.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ expect
spawn any2djvu test.pdf
/-- Started Thu May 25 02:09:58 PM UTC 2023: root@openeuler-riscv64, pid 571: /usr/bin/any2djvu (cwd /root/mugen/testcases/cli-test/djvulibre/oe_test_djvulibre_01)
WARNING!
any2djvu uses an external server which is willing to perform the
conversion and requires the document transfer over to that server.
There is a security issue in operating on documents not intended for
widespread distribution, which could be partially although not
completely ameliorated by using a secure web connection.
Do you acknowledge and allow the transmission of the document?
(Type 'yes' to acknowledge. You can define non-empty environment
variable DJVU_ONLINE_ACK to avoid seeing this dialog, or use -a
command line parameter to any2djvu).
[yes/no]:yes
Thu May 25 02:09:58 PM UTC 2023 Processing test ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0<!DOCTYPE HTML PUBLIC>
<html>
<head>
<title>Any2DjVu Server</title>
<style type="text/css">
<!--
.footertextmenu {
COLOR: #40556b;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.footertextmenuhead {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 11px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.lefttextmenu {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 12px;
TEXT-ALIGN: left;
TEXT-DECORATION: none;
}
.titlebanner {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 22px;
}
.titlelinks {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 18px;
TEXT-DECORATION: none;
}
//-->
</style>
<script language="JavaScript" type="text/javascript">
<!--
/************************************/
/********** Menu Functions **********/
/************************************/
function overMenu(menuItem) {
imageSrc = document.images[menuItem].src;
ending = imageSrc.substring(imageSrc.length-7);
/***** Return if no such element *****/
if (!document.images[menuItem]){
alert('oops');
return;
}
/***** Return if this is a hightlighted Image *****/
if ( ending == ".on.gif"){
return;
}
document.images[menuItem].src = "button-left.tr.gif";
return;
}
function offMenu(menuItem) {
imageSrc = document.images[menuItem].src;
ending = imageSrc.substring(imageSrc.length-7);
/***** Return if no such element *****/
if (!document.images[menuItem]){
alert('oops');
return;
}
/***** Return if this is a hightlighted Image *****/
if ( ending == ".on.gif"){
return;
}
document.images[menuItem].src = "button-left.gif";
return;
}
/************************************/
/************************************/
//-->
</script>
<style type="text/css">
<!--
.footertextmenu {
COLOR: #40556b;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 10px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.footertextmenuhead {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 11px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.lefttextmenu {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 12px;
TEXT-ALIGN: left;
TEXT-DECORATION: none;
}
.titlebanner {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 22px;
}
.titlelinks {
COLOR: #ffffff;
FONT-FAMILY: Arial, Helvetica, sans-serif;
FONT-SIZE: 18px;
TEXT-DECORATION: none;
}
//-->
</style>
</head>
<meta name="keywords" content="DjVu, document imaging, image compression, scan, image, document, web,image processing, digital library, electronic commerce, legacy document, plug-in, JPEG, TIFF, PDF">
<meta name="description" content="DjVu: The Technology for Scanned Documents on the Web">
<meta name="description" content="technology document image compression innovation, scan high-resolution page color 300 dpi, fast download of scanned documents, as fast as html, zcoder, z-coder, binary adaptive arithmetic coding, wavelet, pattern matching. download, free, non-commercial, plug-in, plugin, compressor, wavelets">
<body bgcolor="#ffffff" text="#40556b" link="#124a9c" vlink="#2c7aa4">
<font face="Arial,Helvetica" size="3">
<table width=100% border=0 cellpadding=0 cellspacing=5>
<tr>
<td width=95% valign="top">
<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td bgcolor="#2c7aa4" background="ban_bg.gif" valign=middle><img src="ban_left.gif" width="32" height="64" border="0" align=middle><nobr><font face="Arial,Helvetica" size="5" color="#ffffff"><b><span class="titlebanner">Any2DjVu Server</span></b></font><img src="ban_bg.gif" width="32" height="64" border="0" align=middle><img src="ban_right.gif" width="187" height="64" border="0" align=middle>
<a href=index.php?title=Any2DjVu+Server><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">Any2DjVu<100 36807 0 5922 100 30885 4268 22263 0:00:01 0:00:01 --:--:-- 26827100 37539 0 6654 100 30885 4184 19423 0:00:01 0:00:01 --:--:-- 23819100 37872 0 6987 100 30885 2391 10571 0:00:02 0:00:02 --:--:-- 13027100 38150 0 7265 100 30885 1694 7201 0:00:04 0:00:04 --:--:-- 8926100 38668 0 7783 100 30885 1805 7166 0:00:04 0:00:04 --:--:-- 9003
/span></b></font></a>
<!--
<font color=white><b>|</b></font>
<a href="http://bib2web.djvuzone.org"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">Bib2Web</span></b></font></a>
<font color=white><b>|</b></font>
<a href="http://www.djvuzone.org"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">DjVuZone</span></b></font></a>
-->
<font color=white><b> | </b></font>
<a href="http://djvu.org"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">DjVu.org</span></b></font></a>
<font color=white><b> | </b></font>
<a href="http://djvu.sourceforge.net"><font face="Arial,Helvetica" size="0" color="#ffffff"><b><span class="titlelinks">DjVuLibre</span></b></font></a>
</nobr></td></tr><tr><td bgcolor="#ffffff"><img src="clear.gif" width="10" height="10" border="0"></td></tr></table><br>
<p><p>
</table>
</td>
</tr>
</table>
<table width=100% align=center cellpadding=1 cellspacing=1><td bgcolor="#2c7aa4">
<table width=100% cellspacing=0 cellpadding=4 align=center><tr><th bgcolor="#2c7aa4" colspan=8><font color=white size=+1>Your document, test.pdf, is now being uploaded and processed by the Any2DjVu Server.</font></th></tr>
<tr><th bgcolor="#f4e8d1" colspan=8 align=left><font color="#2c7aa4"><p>Please be patient, especially with large files, which take some time to be uploaded and converted. Do not reload or stop this page unless you wish to cancel the process.<p>During the conversion, you will be able to follow a "live log" on this page of the various processes being run. When the conversion is finished, you will see the DjVu version appear near the bottom of the page.</font></th></tr></table>
</td></table><br clear=all>
</table>
</td>
</tr>
</table>
</table>
</td>
</tr>
</table>
<p><blockquote>
<hr size=2 noshade><b>Your file has been uploaded.</b><p>
Conversion will start shortly. After conversion your document will be named <a href="djvu/230525/58.19.86.254/70280.230525101000.djvu">djvu/230525/58.19.86.254/70280.230525101000.djvu</a>.  If your browser drops the connection before the conversion terminates, you can check the above url to see if the converted document has appeared.<p>
<hr size=2 noshade>
<b>Now running DjVu Conversion...</b><p>
<pre>
</pre><b>Now running OCR on the document...</b><p>
<pre>
Processing page 1
Processing page 2
</pre>
<b>Original file 30201 bytes; DjVu file 8204 bytes</b>
<hr size=2 noshade><b>All done! Here is your new DjVu document: <a href=djvu/230525/58.19.86.254/70280.230525101000.djvu>djvu/230525/58.19.86.254/70280.230525101000.djvu</a></b><hr size=2 noshade>
<br clear=all><object classid="clsid:0e8d0700-75df-11d3-8b4a-0008c7450c4a" width=100% height=100%> <param name="imageURL" value="djvu/230525/58.19.86.254/70280.230525101000.djvu" align="center" width="100%" height="100%" hspace="0" vspace="0"> <embed type="image/x.djvu" src="djvu/230525/58.19.86.254/70280.230525101000.djvu" align="center" width="100%" height="100%" hspace="0" vspace="0"> </embed> </object>
</blockquote>
<BR>
<p><a href="index.html"><b><i>Any2DjVu Server</i></b></a></p>
</CENTER>
</BODY>
</HTML>
egrep: warning: egrep is obsolescent; using grep -E
--2023-05-25 22:10:03-- http://any2djvu.djvu.org/djvu/230525/58.19.86.254/70280.230525101000.djvu
Resolving any2djvu.djvu.org (any2djvu.djvu.org)... 216.165.22.6
Connecting to any2djvu.djvu.org (any2djvu.djvu.org)|216.165.22.6|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8204 (8.0K) [image/vnd.djvu]
Saving to: ‘test.djvu’
test.djvu 0%[ ] 0 --.-KB/s test.djvu 100%[===================>] 8.01K --.-KB/s in 0.003s
2023-05-25 22:10:04 (2.42 MB/s) - ‘test.djvu’ saved [8204/8204]
-rw-r--r-- 1 root root 8204 May 25 22:10 test.djvu
\-- Done Thu May 25 02:10:04 PM UTC 2023: root@openeuler-riscv64, pid 571: /usr/bin/any2djvu (cwd /root/mugen/testcases/cli-test/djvulibre/oe_test_djvulibre_01)
+ CHECK_RESULT 0 0 0 'Check any2djvu test.pdf failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check any2djvu test.pdf failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ test -f test.djvu
+ CHECK_RESULT 0 0 0 'Check test.djvu not exist.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check test.djvu not exist.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ bzz --help
+ grep -E 'DjVuLibre|Usage' result
BZZ --- DjVuLibre-3.5.27
Usage [encoding]: bzz -e[<blocksize>] <infile> <outfile>
Usage [decoding]: bzz -d <infile> <outfile>
+ rm -rf result
+ CHECK_RESULT 0 0 0 'Check bzz --help failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check bzz --help failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ bzz -e test.djvu bzz
+ CHECK_RESULT 0 0 0 'Check bzz -e failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check bzz -e failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ bzz -d test.djvu bzz.djvu
*** [1-11705] Corrupted decoder input.
*** (BSByteStream.cpp:188)
*** 'unsigned int DJVU::BSByteStream::Decode::decode()'
+ bzz -d bzz.djvu bzz1
+ CHECK_RESULT 0 0 0 'Check bzz -d failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check bzz -d failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ c44 --help
+ grep -E 'DjVuLibre|Usage: c44' result
C44 --- DjVuLibre-3.5.27
Usage: c44 [options] pnm-or-jpeg-file [djvufile]
+ rm -rf result
+ CHECK_RESULT 0 0 0 'Check c44 --help failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check c44 --help failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ c44 -crcbdelay 10 test1.jpg
+ CHECK_RESULT 0 0 0 'Check c44 -crcbdelay failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check c44 -crcbdelay failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ test -f test1.djvu
+ CHECK_RESULT 0 0 0 'Check test1.djvu not exist.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check test1.djvu not exist.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ c44 -crcbfull test2.jpg
+ CHECK_RESULT 0 0 0 'Check c44 -crcbfull failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check c44 -crcbfull failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ test -f test2.djvu
+ CHECK_RESULT 0 0 0 'Check test2.djvu not exist.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check test2.djvu not exist.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ convert test3.jpg test.pbm
+ c44 -crcbhalf test.pbm test4.djvu
+ CHECK_RESULT 0 0 0 'Check c44 -crcbhalf failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check c44 -crcbhalf failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ test -f test4.djvu
+ CHECK_RESULT 0 0 0 'Check test4.djvu not exist.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check test4.djvu not exist.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ c44 -crcbnone test3.jpg test5.djvu
+ CHECK_RESULT 0 0 0 'Check c44 -crcbnone failed.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check c44 -crcbnone failed.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ return 0
+ test -f test5.djvu
+ CHECK_RESULT 0 0 0 'Check test5.djvu not exist.'
+ actual_result=0
+ expect_result=0
+ mode=0
+ error_log='Check test5.djvu not exist.'
+ exit_mode=0
+ '[' -z 0 ']'
+ '[' 0 -eq 0 ']'
+ test 0x '!=' 0x
+ 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.'
Thu May 25 22:10:09 2023 - INFO - End to run test.
+ CASE_RESULT 0
+ case_re=0
+ test -z ''
+ test 0 -eq 0
+ LOG_INFO 'succeed to execute the case.'
+ message='succeed to execute the case.'
+ python3 /root/mugen/libs/locallibs/mugen_log.py --level info --message 'succeed to execute the case.'
Thu May 25 22:10:11 2023 - INFO - succeed to execute the case.
+ exec_result=
+ exit 0
+ 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.'
Thu May 25 22:10:12 2023 - INFO - Start to restore the test environment.
++ ls
++ grep -v '\.sh'
+ rm -rf bzz bzz1 bzz.djvu mesh-preprint-any2djvu.log mesh-preprint.djvu test1.djvu test1.jpg test2.djvu test2.jpg test3.jpg test4.djvu test5.djvu test-any2djvu.log test.djvu test.pbm test.pdf
+ DNF_REMOVE
+ node=1
+ pkg_list=
+ mode=0
+ [[ -z /tmp/tmpsgitiku_ ]]
+ '[' 0 -ne 0 ']'
+ '[' 1 == 0 ']'
+ python3 /root/mugen/libs/locallibs/rpm_manage.py remove --node 1 --pkgs '' --tempfile /tmp/tmpsgitiku_
+ '[' 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.'
Thu May 25 22:10:50 2023 - INFO - End to restore the test environment.