Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtorrent 2.0.10 - Unit tests / test_flags fails on FreeBSD 14.0-RELEASE #7628

Open
diizzyy opened this issue Feb 20, 2024 · 2 comments
Open

Comments

@diizzyy
Copy link

diizzyy commented Feb 20, 2024

libtorrent version (or branch):
2.0.10

platform/architecture:
amd64

compiler and compiler version (included in base):
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
Compiled with -DCMAKE_CXX_STANDARD=17

How to reproduce:
Run unit tests

29/106 Testing: test_flags
29/106 Test: test_flags
Command: "/usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test/test_flags"
Directory: /usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test
"test_flags" start time: Feb 20 00:20 CET
Output:
----------------------------------------------------------
test: /usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test/test_flags
cwd_prefix = "/usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test/test_tmp_41461_"
^[[1m[/usr/ports/net-p2p/libtorrent-rasterbar2/work/libtorrent-2.0.10/test/test_flags.cpp.flag_super_seeding]^[[0m

cwd: /usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test/test_tmp_41461_6
test-case: /usr/ports/net-p2p/libtorrent-rasterbar2/work/libtorrent-2.0.10/test/test_flags.cpp.flag_super_seeding
rnd = b80473f4
[log] start session
[log] version: 2.0.10.0 revision: dacf64c50
[log] max-connections: 200 max-files: 470673
[log]  *** session thread init
[log]  done starting session
[log] RECALCULATE UNCHOKE SLOTS: [ peers: 0 eligible-peers: 0 allowed-slots: 8 ]
[log] update listen interfaces: 0.0.0.0:6881,[::]:6881
[log] parsed listen interfaces count: 2, ifaces: 0.0.0.0:6881,[::]:6881
[log] not starting DHT announce timer: m_dht == nullptr
[log] about to stop DHT, running: false
[log] reopen listen sockets
[log] attempting to open listen socket to: 127.0.0.1:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: 127.0.0.1 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: 172.28.65.176:6881 on device: hn0 accept-incoming expanded-ip
[log]  listening on: 172.28.65.176 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: [::1]:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: ::1 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: [fe80::1%lo0]:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: fe80::1%lo0 TCP port: 6881 UDP port: 6881
[listen_succeeded] successfully listening on [TCP] 127.0.0.1:6881
[listen_succeeded] successfully listening on [uTP] 127.0.0.1:6881
[listen_succeeded] successfully listening on [TCP] 172.28.65.176:6881
[listen_succeeded] successfully listening on [uTP] 172.28.65.176:6881
[listen_succeeded] successfully listening on [TCP] [::1]:6881
[listen_succeeded] successfully listening on [uTP] [::1]:6881
[listen_succeeded] successfully listening on [TCP] [fe80::1%lo0]:6881
[listen_succeeded] successfully listening on [uTP] [fe80::1%lo0]:6881
[log] >>> SET_DSCP [ tcp (127.0.0.1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (127.0.0.1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (172.28.65.176 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (172.28.65.176 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (::1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (::1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (fe80::1%lo0 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (fe80::1%lo0 6881) value: 4 e: No error: 0 ]
[torrent_added] temp added
[torrent_log] temp: creating torrent: temp max-uploads: 16777215 max-connections: 16777215 upload-limit: -1 download-limit: -1 flags: super-seeding  save-path: /usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test/test_tmp_41461_6
[torrent_log] temp: *** UPDATE LIST [ torrent_want_tick : 1 ]
[torrent_log] temp: init torrent: temp
[torrent_log] temp: init, async_check_files
[add_torrent] added torrent: temp
[log] received error on_ip_change: 45, Operation not supported

^[[41m***** /usr/ports/net-p2p/libtorrent-rasterbar2/work/libtorrent-2.0.10/test/test_flags.cpp:118 "TEST_ERROR: h.flags() & flags: 0 expected: 256" *****^[[0m

[log] start session
[log] version: 2.0.10.0 revision: dacf64c50
[log] max-connections: 200 max-files: 470673
[log]  *** session thread init
[log]  done starting session
[log] RECALCULATE UNCHOKE SLOTS: [ peers: 0 eligible-peers: 0 allowed-slots: 8 ]
[log] update listen interfaces: 0.0.0.0:6881,[::]:6881
[log] parsed listen interfaces count: 2, ifaces: 0.0.0.0:6881,[::]:6881
[log] not starting DHT announce timer: m_dht == nullptr
[log] about to stop DHT, running: false
[log] reopen listen sockets
[log] attempting to open listen socket to: 127.0.0.1:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: 127.0.0.1 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: 172.28.65.176:6881 on device: hn0 accept-incoming expanded-ip
[log]  listening on: 172.28.65.176 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: [::1]:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: ::1 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: [fe80::1%lo0]:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: fe80::1%lo0 TCP port: 6881 UDP port: 6881
[listen_succeeded] successfully listening on [TCP] 127.0.0.1:6881
[listen_succeeded] successfully listening on [uTP] 127.0.0.1:6881
[listen_succeeded] successfully listening on [TCP] 172.28.65.176:6881
[listen_succeeded] successfully listening on [uTP] 172.28.65.176:6881
[listen_succeeded] successfully listening on [TCP] [::1]:6881
[listen_succeeded] successfully listening on [uTP] [::1]:6881
[listen_succeeded] successfully listening on [TCP] [fe80::1%lo0]:6881
[listen_succeeded] successfully listening on [uTP] [fe80::1%lo0]:6881
[log] >>> SET_DSCP [ tcp (127.0.0.1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (127.0.0.1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (172.28.65.176 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (172.28.65.176 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (::1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (::1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (fe80::1%lo0 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (fe80::1%lo0 6881) value: 4 e: No error: 0 ]
[torrent_added] temp added
[torrent_log] temp: creating torrent: temp max-uploads: 16777215 max-connections: 16777215 upload-limit: -1 download-limit: -1 flags: super-seeding  save-path: /usr/ports/net-p2p/libtorrent-rasterbar2/work/.build/test/test_tmp_41461_6
[torrent_log] temp: *** UPDATE LIST [ torrent_want_tick : 1 ]
[torrent_log] temp: init torrent: temp
[torrent_log] temp: init, async_check_files
[add_torrent] added torrent: temp
[log] received error on_ip_change: 45, Operation not supported
[torrent_log] temp: fastresume data accepted
[state_changed] temp: state changed to: downloading
[torrent_log] temp: set_state() 3
[torrent_checked] temp checked
[torrent_log] temp: *** announce: no trackers
[log] start session
[log] version: 2.0.10.0 revision: dacf64c50
[log] max-connections: 200 max-files: 470673
[log]  *** session thread init
[log]  done starting session
[log] RECALCULATE UNCHOKE SLOTS: [ peers: 0 eligible-peers: 0 allowed-slots: 8 ]
[log] update listen interfaces: 0.0.0.0:6881,[::]:6881
[log] parsed listen interfaces count: 2, ifaces: 0.0.0.0:6881,[::]:6881
[log] not starting DHT announce timer: m_dht == nullptr
[log] about to stop DHT, running: false
[log] reopen listen sockets
[log] attempting to open listen socket to: 127.0.0.1:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: 127.0.0.1 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: 172.28.65.176:6881 on device: hn0 accept-incoming expanded-ip
[log]  listening on: 172.28.65.176 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: [::1]:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: ::1 TCP port: 6881 UDP port: 6881
[log] attempting to open listen socket to: [fe80::1%lo0]:6881 on device: lo0 local-network accept-incoming expanded-ip
[log]  listening on: fe80::1%lo0 TCP port: 6881 UDP port: 6881
[listen_succeeded] successfully listening on [TCP] 127.0.0.1:6881
[listen_succeeded] successfully listening on [uTP] 127.0.0.1:6881
[listen_succeeded] successfully listening on [TCP] 172.28.65.176:6881
[listen_succeeded] successfully listening on [uTP] 172.28.65.176:6881
[listen_succeeded] successfully listening on [TCP] [::1]:6881
[listen_succeeded] successfully listening on [uTP] [::1]:6881
[listen_succeeded] successfully listening on [TCP] [fe80::1%lo0]:6881
[listen_succeeded] successfully listening on [uTP] [fe80::1%lo0]:6881
[log] >>> SET_DSCP [ tcp (127.0.0.1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (127.0.0.1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (172.28.65.176 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (172.28.65.176 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (::1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (::1 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ tcp (fe80::1%lo0 6881) value: 4 e: No error: 0 ]
[log] >>> SET_DSCP [ udp (fe80::1%lo0 6881) value: 4 e: No error: 0 ]
[torrent_added] temp added
[torrent_log] temp: creating torrent: temp max-uploads: 16777215 max-connections: 16777215 upload-limit: -1 download-limit: -1 flags: seed-mode upload-mode share-mode apply-ip-filter paused auto-managed update-subscribe sequential-download override-trackers override-web-seeds  save-path: /usr/ports/net-p2p/libtorren
[torrent_log] temp: *** UPDATE LIST [ torrent_want_scrape : 1 ]
[torrent_log] temp: init torrent: temp
[torrent_log] temp: fastresume data accepted
[state_changed] temp: state changed to: finished
[torrent_finished] temp torrent finished downloading
[torrent_log] temp: *** UPDATE LIST [ torrent_seeding_auto_managed : 1 ]
[torrent_log] temp: set_state() 4
[torrent_log] temp: stop_when_ready triggered
[torrent_log] temp: *** UPDATE LIST [ torrent_want_scrape : 0 ]
[torrent_log] temp: *** UPDATE LIST [ torrent_seeding_auto_managed : 0 ]
[state_changed] temp: state changed to: seeding
[torrent_log] temp: set_state() 5
[torrent_checked] temp checked
[torrent_log] temp: start_announcing(), paused
[add_torrent] added torrent: temp
[log] received error on_ip_change: 45, Operation not supported
[cache_flushed] temp
<end of output>
Test time =   0.72 sec
----------------------------------------------------------
Test Failed.
"test_flags" end time: Feb 20 00:20 CET
"test_flags" time elapsed: 00:00:00
----------------------------------------------------------
@diizzyy diizzyy changed the title Unit tests / test_flags fails on FreeBSD 14.0-RELEASE libtorrent 2.0.10 - Unit tests / test_flags fails on FreeBSD 14.0-RELEASE Feb 20, 2024
@arvidn
Copy link
Owner

arvidn commented Feb 24, 2024

this test is flaky. does it fail consistently for you?

@diizzyy
Copy link
Author

diizzyy commented Feb 24, 2024

No, it's inconsistent unfortunately running it a few more times

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants