Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676622 - dev-python/future-0.16.0: TestStandardLibraryReorganization.test_urllib_request_ssl_redirect fails
Summary: dev-python/future-0.16.0: TestStandardLibraryReorganization.test_urllib_reque...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ, TESTFAILURE
Depends on: 664178
Blocks: 676448 677578
  Show dependency tree
 
Reported: 2019-01-28 10:15 UTC by Rolf Eike Beer
Modified: 2019-05-01 18:06 UTC (History)
0 users

See Also:
Package list:
dev-python/future-0.17.0 dev-python/sphinx-bootstrap-theme-0.6.5
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
build.log (dev-python_future-0.16.0_use_YMkQq,356.14 KB, text/plain)
2019-01-28 10:15 UTC, Rolf Eike Beer
no flags Details
build.log for 0.17.0 (dev-python_future-0.17.0_use_giL0w,384.57 KB, text/plain)
2019-02-28 21:31 UTC, Rolf Eike Beer
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2019-01-28 10:15:36 UTC
Created attachment 563050 [details]
build.log

self = <test_future.test_standard_library.TestStandardLibraryReorganization testMethod=test_urllib_request_ssl_redirect>

    def test_urllib_request_ssl_redirect(self):
        """
            This site redirects to https://...
            It therefore requires ssl support.
            """
        import future.moves.urllib.request as urllib_request
        from pprint import pprint
        URL = 'http://pypi.python.org/pypi/{0}/json'
        package = 'future'
>       r = urllib_request.urlopen(URL.format(package))

tests/test_future/test_standard_library.py:332: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python2.7/urllib2.py:154: in urlopen
    return opener.open(url, data, timeout)
/usr/lib/python2.7/urllib2.py:435: in open
    response = meth(req, response)
/usr/lib/python2.7/urllib2.py:548: in http_response
    'http', request, response, code, msg, hdrs)
/usr/lib/python2.7/urllib2.py:473: in error
    return self._call_chain(*args)
/usr/lib/python2.7/urllib2.py:407: in _call_chain
    result = func(*args)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <urllib2.HTTPDefaultErrorHandler instance at 0xf4e0f5d0>, req = <urllib2.Request instance at 0xf4e27198>, fp = <addinfourl at 4108481280L whose fp = <socket._fileobject object at 0xf4e171f0>>, code = 403, msg = 'SSL is required'
hdrs = <httplib.HTTPMessage instance at 0xf4e27350>

    def http_error_default(self, req, fp, code, msg, hdrs):
>       raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
E       HTTPError: HTTP Error 403: SSL is required


Portage 2.3.51 (python 2.7.15-final-0, default/linux/sparc/17.0, gcc-8.2.0, glibc-2.27-r6, 4.16.8 sparc64)
=================================================================
System uname: Linux-4.16.8-sparc64-sun4v-with-gentoo-2.4.1
KiB Mem:    33133328 total,  13579336 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Mon, 28 Jan 2019 01:15:01 +0000
sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-verify-commit-signature: yes

ACCEPT_KEYWORDS="sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=niagara2 -pipe -Wcast-align"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
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.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/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 -mcpu=niagara2 -pipe -Wcast-align"
DISTDIR="/usr/portage/distfiles"
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=""
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l40"
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="acl berkdb big-endian bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline sparc ssl tcpd unicode xattr zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev glint mga r128 radeon dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matt Turner gentoo-dev 2019-02-11 00:42:03 UTC
I've added future-0.17.0 to the tree. Please check if the failures are fixed in that version (it passes all tests for me on amd64).
Comment 2 Rolf Eike Beer archtester 2019-02-11 18:24:03 UTC
0.17.0 works
Comment 3 Matt Turner gentoo-dev 2019-02-28 18:30:34 UTC
mgorny says to go ahead with 0.17.0 stabilization.
Comment 4 Stabilization helper bot gentoo-dev 2019-02-28 19:01:32 UTC
An automated check of this bug failed - repoman reported dependency errors (42 lines truncated): 

> dependency.bad dev-python/future/future-0.17.0.ebuild: BDEPEND: alpha(default/linux/alpha/17.0) ['dev-python/sphinx-bootstrap-theme[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)]']
> dependency.bad dev-python/future/future-0.17.0.ebuild: BDEPEND: alpha(default/linux/alpha/17.0/desktop) ['dev-python/sphinx-bootstrap-theme[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)]']
> dependency.bad dev-python/future/future-0.17.0.ebuild: BDEPEND: alpha(default/linux/alpha/17.0/desktop/gnome) ['dev-python/sphinx-bootstrap-theme[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-)]']
Comment 5 Stabilization helper bot gentoo-dev 2019-02-28 20:02:25 UTC
An automated check of this bug succeeded - the previous repoman errors are now resolved.
Comment 6 Rolf Eike Beer archtester 2019-02-28 21:31:45 UTC
Created attachment 567102 [details]
build.log for 0.17.0

Break with 0.17.0 now, too.
Comment 7 Rolf Eike Beer archtester 2019-03-01 17:26:55 UTC
Ok, this breakage is because of network-sandbox. Works fine with that disabled.
Comment 8 Mike Gilbert gentoo-dev 2019-03-01 20:17:10 UTC
(In reply to Rolf Eike Beer from comment #7)

Thanks. The only change we would likely make would be to disable the tests that require network access. Not a stable blocker in my opinion.
Comment 9 Matt Turner gentoo-dev 2019-03-02 20:03:12 UTC
ia64 stable
Comment 10 Matt Turner gentoo-dev 2019-03-02 21:28:58 UTC
alpha stable
Comment 11 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-03-03 06:29:30 UTC
amd64 stable
Comment 12 Matt Turner gentoo-dev 2019-03-05 06:23:01 UTC
ppc/ppc64 stable
Comment 13 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-09 19:19:34 UTC
x86 stable
Comment 14 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-03-16 14:45:50 UTC
arm stable
Comment 15 Rolf Eike Beer archtester 2019-03-16 19:33:51 UTC
sparc stable
Comment 16 Mart Raudsepp gentoo-dev 2019-04-05 09:25:15 UTC
arm64 stable, despite a remaining non-network related test failure in bug 665336 (which happens with previous stable too, and more)
Comment 17 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-04-28 20:40:25 UTC
s390 stable
Comment 18 Matt Turner gentoo-dev 2019-05-01 18:06:24 UTC
hppa stable