Comment 2 for bug 1548080

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1548080] [NEW] Revision 1165 creates "IndexError: list index out of range" on testing/run-tests

Not sure what your environment is, but 'tox -e py27' runs fine for me. I
run the entire tox suite before any commit/push.

On Sun, Feb 21, 2016 at 9:55 AM, Aaron Whitehouse <
<email address hidden>> wrote:

> Public bug reported:
>
> I just tried pulling down the latest code and did a ./run-test, but
> received an error "IndexError: list index out of range".
>
> Through a binary search, I found that the error was introduced in rev 1165:
>
> http://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1165
>
> If I pull that down and do ./run-tests, I receive the following error
> (whereas 1164 works as expected):
> $ ./run-tests
> GLOB sdist-make: /home/aaron/Programming/duplicity/dup_rev/setup.py
> Traceback (most recent call last):
> File "/usr/local/bin/tox", line 9, in <module>
> load_entry_point('tox==1.7.2', 'console_scripts', 'tox')()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 26, in main
> retcode = Session(config).runcommand()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 310, in runcommand
> return self.subcommand_test()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 442, in subcommand_test
> sdist_path = self.sdist()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 418, in sdist
> sdist_path = self._makesdist()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 334, in _makesdist
> return self.config.distdir.listdir()[0]
> IndexError: list index out of range
>
> Can other people run the tests properly, or has this been broken for
> everyone from 1165?
>
> ** Affects: duplicity
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1548080
>
> Title:
> Revision 1165 creates "IndexError: list index out of range" on testing
> /run-tests
>
> Status in Duplicity:
> New
>
> Bug description:
> I just tried pulling down the latest code and did a ./run-test, but
> received an error "IndexError: list index out of range".
>
> Through a binary search, I found that the error was introduced in rev
> 1165:
>
> http://bazaar.launchpad.net/~duplicity-team/duplicity/0.7-series/revision/1165
>
> If I pull that down and do ./run-tests, I receive the following error
> (whereas 1164 works as expected):
> $ ./run-tests
> GLOB sdist-make: /home/aaron/Programming/duplicity/dup_rev/setup.py
> Traceback (most recent call last):
> File "/usr/local/bin/tox", line 9, in <module>
> load_entry_point('tox==1.7.2', 'console_scripts', 'tox')()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 26, in main
> retcode = Session(config).runcommand()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 310, in runcommand
> return self.subcommand_test()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 442, in subcommand_test
> sdist_path = self.sdist()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 418, in sdist
> sdist_path = self._makesdist()
> File
> "/usr/local/lib/python2.7/dist-packages/tox-1.7.2-py2.7.egg/tox/_cmdline.py",
> line 334, in _makesdist
> return self.config.distdir.listdir()[0]
> IndexError: list index out of range
>
> Can other people run the tests properly, or has this been broken for
> everyone from 1165?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1548080/+subscriptions
>