Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212983 - [FEATURES=test failure] dev-python/gdata-1.0.8 fails tests
Summary: [FEATURES=test failure] dev-python/gdata-1.0.8 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-tests
  Show dependency tree
 
Reported: 2008-03-10 20:55 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2008-03-28 06:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-03-10 20:55:58 UTC
gdata

>>> Source compiled.
 * Running ./atom/service_test.py...
testBuildUriWithNoParams (__main__.AtomServiceUnitTest) ... ok
testBuildUriWithParams (__main__.AtomServiceUnitTest) ... ok
testBuildUriWithoutParameterEscaping (__main__.AtomServiceUnitTest) ... ok
testParseHttpUrl (__main__.AtomServiceUnitTest) ... FAIL
testParseHttpUrlWithPort (__main__.AtomServiceUnitTest) ... FAIL
testParseHttpsUrl (__main__.AtomServiceUnitTest) ... FAIL
testParseHttpsUrlWithPort (__main__.AtomServiceUnitTest) ... FAIL
testParseUrlWithFullProxyURL (__main__.AtomServiceUnitTest) ... FAIL
testParseUrlWithHostOnlyProxyURL (__main__.AtomServiceUnitTest) ... FAIL
testSetBasicAuth (__main__.AtomServiceUnitTest) ... ok
testSetProxyUrlToIllegalValues (__main__.AtomServiceUnitTest) ... ERROR

======================================================================
ERROR: testSetProxyUrlToIllegalValues (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 137, in testSetProxyUrlToIllegalValues
    except atom.service.InvalidProxyUrl:
AttributeError: 'module' object has no attribute 'InvalidProxyUrl'

======================================================================
FAIL: testParseHttpUrl (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 72, in testParseHttpUrl
    self.assertEquals(path, 'http://www.google.com:80/service/subservice?name=value')
AssertionError: '/service/subservice?name=value' != 'http://www.google.com:80/service/subservice?name=value'

======================================================================
FAIL: testParseHttpUrlWithPort (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 84, in testParseHttpUrlWithPort
    self.assertEquals(path, 'http://www.google.com:12/service/subservice?name=value&newname=newvalue')
AssertionError: '/service/subservice?name=value&newname=newvalue' != 'http://www.google.com:12/service/subservice?name=value&newname=newvalue'

======================================================================
FAIL: testParseHttpsUrl (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 95, in testParseHttpsUrl
    self.assertEquals(path, 'https://www.google.com:443/service/subservice?name=value&newname=newvalue')
AssertionError: '/service/subservice?name=value&newname=newvalue' != 'https://www.google.com:443/service/subservice?name=value&newname=newvalue'

======================================================================
FAIL: testParseHttpsUrlWithPort (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 106, in testParseHttpsUrlWithPort
    self.assertEquals(path, 'https://www.google.com:13981/service/subservice?name=value&newname=newvalue')
AssertionError: '/service/subservice?name=value&newname=newvalue' != 'https://www.google.com:13981/service/subservice?name=value&newname=newvalue'

======================================================================
FAIL: testParseUrlWithFullProxyURL (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 115, in testParseUrlWithFullProxyURL
    self.assertEquals(ssl, True)
AssertionError: False != True

======================================================================
FAIL: testParseUrlWithHostOnlyProxyURL (__main__.AtomServiceUnitTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./atom/service_test.py", line 124, in testParseUrlWithHostOnlyProxyURL
    self.assert_(as.proxy_url == 'http://proxy.example.com:80')
AssertionError

----------------------------------------------------------------------
Ran 11 tests in 0.014s

FAILED (failures=6, errors=1)
 * 
 * ERROR: dev-python/gdata-1.0.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2372:  Called die
 * The specific snippet of code:
 *           "${python}" ${x} -v || die "${x} failed";
 *  The die message:
 *   ./atom/service_test.py failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-python/gdata-1.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/gdata-1.0.8/temp/environment'.
 * 


Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.24-gentoo-r3-mactel x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3-mactel x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
Timestamp of tree: Sun, 09 Mar 2008 12:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms sign splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr ja zh zh_CN"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/portage/local/layman/sunrise /home/eva/devel/overlays/gentoo-misc /home/eva/devel/overlays/gnome"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 applet avahi avi bash-completion bluetooth bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds epiphany evo ffmpeg flac fortran galago gedit glitz gnome gnutls gpm gstreamer hal iconv ipv6 isdnlog jpeg keyring laptop ldap libnotify mad matroska midi mmx mp3 mpeg mudflap nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin ntpl ogg openct opengl openmp pam pcre pdf perl png pppd python readline reflection session spell spl sse sse2 ssl svg tcpd theora threads tracker unicode v4l v4l2 vim-syntax vorbis x264 xattr xcb xinerama xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LINGUAS="en fr ja zh zh_CN" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-03-22 03:36:52 UTC
Not maintained by gnome.
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2008-03-28 06:48:53 UTC
I've add a patch from upstream svn to fix failing tests and removing some. Thanks for reporting :)