Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712138 - net-libs/libtorrent-rasterbar-1.2.6[test] hangs on test_web_seed_chunked test
Summary: net-libs/libtorrent-rasterbar-1.2.6[test] hangs on test_web_seed_chunked test
Status: RESOLVED OBSOLETE
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: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-03-11 14:39 UTC by Paolo Pedroni
Modified: 2021-05-27 16:59 UTC (History)
3 users (show)

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


Attachments
libtorrent-rasterbar-1.2.3:20200311-104108.log.gz (libtorrent-rasterbar-1.2.3:20200311-104108.log.gz,34.42 KB, application/gzip)
2020-03-11 14:39 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo Pedroni 2020-03-11 14:39:28 UTC
Created attachment 617968 [details]
libtorrent-rasterbar-1.2.3:20200311-104108.log.gz

...with no useful output. This is what happens when I abort the test:

PASS: test_url_seed
SKIP: test_web_seed_socks4
SKIP: test_web_seed_http
SKIP: test_web_seed_http_pw
SKIP: test_web_seed_socks5
SKIP: test_web_seed_socks5_pw
sandbox:stop  caught signal 2 in pid 4
make[3]: *** Deleting file 'test_web_seed_chunked.log'
make[3]: *** Deleting file 'test_ssl.log'
make[3]: *** [Makefile:1994: test_ssl.log] Terminated
make[2]: *** [Makefile:1850: check-TESTS] Terminated
make: *** [Makefile:627: check-recursive] Terminated


It just hangs there, seemingly forever. I've determined it's the test_ssl (and not test_web_seed_chunked) test by running with FEATURES=-distcc MAKEOPTS=-j1.

# emerge --info =net-libs/libtorrent-rasterbar-1.2.3
Portage 2.3.89 (python 3.7.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-9.2.0, glibc-2.29-r7, 5.4.24 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.24-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.6
KiB Mem:    12009972 total,    766428 free
KiB Swap:   12550140 total,  12503036 free
Timestamp of repository gentoo: Wed, 11 Mar 2020 06:45:01 +0000
Head commit of repository gentoo: 797388f33ffb34b32c2d7e70efd58b00093e4cdc
sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.33.1 p2 2.33.1) 1.16
distcc 3.3.3 x86_64-pc-linux-gnu [enabled]
ccache version 3.7.7 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.7.6::gentoo
dev-util/ccache:          3.7.7::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=7"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going y --with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=7"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup compress-build-logs config-protect-if-modified distcc distlocks ebuild-locks ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -frecord-gcc-switches -march=amdfam10 -flto=7"
GENTOO_MIRRORS="http://mirrors.evowise.com/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -flto=7"
LINGUAS="it it_IT"
MAKEOPTS="-j12 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aalib acl acpi activities adns alsa amd64 ao audiofile bash-completion bluetooth branding brotli bzip2 cairo caps cdda cddb cdparanoia cdr cli crypt css cups curl cxx dbus declarative dga djvu dri dts dvd dvdr emboss encode exif expat fbcon ffmpeg fftw flac fontconfig fortran ftp gd gdbm geoip gif gimp gmp gnutls gphoto2 gpm graphviz gtk handbook iconv icu idn imagemagick imlib ipv6 java javascript jbig jemalloc jpeg jpeg2k kde kipi kwallet lame lcms libass libnotify libsamplerate libtirpc lm_sensors lua lzma lzo mad mmap mng mp3 mp4 mpeg mplayer multilib musicbrainz ncurses nls nptl nsplugin offensive ogg openal opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qml qt5 rdesktop readline recode samba scanner sctp sdl seccomp sndfile sockets speex spell split-usr sqlite sqlite3 ssl startup-notification svg symlink syslog systemd sysvipc taglib test theora threads tidy tiff truetype udev udisks unicode upower usb vaapi vala vdpau vim-syntax vnc vorbis wavpack wayland widgets win32codecs wmf wxwidgets x264 xattr xcb xcomposite xine xml xpm xscreensaver xv xvid yahoo zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="kodak ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="it en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby25" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-libs/libtorrent-rasterbar-1.2.3::gentoo was built with the following:
USE="dht python ssl -debug -doc -examples -libressl -static-libs -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 -python2_7 -python3_6"
FEATURES="ipc-sandbox config-protect-if-modified split-elog unknown-features-warn news multilib-strict binpkg-logs parallel-fetch distcc sfperms binpkg-dostrip protect-owned usersandbox network-sandbox strict userpriv cgroup userfetch assume-digests xattr pid-sandbox binpkg-docompress compress-build-logs sandbox unmerge-logs ebuild-locks usersync merge-sync split-log unmerge-orphans preserve-libs distlocks"

# emerge -1pqv =net-libs/libtorrent-rasterbar-1.2.3
[ebuild   R   ] net-libs/libtorrent-rasterbar-1.2.3  USE="dht python ssl test* -debug -doc -examples -libressl -static-libs" PYTHON_TARGETS="python3_7 -python2_7 -python3_6"
Comment 1 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-03-14 21:15:13 UTC
Could you retry with FEATURES="-network-sandbox -distcc"? Looks like some of tests wanna have an internet.
Comment 2 Paolo Pedroni 2020-03-24 14:37:56 UTC
(In reply to Mikle Kolyada from comment #1)
> Could you retry with FEATURES="-network-sandbox -distcc"? Looks like some of
> tests wanna have an internet.

Still hangs...

I might have been wrong in pinpointing test_ssl, though. In top I get this:

3132783 portage   20   0   17,3m   4,2m   0,0   0,0   0:00.00 S                                                          `- make check-TESTS                                                                                                 
3132789 portage   20   0   12,5m   3,4m   0,0   0,0   0:00.00 S                                                              `- /bin/bash -c set +e; bases='test_primitives.log test_recheck.log test_stat_cache.log test_file.log test_pri+ 
3132798 portage   20   0   17,7m   4,6m   0,0   0,0   0:00.07 S                                                                  `- make test-suite.log TEST_LOGS=test_primitives.log test_recheck.log test_stat_cache.log test_file.log te+ 
3133440 portage   20   0   12,5m   3,4m   0,0   0,0   0:00.00 S                                                                      `- /bin/bash -c p='test_ssl'; \ b='test_ssl'; \ case $- in *e*) set +e;; esac; srcdirstrip=`echo "." |+ 
3133444 portage   20   0   12,5m   3,4m   0,0   0,0   0:00.01 S                                                                          `- /bin/bash ../build-aux/test-driver --test-name test_ssl --log-file test_ssl.log --trs-file test+ 
3133445 portage   20   0  559,3m  12,7m   0,0   0,1   0:00.43 S                                                                              `- /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.3/work/libtorrent-libtorrent-1_2_3/test/+ 
3134093 portage   20   0   12,5m   3,4m   0,0   0,0   0:00.00 S                                                                      `- /bin/bash -c p='test_web_seed_chunked'; \ b='test_web_seed_chunked'; \ case $- in *e*) set +e;; esa+ 
3134097 portage   20   0   12,5m   3,3m   0,0   0,0   0:00.00 S                                                                          `- /bin/bash ../build-aux/test-driver --test-name test_web_seed_chunked --log-file test_web_seed_c+ 
3134099 portage   20   0  367,3m  11,7m 100,0   0,1   6:25.67 S                                                                              `- /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.3/work/libtorrent-libtorrent-1_2_3/test/+ 
3134113 portage   20   0    0,0m   0,0m   0,0   0,0   0:00.20 Z                                                                                  `- [python] <defunct>                                                                       
3134154 portage   20   0   28,1m  17,0m   0,0   0,1   0:00.10 S                                                                                  `- /usr/lib/python-exec/python3.7/python ../web_server.py 5310 1 1 1 30
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-06-07 10:47:33 UTC
Those versions are gone by now, feel free to reopen if you find something new.
Comment 4 Paolo Pedroni 2020-06-08 13:16:28 UTC
The hanging test is test_web_seed_chunked.

$ ps aux | grep ^portage
portage  3425174  0.6  0.0 2240468 15720 pts/2   Sl+  14:57   0:07 /usr/bin/python3.7m /usr/lib/portage/python3.7/socks5-server.py /var/tmp/portage/.portage.3424727.net.sock
portage  3440535  0.0  0.0   2328  1568 pts/5    S+   15:02   0:00 [net-libs/libtorrent-rasterbar-1.2.6] sandbox /usr/lib/portage/python3.7/ebuild.sh test
portage  3440536  0.0  0.0  16436  7220 pts/5    S+   15:02   0:00 /bin/bash /usr/lib/portage/python3.7/ebuild.sh test
portage  3440558  0.0  0.0  16456  6804 pts/5    S+   15:02   0:00 /bin/bash /usr/lib/portage/python3.7/ebuild.sh test
portage  3440616  0.0  0.0  17208  3988 pts/5    S+   15:02   0:00 make -j12 -l6 check
portage  3440617  0.0  0.0   3044  2040 pts/5    S+   15:02   0:00 /bin/sh -c fail=; \ if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '0'; then false; elif test -n 'x86_64-pc-linux-gnu'; then true; elif test -n '4.2.1' && test -n '/var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.6/work/libtorrent-libtorrent-1_2_6'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \?]*) bs=\\; sane_makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs?]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \   failcom='fail=yes'; \ else \   failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo check-recursive | sed s/-recursive//`; \ case "check-recursive" in \   distclean-* | maintainer-clean-*) list='include/libtorrent src examples test bindings tools' ;; \   *) list='include/libtorrent src examples test bindings tools' ;; \ esac; \ for subdir in $list; do \   echo "Making $target in $subdir"; \   if test "$subdir" = "."; then \     dot_seen=yes; \     local_target="$target-am"; \   else \     local_target="$target"; \   fi; \   (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \   || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \   make  "$target-am" || exit 1; \ fi; test -z "$fail"
portage  3440628  0.0  0.0  17484  4408 pts/5    S+   15:02   0:00 make check
portage  3449256  0.0  0.0  17616  4356 pts/5    S+   15:05   0:00 make check-TESTS
portage  3449260  0.0  0.0   3044  2004 pts/5    S+   15:05   0:00 /bin/sh -c set +e; bases='test_primitives.log test_recheck.log test_stat_cache.log test_file.log test_privacy.log test_priority.log test_remove_torrent.log test_auto_unchoke.log test_checking.log test_fast_extension.log test_http_connection.log test_lsd.log test_pe_crypto.log test_pex.log test_read_piece.log test_receive_buffer.log test_resume.log test_read_resume.log test_stack_allocator.log test_ssl.log test_storage.log test_time_critical.log test_torrent.log test_tracker.log test_transfer.log test_create_torrent.log enum_if.log test_utp.log test_session.log test_web_seed.log test_web_seed_ban.log test_web_seed_chunked.log test_web_seed_http.log test_web_seed_http_pw.log test_web_seed_redirect.log test_web_seed_socks4.log test_web_seed_socks5.log test_web_seed_socks5_no_peers.log test_web_seed_socks5_pw.log test_url_seed.log test_remap_files.log test_enum_net.log test_file_progress.log test_linked_list.log test_direct_dht.log test_ffs.log test_session_params.log test_span.log test_io.log test_alloca.log'; bases=`for i in $bases; do echo $i; done | sed 's/\.log$//'`; bases=`echo $bases`; \ log_list=`for i in $bases; do echo $i.log; done`; \ trs_list=`for i in $bases; do echo $i.trs; done`; \ log_list=`echo $log_list`; trs_list=`echo $trs_list`; \ make  test-suite.log TEST_LOGS="$log_list"; \ exit $?;
portage  3449269  0.0  0.0  18164  5032 pts/5    S+   15:05   0:00 make test-suite.log TEST_LOGS=test_primitives.log test_recheck.log test_stat_cache.log test_file.log test_privacy.log test_priority.log test_remove_torrent.log test_auto_unchoke.log test_checking.log test_fast_extension.log test_http_connection.log test_lsd.log test_pe_crypto.log test_pex.log test_read_piece.log test_receive_buffer.log test_resume.log test_read_resume.log test_stack_allocator.log test_ssl.log test_storage.log test_time_critical.log test_torrent.log test_tracker.log test_transfer.log test_create_torrent.log enum_if.log test_utp.log test_session.log test_web_seed.log test_web_seed_ban.log test_web_seed_chunked.log test_web_seed_http.log test_web_seed_http_pw.log test_web_seed_redirect.log test_web_seed_socks4.log test_web_seed_socks5.log test_web_seed_socks5_no_peers.log test_web_seed_socks5_pw.log test_url_seed.log test_remap_files.log test_enum_net.log test_file_progress.log test_linked_list.log test_direct_dht.log test_ffs.log test_session_params.log test_span.log test_io.log test_alloca.log
portage  3450490  0.0  0.0   3044  1960 pts/5    S+   15:06   0:00 /bin/sh ../build-aux/test-driver --test-name test_web_seed_chunked --log-file test_web_seed_chunked.log --trs-file test_web_seed_chunked.trs --color-tests yes --enable-hard-errors yes --expect-failure no -- ./test_web_seed_chunked
portage  3450495 99.1  0.0 376120 12048 pts/5    Sl+  15:06   8:53 /var/tmp/portage/net-libs/libtorrent-rasterbar-1.2.6/work/libtorrent-libtorrent-1_2_6/test/.libs/test_web_seed_chunked
portage  3450508  0.0  0.0      0     0 pts/5    Z+   15:06   0:00 [python] <defunct>
portage  3450581  0.0  0.1  28592 16440 pts/5    S+   15:06   0:00 /usr/lib/python-exec/python3.7/python ../web_server.py 6758 1 1 1 30
Comment 5 Paolo Pedroni 2020-06-08 13:32:07 UTC
FEATURES="-network-sandbox -distcc" makes no difference...
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-05-27 16:59:12 UTC
looks obsolete