Can't run the full test suite on windows

Bug #528443 reported by Vincent Ladeuil
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Vincent Ladeuil

Bug Description

Running './bzr selftest -x TestBreakin --parallel=fork' produces:

While running: bzrlib.tests.blackbox.test_dump_btree.TestDumpBtree.test_dump_btree_http_smoke
bzr: ERROR: [Errno 22] Invalid argument

Revision history for this message
Vincent Ladeuil (vila) wrote :
Changed in bzr:
status: New → Confirmed
tags: added: babune
Revision history for this message
Martin Pool (mbp) wrote :

This kind of bug bothers me because it seems so vague, though I guess the link to the log makes it less so. I'd rather see the traceback for the particular test that fails.

tags: added: selftest win32
Changed in bzr:
importance: Undecided → Medium
Revision history for this message
Martin Packman (gz) wrote :

Worked on this this week, and once a couple more branches have landed, the remaining issues are all in one of these styles:

    ...
      File "c:\Python25\lib\threading.py", line 440, in start
        _start_new_thread(self.__bootstrap, ())
    error: can't start new thread

This is bug 392127 and can't be worked around with fork on windows, but running fewer tests at once helps.

    ...
      File "...\bzrlib\bundle\serializer\v4.py", line 51, in __init__
        self._compressor = bz2.BZ2Compressor()
    MemoryError

Probably knock on from using up all the stack with unterminated threads.

    _StringException: lost connection during error report of test 'bzrlib.tests.test_transform.TestFileMover.test_file_mover_rollback'

Think this one is caused by testtools falling over when there's an exception in a non-main thread.

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 528443] Re: Can't run the full test suite on windows

Sadly I didn't get enough time to debug with Parth; we need someone
experiencing the threading issue to dive deep; I am happy to help -
but don't experience it myself.

For starters, dropping into PDB when it happens, then using gdb to do a
apply all pystack
and
info threads

would be great.

-Rob

Revision history for this message
Vincent Ladeuil (vila) wrote :
Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
milestone: none → 2.3b1
status: Confirmed → Fix Released
Revision history for this message
Alexander Belchenko (bialix) wrote :

Vincent Ladeuil пишет:
> The full test suite now runs since http://babune.ladeuil.net:24842/job
> /selftest-windows/154/.

\o/

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.