Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850898 - net-libs/libtorrent-rasterbar-2.0.7 fails test test_create_torrent
Summary: net-libs/libtorrent-rasterbar-2.0.7 fails test test_create_torrent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2022-06-09 21:45 UTC by Jonathan Lovelace
Modified: 2022-11-15 15:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-libs:libtorrent-rasterbar-2.0.6:20220609-113629.log (net-libs:libtorrent-rasterbar-2.0.6:20220609-113629.log,378.68 KB, text/x-log)
2022-06-09 21:45 UTC, Jonathan Lovelace
Details
LastTest.log (LastTest.log,607.92 KB, text/x-log)
2022-06-09 21:46 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.90 KB, text/plain)
2022-06-09 21:46 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-06-09 21:45:40 UTC
Created attachment 783785 [details]
net-libs:libtorrent-rasterbar-2.0.6:20220609-113629.log

=net-libs/libtorrent-rasterbar-2.0.6 fails one test, test_create_torrent. This test is also mentioned in bug #832424, but the output I see in the test log in that bug doesn't match the output of that test in my test log, which is as follows (I will attach the full LastTest.log):

----------------------------------------------------------
test: /var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6_build/test/te
st_create_torrent
cwd_prefix = "/var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6_build
/test/test_tmp_485_"
[/var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6/test/test_create_t
orrent.cpp.create_torrent_round_trip_empty_file]

cwd: /var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6_build/test/tes
t_tmp_485_7
test-case: /var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6/test/tes
t_create_torrent.cpp.create_torrent_round_trip_empty_file
rnd = b80473f4

***** /var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6/test/test_cre
ate_torrent.cpp:172 "TEST_ERROR: check failed: "ret == 0"" *****


***** /var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6/test/test_cre
ate_torrent.cpp:173 "TEST_ERROR: check failed: "!ec"" *****


***** /var/tmp/portage/net-libs/libtorrent-rasterbar-2.0.6/work/libtorrent-rasterbar-2.0.6/test/main.cpp
:539 "TEST_ERROR: Terminated with system_error: (3) [bdecode] "unexpected end of file in bencoded string
"" *****

Failed to remove unit test directory: No such file or directory
<end of output>
Test time =   0.08 sec
----------------------------------------------------------
Comment 1 Jonathan Lovelace 2022-06-09 21:46:15 UTC
Created attachment 783788 [details]
LastTest.log
Comment 2 Jonathan Lovelace 2022-06-09 21:46:58 UTC
Created attachment 783791 [details]
emerge-info.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-21 07:48:27 UTC
tinderbox_musl has reproduced this issue with version 2.0.7 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2022-10-24 11:46:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af247930416e012b38b8fbc8f8fbc2805162945

commit 9af247930416e012b38b8fbc8f8fbc2805162945
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 11:46:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 11:46:30 +0000

    net-libs/libtorrent-rasterbar: add 2.0.8
    
    Closes: https://bugs.gentoo.org/854603
    Closes: https://bugs.gentoo.org/850898
    Signed-off-by: Sam James <sam@gentoo.org>

 net-libs/libtorrent-rasterbar/Manifest             |  1 +
 .../libtorrent-rasterbar-2.0.8.ebuild              | 76 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)
Comment 5 Paolo Pedroni 2022-11-15 15:52:37 UTC
Not fixed. Still there in libtorrent-rasterbar-2.0.8... :/

16/105 Testing: test_create_torrent
16/105 Test: test_create_torrent
Command: "/var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8_build/test/test_create_torren
t"
Directory: /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8_build/test
"test_create_torrent" start time: Nov 15 15:17 CET
Output:
----------------------------------------------------------
test: /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8_build/test/test_create_torrent
cwd_prefix = "/var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8_build/test/test_tmp_476_"
[/var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8/test/test_create_torrent.cpp.create_to
rrent_round_trip_empty_file]

cwd: /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8_build/test/test_tmp_476_8
test-case: /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8/test/test_create_torrent.cpp
.create_torrent_round_trip_empty_file
rnd = b80473f4

***** /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8/test/test_create_torrent.cpp:170 
"TEST_ERROR: check failed: "ret == 0"" *****


***** /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8/test/test_create_torrent.cpp:171 
"TEST_ERROR: check failed: "!ec"" *****


***** /var/tmp/dortage/portage/net-libs/libtorrent-rasterbar-2.0.8/work/libtorrent-rasterbar-2.0.8/test/main.cpp:539 "TEST_ERROR: Te
rminated with system_error: (3) [bdecode] "unexpected end of file in bencoded string"" *****

Failed to remove unit test directory: No such file or directory
<end of output>
Test time =   0.01 sec
----------------------------------------------------------
Test Failed.
"test_create_torrent" end time: Nov 15 15:17 CET
"test_create_torrent" time elapsed: 00:00:00
----------------------------------------------------------