StreamTests test_write fails on 64-bit Gentoo Linux

Bug #514911 reported by Jonathan Lovelace
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subvertpy
Fix Released
Medium
Jelmer Vernooij

Bug Description

Output of a test run:
test_add (subvertpy.tests.test_client.TestClient) ... ok
test_get_config (subvertpy.tests.test_client.TestClient) ... ok
test_exc (subvertpy.tests.test_core.TestCore) ... ok
test_send_stream (subvertpy.tests.test_delta.DeltaTests) ... ok
test_encode_length (subvertpy.tests.test_delta.MarshallTests) ... ok
test_roundtrip_length (subvertpy.tests.test_delta.MarshallTests) ... ok
test_roundtrip_window (subvertpy.tests.test_delta.MarshallTests) ... ok
test_literal_rep (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_literal_str (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_literal_txt (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_error (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_int (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_list (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_list_mixed (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_list_nested (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_literal (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_raises (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_string (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_marshall_string_space (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_empty (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_int (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_list (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_literal (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_nospace (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_open_list (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_string (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_unmarshall_toolong (subvertpy.tests.test_marshall.TestMarshalling) ... ok
test_includes_individual (subvertpy.tests.test_properties.MergeInfoIncludeTests) ... ok
test_includes_invalid_path (subvertpy.tests.test_properties.MergeInfoIncludeTests) ... ok
test_includes_invalid_revnum (subvertpy.tests.test_properties.MergeInfoIncludeTests) ... ok
test_includes_range (subvertpy.tests.test_properties.MergeInfoIncludeTests) ... ok
test_empty (subvertpy.tests.test_properties.MergeInfoPropertyCreatorTests) ... ok
test_simple_individual (subvertpy.tests.test_properties.MergeInfoPropertyCreatorTests) ... ok
test_simple_range (subvertpy.tests.test_properties.MergeInfoPropertyCreatorTests) ... ok
test_empty (subvertpy.tests.test_properties.MergeInfoPropertyParserTests) ... ok
test_simple_individual (subvertpy.tests.test_properties.MergeInfoPropertyParserTests) ... ok
test_simple_range (subvertpy.tests.test_properties.MergeInfoPropertyParserTests) ... ok
test_simple_range_uninheritable (subvertpy.tests.test_properties.MergeInfoPropertyParserTests) ... ok
test_add_revnum_after (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_add_revnum_before (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_add_revnum_empty (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_add_revnum_extend_after (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_add_revnum_extend_before (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_add_revnum_included (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_revnum_includes_empty (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_revnum_includes_in (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_revnum_includes_oor (subvertpy.tests.test_properties.RevnumRangeTests) ... ok
test_parse_comment (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_parse_externals (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_parse_externals_space_revno (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_parse_externals_swapped (subvertpy.tests.test_properties.TestExternalsParser) ... ok
No URL specified. ... ok
No URL specified. ... ok
test_parse_relative (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_parse_repos_root_relative (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_parse_root_relative_externals (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_parse_scheme_relative_externals (subvertpy.tests.test_properties.TestExternalsParser) ... ok
test_time_from_cstring (subvertpy.tests.test_properties.TestProperties) ... ok
test_time_to_cstring (subvertpy.tests.test_properties.TestProperties) ... ok
test_client_cert (subvertpy.tests.test_ra.AuthTests) ... ok
test_client_cert_pw (subvertpy.tests.test_ra.AuthTests) ... ok
test_not_list (subvertpy.tests.test_ra.AuthTests) ... ok
test_not_registered (subvertpy.tests.test_ra.AuthTests) ... ok
test_retry (subvertpy.tests.test_ra.AuthTests) ... ok
test_server_trust (subvertpy.tests.test_ra.AuthTests) ... ok
test_set_default_password (subvertpy.tests.test_ra.AuthTests) ... ok
test_set_default_username (subvertpy.tests.test_ra.AuthTests) ... ok
test_simple (subvertpy.tests.test_ra.AuthTests) ... ok
test_username (subvertpy.tests.test_ra.AuthTests) ... ok
test_change_rev_prop (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_check_path (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_commit_file_props (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_do_diff (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_commit_editor (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_commit_editor_busy (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_commit_editor_custom_revprops (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_dir (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_file (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_file_revs (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_locations_dir (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_locations_root (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_log (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_repos_root (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_get_uuid (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_has_capability (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_latest_revnum (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_latest_revnum_one (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_reparent (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_repr (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_rev_proplist (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_stat (subvertpy.tests.test_ra.TestRemoteAccess) ... ok
test_unknown_url (subvertpy.tests.test_ra.TestRemoteAccessUnknown) ... ok
test_version_length (subvertpy.tests.test_ra.VersionTest) ... ok
test_read (subvertpy.tests.test_repos.StreamTests) ... ok
test_write (subvertpy.tests.test_repos.StreamTests) ... FAIL
test_capability (subvertpy.tests.test_repos.TestClient) ... ok
test_create (subvertpy.tests.test_repos.TestClient) ... ok
test_is_dir (subvertpy.tests.test_repos.TestClient) ... ok
test_is_file (subvertpy.tests.test_repos.TestClient) ... ok
test_open (subvertpy.tests.test_repos.TestClient) ... ok
test_paths_changed (subvertpy.tests.test_repos.TestClient) ... ok
test_rev_props (subvertpy.tests.test_repos.TestClient) ... ok
test_rev_root (subvertpy.tests.test_repos.TestClient) ... ok
test_rev_root_invalid (subvertpy.tests.test_repos.TestClient) ... ok
test_uuid (subvertpy.tests.test_repos.TestClient) ... ok
test_youngest_rev (subvertpy.tests.test_repos.TestClient) ... ok
test_version_length (subvertpy.tests.test_wc.VersionTest) ... ok
test_get_adm_dir (subvertpy.tests.test_wc.WorkingCopyTests) ... ok
test_is_entry_prop (subvertpy.tests.test_wc.WorkingCopyTests) ... ok
test_is_normal_prop (subvertpy.tests.test_wc.WorkingCopyTests) ... ok
test_is_wc_prop (subvertpy.tests.test_wc.WorkingCopyTests) ... ok

======================================================================
FAIL: test_write (subvertpy.tests.test_repos.StreamTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/subvertpy-0.7.2/work/subvertpy-0.7.2/subvertpy/tests/test_repos.py", line 87, in test_write
    self.assertEquals(0, s.write(""))
AssertionError: 0 != 9015136354304

----------------------------------------------------------------------
Ran 111 tests in 4.111s

FAILED (failures=1)

Revision history for this message
Jonathan Lovelace (kingjon3377) wrote :
Download full text (3.7 KiB)

Gentoo emerge --info:
Portage 2.1.7.16 (hardened/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-1.12.13
Timestamp of tree: Fri, 29 Jan 2010 22:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python: 2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake: 2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r2, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6b
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mtune=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3 -l5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://capitol/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb bzip2 cli cracklib crypt cscope cxx dri gdbm gpm hardened iconv ipv6 java java6 jpeg justify lm_sensors mmx modules mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pcre perl pic png pppd python readline reflection session spl sse sse2 sse3 ssl ssse3 sysfs tcpd theora truetype unicode urandom vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 rew...

Read more...

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 514911] [NEW] StreamTests test_write fails on 64-bit Gentoo Linux

What version of subvertpy are you using?

Have you tried with r2160?

  status incomplete

Cheers,

Jelmer

Jelmer Vernooij (jelmer)
Changed in subvertpy:
status: New → Incomplete
Revision history for this message
Jonathan Lovelace (kingjon3377) wrote :

This occurs with both versions in the Gentoo Portage tree, 0.7.1 and 0.7.2. The current revision passes. Bisecting reveals that this bug was fixed in revision 2160..

Changed in subvertpy:
status: Incomplete → Fix Committed
Jelmer Vernooij (jelmer)
Changed in subvertpy:
milestone: none → 0.7.3
assignee: nobody → Jelmer Vernooij (jelmer)
importance: Undecided → Medium
Jelmer Vernooij (jelmer)
Changed in subvertpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.