Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507548 - =dev-python/pyquery-1.2.8 bump test failure
Summary: =dev-python/pyquery-1.2.8 bump test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://github.com/gawel/pyquery/pull/63
Whiteboard:
Keywords: TESTFAILURE, UPSTREAM
Depends on: 507688
Blocks:
  Show dependency tree
 
Reported: 2014-04-13 10:00 UTC by Ian Delaney (RETIRED)
Modified: 2014-04-20 04:34 UTC (History)
0 users

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


Attachments
log of run of py27 and py32 by tox (py27.log,21.42 KB, text/x-log)
2014-04-15 02:21 UTC, Ian Delaney (RETIRED)
Details
run from the ebuild under py3.3 (pyquery-1.2.8_build.log,33.23 KB, text/x-log)
2014-04-15 03:04 UTC, Ian Delaney (RETIRED)
Details
diff -u of ebuilds (pyquery.patch,1.95 KB, patch)
2014-04-16 03:40 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2014-04-13 10:00:36 UTC
/path/to/pyquery-1.2.8 $ nosetests

OR for each py impl

/path/to/pyquery-1.2.8 $ tox

yileds

FAILED (failures=3)

see URL

The run from the ebuild requires further tweaking given

FAILED (errors=13, failures=3)

The errors=13, are spurious / gentoo induced.


Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.18-r1, 3.13.2-tuxonice x86_64)
=================================================================
System uname: Linux-3.13.2-tuxonice-x86_64-AMD_Athlon-tm-_II_X4_645_Processor-with-gentoo-2.2
KiB Mem:     8150100 total,    695768 free
KiB Swap:    1052220 total,    985984 free
Timestamp of tree: Fri, 11 Apr 2014 05:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.9, 2.7.6, 3.2.5-r3, 3.3.4, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo virtualization improvise
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA BSD AdobeFlash-11.x dlj-1.1 PUEL nauty google-talkplugin cadsoft Q3AEULA Oracle-BCLA-JavaSE AdobeFlash-10.3 Intel-SDP GPLv2 sk$
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc$
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-04-13 10:03:18 UTC
ooops rest of the emerge --info

DISTDIR="/mnt/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=7 --load-average=3.4 --keep-going --ask-enter-invalid --autounmask-unrestricted-atoms y --autounmask-write y --complete-graph y --with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.swin.edu.au/gentoo/ http://ftp.swin.edu.au/gentoo"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/mnt/gentoo/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"
PORTAGE_TMPDIR="/mnt/gen2/TmpDir"
PORTDIR="/mnt/gen2/old-portage"
PORTDIR_OVERLAY="/var/lib/layman/virtualization /var/lib/layman/improvise"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 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 gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="snd_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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="pyp-5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_2 python3_3 python3_4" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2014-04-15 02:21:47 UTC
Created attachment 374940 [details]
log of run of py27 and py32 by tox

The log here are consecutive runs in the source, outside portage, buy tox since it seems upstream rely on it (heavily) and it comes with the tox.ini all setup to to go.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-04-15 03:04:37 UTC
Created attachment 374942 [details]
run from the ebuild under py3.3

run from the ebuild by py3.3

The failures from the tox run are repeated however
we get a
Doctest: doctests.rst ... FAIL
and a string of errors from the TestAjaxSelector class in the file
tests/test_pyquery.py
which upstream do NOT.

Runs from the ebuild with targets py2.7 py3.2 are similar
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2014-04-16 03:40:29 UTC
Created attachment 375044 [details, diff]
diff -u of ebuilds

$ ebuild pyquery-1.2.8.ebuild clean test
Name                     Stmts   Miss  Cover   Missing
------------------------------------------------------
pyquery                      6      1    83%   13
pyquery.ajax                56      7    88%   34, 38-44, 53
pyquery.cssselectpatch     112     17    85%   23, 73-74, 131-132, 143-144, 149-150, 155-156, 161-162, 189, 200, 211, 223
pyquery.openers             53     12    77%   11-12, 17-18, 36-37, 42, 58, 64-66, 72
pyquery.pyquery            725     96    87%   24-25, 80-81, 83-84, 88, 94, 98, 108, 130-133, 137, 144, 174, 199, 206-207, 220, 227-228, 256, 278-279, 311-312, 328-329, 348, 352, 381-386, 393, 430, 436, 441, 671, 713, 716, 750, 753, 761, 794, 799, 892, 985, 998, 1001-1004, 1039, 1097, 1101, 1115-1118, 1121, 1124, 1133-1134, 1147, 1149, 1170, 1191-1193, 1200, 1262, 1270-1271, 1276, 1282, 1299-1310, 1316-1320, 1325, 1357, 1396-1397, 1405
pyquery.rules               20     16    20%   4-5, 9-31
------------------------------------------------------
TOTAL                      972    149    85%   
----------------------------------------------------------------------

Ran 92 tests in various times X 3.

Despite a patch for 2 failing tests being both submitted and accepted upstream I don't have it pass.  It does pass from a clone of the master of the repo,  Expect a clean run on next release.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2014-04-20 04:34:21 UTC
*pyquery-1.2.8 (20 Apr 2014)

  20 Apr 2014; Ian Delaney <idella4@gentoo.org> +pyquery-1.2.8.ebuild:
  bump; drop py26 py3.2 support, upgrade deps, test phase, closes Bug #507548