Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610828 - dev-python/waitress-1.0.1 fails tests: waitress.tests.test_adjustments.TestAdjustments waitress.tests.test_functional.SleepyThreadTests
Summary: dev-python/waitress-1.0.1 fails tests: waitress.tests.test_adjustments.TestAd...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 606362
  Show dependency tree
 
Reported: 2017-02-24 18:06 UTC by Markus Meier
Modified: 2017-11-03 16:52 UTC (History)
1 user (show)

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


Attachments
dev-python:waitress-1.0.1:20170223-201642.log (dev-python:waitress-1.0.1:20170223-201642.log,50.77 KB, text/x-log)
2017-02-24 18:06 UTC, Markus Meier
Details
dev-python:waitress-0.8.9:20170225-080635.log (dev-python:waitress-0.8.9:20170225-080635.log,50.01 KB, text/x-log)
2017-02-26 17:43 UTC, Markus Meier
Details
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2017-11-03 16:51 UTC, Toralf Förster
Details
dev-python:waitress-1.0.2:20171103-023316.log (dev-python:waitress-1.0.2:20171103-023316.log,32.05 KB, text/plain)
2017-11-03 16:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.55 KB, text/plain)
2017-11-03 16:51 UTC, Toralf Förster
Details
environment (environment,107.37 KB, text/plain)
2017-11-03 16:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.44 KB, application/x-bzip)
2017-11-03 16:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.06 KB, application/x-bzip)
2017-11-03 16:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2017-02-24 18:06:09 UTC
Created attachment 465024 [details]
dev-python:waitress-1.0.1:20170223-201642.log

* Package:    dev-python/waitress-1.0.1
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        arm elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox

>>> Test phase: dev-python/waitress-1.0.1
 * python2_7: running distutils-r1_run_phase python_test
...........E............................................................................................................................FTraceback (most recent call last):
  File "/var/tmp/portage/dev-python/waitress-1.0.1/work/waitress-1.0.1/waitress/tests/fixtureapps/getline.py", line 12, in <module>
    resp = urlopen(url)
  File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
    r = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 417, in _read_status
    raise BadStatusLine(line)
httplib.BadStatusLine: ''
.........................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_wildcard_listen (waitress.tests.test_adjustments.TestAdjustments)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/waitress-1.0.1/work/waitress-1.0.1/waitress/tests/test_adjustments.py", line 169, in test_wildcard_listen
    inst = self._makeOne(listen='*:8080')
  File "/var/tmp/portage/dev-python/waitress-1.0.1/work/waitress-1.0.1/waitress/tests/test_adjustments.py", line 78, in _makeOne
    return Adjustments(**kw)
  File "/var/tmp/portage/dev-python/waitress-1.0.1/work/waitress-1.0.1/waitress/adjustments.py", line 297, in __init__
    raise ValueError('Invalid host/port specified.')
ValueError: Invalid host/port specified.

======================================================================
FAIL: test_it (waitress.tests.test_functional.SleepyThreadTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/waitress-1.0.1/work/waitress-1.0.1/waitress/tests/test_functional.py", line 134, in test_it
    self.assertEqual(result, b'notsleepy returnedsleepy returned')
AssertionError: 'notsleepy returned' != 'notsleepy returnedsleepy returned'

----------------------------------------------------------------------
Ran 466 tests in 31.197s

FAILED (errors=1, failures=1)
 * ERROR: dev-python/waitress-1.0.1::gentoo failed (test phase):
 *   Tests fail with python2.7
 * 
 * Call stack:
 *     ebuild.sh, line  115:  Called src_test
 *   environment, line 3640:  Called distutils-r1_src_test
 *   environment, line  944:  Called _distutils-r1_run_foreach_impl 'python_test'
 *   environment, line  281:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_test'
 *   environment, line 3155:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2264:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test'
 *   environment, line 2262:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test'
 *   environment, line  552:  Called distutils-r1_run_phase 'python_test'
 *   environment, line  876:  Called python_test
 *   environment, line 3519:  Called die

Portage 2.3.3 (python 2.7.12-final-0, default/linux/arm/13.0/armv5te/desktop, gcc-4.9.4, glibc-2.23-r3, 3.10.25-gentoo armv5tel)
=================================================================
System uname: Linux-3.10.25-gentoo-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.3
KiB Mem:      513244 total,    214180 free
KiB Swap:    1535996 total,   1510176 free
Timestamp of repository gentoo: Mon, 20 Feb 2017 19:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 armv5tel-softfloat-linux-gnueabi [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.6.3::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.4::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.5-r2::gentoo, 1.6.3-r2::gentoo, 1.7.9-r3::gentoo, 1.8.5-r5::gentoo, 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.1.100/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /etc/omega.conf /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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=armv5te -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y --backtrack=3"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp session spell ssl startup-notification svg tcpd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets xattr xcb xml xv xvid 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="exynos freedreno omap" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Mike Gilbert gentoo-dev 2017-02-24 18:48:14 UTC
I cannot reproduce this.
Comment 2 Mike Gilbert gentoo-dev 2017-02-24 18:51:13 UTC
Is this a regression from current stable? Are you able to reliably reproduce it?
Comment 3 Markus Meier gentoo-dev 2017-02-26 17:43:01 UTC
Created attachment 465300 [details]
dev-python:waitress-0.8.9:20170225-080635.log

(In reply to Mike Gilbert from comment #2)
> Is this a regression from current stable? Are you able to reliably reproduce
> it?

waitress.tests.test_functional.SleepyThreadTests isn't. And it looks reproducible.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2017-04-05 07:56:06 UTC
tests are ok on armv7l.
Comment 5 Toralf Förster gentoo-dev 2017-11-03 16:51:50 UTC
appeared recently at the tinderbox image 13.0-desktop-plasma-systemd_test_20171025-203252
Comment 6 Toralf Förster gentoo-dev 2017-11-03 16:51:53 UTC
Created attachment 502072 [details]
emerge-info.txt
Comment 7 Toralf Förster gentoo-dev 2017-11-03 16:51:56 UTC
Created attachment 502074 [details]
dev-python:waitress-1.0.2:20171103-023316.log
Comment 8 Toralf Förster gentoo-dev 2017-11-03 16:51:59 UTC
Created attachment 502076 [details]
emerge-history.txt
Comment 9 Toralf Förster gentoo-dev 2017-11-03 16:52:03 UTC
Created attachment 502078 [details]
environment
Comment 10 Toralf Förster gentoo-dev 2017-11-03 16:52:06 UTC
Created attachment 502080 [details]
etc.portage.tbz2
Comment 11 Toralf Förster gentoo-dev 2017-11-03 16:52:08 UTC
Created attachment 502082 [details]
temp.tbz2