Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701546 - dev-python/flask-login-0.4.1: FAIL: test_unauthorized_uses_host_from_x_forwarded_for_header (test_login.StrictHostForRedirectsTestCase)
Summary: dev-python/flask-login-0.4.1: FAIL: test_unauthorized_uses_host_from_x_forwar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/maxcountryman/flas...
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-11-30 12:33 UTC by Andreas Sturmlechner
Modified: 2020-02-05 21:28 UTC (History)
0 users

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


Attachments
build.log (build.log,14.28 KB, text/x-log)
2019-11-30 12:33 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2019-11-30 12:33:11 UTC
Created attachment 597984 [details]
build.log

======================================================================
FAIL: test_unauthorized_uses_host_from_x_forwarded_for_header (test_login.StrictHostForRedirectsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/flask-login-0.4.1/work/flask-login-0.4.1/test_login.py", line 1537, in test_unauthorized_uses_host_from_x_forwarded_for_header
    'http://proxy.com/login?next=%2Fsecret')
AssertionError: 'http://foo.com/login?next=%2Fsecret' != 'http://proxy.com/login?next=%2Fsecret'
- http://foo.com/login?next=%2Fsecret
?        ^ ^
+ http://proxy.com/login?next=%2Fsecret
?        ^^ ^^


----------------------------------------------------------------------


Portage 2.3.80 (python 3.6.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.2.0, glibc-2.30-r3, 5.3.12-gentoo x86_64)
=================================================================
System uname: Linux-5.3.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.6
KiB Mem:    16148080 total,   4381872 free
KiB Swap:    4194292 total,   3654132 free
Timestamp of repository gentoo: Sat, 30 Nov 2019 08:45:01 +0000
Head commit of repository gentoo: e221a6527a25acc05fa7021e9e56c6e464fd3745
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo, 3.8.0::gentoo
dev-util/cmake:           3.16.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

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

a17rgentoo
    location: /home/andreas/projects/gentoo/a17rgentoo
    masters: gentoo

kde
    location: /home/andreas/projects/gentoo/kde
    masters: gentoo

qt
    location: /home/andreas/projects/gentoo/qt
    masters: gentoo

Installed sets: @binhost, @development, @fonts, @kde-applications-5, @kde-frameworks, @kde-plasma-5, @kde-sdk, @kdetools-ownage, @php-ownage, @system, @texlive13-ownage, @useful
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x android AVASYS Eizo Interbase-1.0 PUEL unRAR Q3AEULA Q3AEULA-20000111 worldofpadman intel-ucode linux-fw-redistributable no-source-code as-is bh-luxi exljbris-free freedist MSttfEULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
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/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/lib/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.lagis.at/ ftp://tux.rainside.sk/gentoo/ http://gentoo.inode.at/ http://tux.rainside.sk/gentoo/ ftp://gentoo.lagis.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en de_AT de"
MAKEOPTS="-j8"
PKGDIR="/var/lib/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 aacs acl acpi activities addressbook alsa amd64 apache2 avahi bash-completion bluetooth bluray branding bzip2 cairo caps cdda cddb cdparanoia cdr cli colord corefonts crypt cups custom-cflags custom-cpuopts cxx dbus declarative dirac discover djvu dri dts dvb dvd dvdr egl elogind emboss encode epub exif expat fam ffmpeg fftw flac fontconfig fortran ftp gd gdbm geolocation gif git glamor gpg gpm gs iconv icu id3tag idn imagemagick inotify jpeg jpeg2k kde kipi kwallet lame laptop lastfm lcms ldap libinput libnotify libtirpc lm-sensors lm_sensors lqr lzma lzo mad markdown matroska mng mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses networkmanager nls nptl offensive ogg openexr opengl openmp pam pcre pdf phonon plasma pm-utils png policykit postgres ppds qml qrcode qt5 quicktime raw readline samba schroedinger sdl seccomp secure-delete semantic-desktop share smp spamassassin spell split-usr ssl startup-notification svg syslog taglib tcpd theora threads thunderbolt tidy tiff touchpad truetype udev udisks uefi unicode upower usb v4l vaapi vcd vorbis vpx wayland webengine webp widgets x264 xattr xcb xcomposite xml xmp xpm xv xvid yaz zeroconf zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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 lbmethod_byrequests proxy proxy_balancer slotmem_shm" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon nikon pentax ptp2 ricoh" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="access backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-wallpaper2 conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager physics quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_GB en de_AT de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_4 postgres12" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_6 python3_7 python3_8" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64 arm i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel" 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
Comment 1 Larry the Git Cow gentoo-dev 2020-02-05 21:28:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=220b96adab2658d503960b430a0e1f22d12c0ff1

commit 220b96adab2658d503960b430a0e1f22d12c0ff1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2019-11-30 12:15:30 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-05 21:27:34 +0000

    dev-python/flask-login: python3_8, disable broken test, missing RDEPEND
    
    Test failed with python3_6 already.
    
    Upstream bug: https://github.com/maxcountryman/flask-login/issues/461
    
    Closes: https://bugs.gentoo.org/701546
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-python/flask-login/flask-login-0.4.1-r1.ebuild | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)