Bug#1064716: ros-vcstools: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Sun Feb 25 19:48:38 GMT 2024


Source: ros-vcstools
Version: 0.1.42-9
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240224 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:305: python3.12 setup.py config 
> running config
> I: pybuild base:305: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:305: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/git_archive_all.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/git.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/vcs_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/vcs_abstraction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/hg.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/bzr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/svn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> copying src/vcstools/tar.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools
> I: pybuild base:305: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/git_archive_all.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/git.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/vcs_base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/vcs_abstraction.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/hg.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/bzr.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/__version__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/svn.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
> copying src/vcstools/tar.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:310: git config --global protocol.file.allow always
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest test
> ============================= test session starts ==============================
> platform linux -- Python 3.12.2, pytest-7.4.4, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> collected 148 items
> 
> test/test_base.py .......                                                [  4%]
> test/test_bzr.py EEEEEEEEEEEEEEEEEEE                                     [ 17%]
> test/test_code_format.py .                                               [ 18%]
> test/test_git.py ............................................            [ 47%]
> test/test_git_subm.py ............                                       [ 56%]
> test/test_hg.py ...........................                              [ 74%]
> test/test_svn.py ..........................                              [ 91%]
> test/test_tar.py .........                                               [ 97%]
> test/test_vcs_abstraction.py ...                                         [100%]
> 
> ==================================== ERRORS ====================================
> ________________ ERROR at setup of BzrClientTest.testDiffClean _________________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7fd7e8a17800>) }
> _______________ ERROR at setup of BzrClientTest.testStatusClean ________________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ________________ ERROR at setup of BzrClientTest.test_checkout _________________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientTest.test_checkout_dir_exists ___________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ____________ ERROR at setup of BzrClientTest.test_checkout_invalid _____________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> _________ ERROR at setup of BzrClientTest.test_checkout_invalid_update _________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> __ ERROR at setup of BzrClientTest.test_checkout_specific_version_and_update ___
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ________ ERROR at setup of BzrClientTest.test_get_environment_metadata _________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ______________ ERROR at setup of BzrClientTest.test_get_type_name ______________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientTest.test_get_url_by_reading ____________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientTest.test_get_url_nonexistant ___________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ________ ERROR at setup of BzrClientTest.test_url_matches_with_shortcut ________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ____ ERROR at setup of BzrClientTest.test_url_matches_with_shortcut_strings ____
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> _ ERROR at setup of BzrClientTest.test_url_matches_with_shortcut_strings_slashes _
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpnfahku4g/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientLogTest.test_get_log_defaults ___________
> 
> self = <class 'test.test_bzr.BzrClientLogTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:235: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp6c87q6og/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7f0c85713900>) }
> ____________ ERROR at setup of BzrClientLogTest.test_get_log_limit _____________
> 
> self = <class 'test.test_bzr.BzrClientLogTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:235: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp6c87q6og/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> _____________ ERROR at setup of BzrClientLogTest.test_get_log_path _____________
> 
> self = <class 'test.test_bzr.BzrClientLogTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:235: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp6c87q6og/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ______ ERROR at setup of BzrClientAffectedFilesTest.test_get_log_defaults ______
> 
> self = <class 'test.test_bzr.BzrClientAffectedFilesTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:266: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmprqwset6x/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7f8f0950f4c0>) }
> ________ ERROR at setup of BzrDiffStatClientTest.test_export_repository ________
> 
> self = <class 'test.test_bzr.BzrDiffStatClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         # setup a local repo once for all diff and status test
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:354: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp_bcpl9hz/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.12/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7faa61d174c0>) }
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
>   /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
>     EPOCH = datetime.datetime.utcfromtimestamp(0)
> 
> test/test_code_format.py:3
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_code_format.py:3: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
>     from pkg_resources import parse_version, get_distribution
> 
> test/test_git.py:397
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_git.py:397: SyntaxWarning: "is not" with 'tuple' literal. Did you mean "!="?
>     self.assertTrue(client._get_branch_parent() is not (None, None))
> 
> test/test_git_subm.py:569
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_git_subm.py:569: SyntaxWarning: invalid escape sequence '\ '
>     self.assertTrue('''\
> 
> test/test_git_subm.py:577
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_git_subm.py:577: SyntaxWarning: invalid escape sequence '\ '
>     self.assertTrue('''
> 
> test/test_svn.py:391
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_svn.py:391: SyntaxWarning: invalid escape sequence '\('
>     fixedline = re.sub('\(revision [0-9]+\)', '(working copy)', line)
> 
> test/test_svn.py:393
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/test_svn.py:393: SyntaxWarning: invalid escape sequence '\('
>     fixedline = re.sub('\(nonexistent\)', '(working copy)', fixedline)
> 
> .pybuild/cpython3_3.12/build/test/test_base.py::BaseTest::test_shell_command
> .pybuild/cpython3_3.12/build/test/test_base.py::BaseTest::test_shell_command
> .pybuild/cpython3_3.12/build/test/test_svn.py::SvnClientTest::testDiffClean
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools/common.py:346: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
>     logger.warn(message)
> 
> .pybuild/cpython3_3.12/build/test/test_git.py::GitClientDanglingCommitsTest::test_checkout_untracked_branch_and_update
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/vcstools/git.py:306: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
>     logger.warn("vcstools only handles branches tracking default remote,"
> 
> .pybuild/cpython3_3.12/build/test/test_git_subm.py::GitClientTest::test_export_branch
> .pybuild/cpython3_3.12/build/test/test_git_subm.py::GitClientTest::test_export_hash
> .pybuild/cpython3_3.12/build/test/test_git_subm.py::GitClientTest::test_export_master
> .pybuild/cpython3_3.12/build/test/test_git_subm.py::GitClientTest::test_export_relative
> .pybuild/cpython3_3.12/build/test/test_tar.py::TarClientTestLocal::test_checkout_version_compressed_local
> .pybuild/cpython3_3.12/build/test/test_tar.py::TarClientTestLocal::test_checkout_version_local
>   /usr/lib/python3.12/tarfile.py:2221: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
>     warnings.warn(
> 
> .pybuild/cpython3_3.12/build/test/test_tar.py::TarClientTest::test_checkout_dir_exists
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/test/mock_server.py:83: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
>     mock_server_thread.setDaemon(True)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR test/test_bzr.py::BzrClientTest::testDiffClean - subprocess.CalledProce...
> ERROR test/test_bzr.py::BzrClientTest::testStatusClean - subprocess.CalledPro...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout - subprocess.CalledProce...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_dir_exists - subprocess....
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_invalid - subprocess.Cal...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_invalid_update - subproc...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_specific_version_and_update
> ERROR test/test_bzr.py::BzrClientTest::test_get_environment_metadata - subpro...
> ERROR test/test_bzr.py::BzrClientTest::test_get_type_name - subprocess.Called...
> ERROR test/test_bzr.py::BzrClientTest::test_get_url_by_reading - subprocess.C...
> ERROR test/test_bzr.py::BzrClientTest::test_get_url_nonexistant - subprocess....
> ERROR test/test_bzr.py::BzrClientTest::test_url_matches_with_shortcut - subpr...
> ERROR test/test_bzr.py::BzrClientTest::test_url_matches_with_shortcut_strings
> ERROR test/test_bzr.py::BzrClientTest::test_url_matches_with_shortcut_strings_slashes
> ERROR test/test_bzr.py::BzrClientLogTest::test_get_log_defaults - subprocess....
> ERROR test/test_bzr.py::BzrClientLogTest::test_get_log_limit - subprocess.Cal...
> ERROR test/test_bzr.py::BzrClientLogTest::test_get_log_path - subprocess.Call...
> ERROR test/test_bzr.py::BzrClientAffectedFilesTest::test_get_log_defaults - s...
> ERROR test/test_bzr.py::BzrDiffStatClientTest::test_export_repository - subpr...
> =========== 129 passed, 18 warnings, 19 errors in 102.44s (0:01:42) ============
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m pytest test
> I: pybuild pybuild:310: git config --global protocol.file.allow always
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest test
> ============================= test session starts ==============================
> platform linux -- Python 3.11.8, pytest-7.4.4, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> collected 148 items
> 
> test/test_base.py .......                                                [  4%]
> test/test_bzr.py EEEEEEEEEEEEEEEEEEE                                     [ 17%]
> test/test_code_format.py .                                               [ 18%]
> test/test_git.py ............................................            [ 47%]
> test/test_git_subm.py ............                                       [ 56%]
> test/test_hg.py ...........................                              [ 74%]
> test/test_svn.py ..........................                              [ 91%]
> test/test_tar.py .........                                               [ 97%]
> test/test_vcs_abstraction.py ...                                         [100%]
> 
> ==================================== ERRORS ====================================
> ________________ ERROR at setup of BzrClientTest.testDiffClean _________________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7fa58cc0f840>) }
> _______________ ERROR at setup of BzrClientTest.testStatusClean ________________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ________________ ERROR at setup of BzrClientTest.test_checkout _________________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientTest.test_checkout_dir_exists ___________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ____________ ERROR at setup of BzrClientTest.test_checkout_invalid _____________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> _________ ERROR at setup of BzrClientTest.test_checkout_invalid_update _________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> __ ERROR at setup of BzrClientTest.test_checkout_specific_version_and_update ___
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ________ ERROR at setup of BzrClientTest.test_get_environment_metadata _________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ______________ ERROR at setup of BzrClientTest.test_get_type_name ______________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientTest.test_get_url_by_reading ____________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientTest.test_get_url_nonexistant ___________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ________ ERROR at setup of BzrClientTest.test_url_matches_with_shortcut ________
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ____ ERROR at setup of BzrClientTest.test_url_matches_with_shortcut_strings ____
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> _ ERROR at setup of BzrClientTest.test_url_matches_with_shortcut_strings_slashes _
> 
> self = <class 'test.test_bzr.BzrClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         self.root_directory = tempfile.mkdtemp()
>         self.directories = dict(setUp=self.root_directory)
>         self.remote_path = os.path.join(self.root_directory, "remote")
>         os.makedirs(self.remote_path)
>     
>         # create a "remote" repo
> >       subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> 
> test/test_bzr.py:60: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp1v0n_ytl/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ___________ ERROR at setup of BzrClientLogTest.test_get_log_defaults ___________
> 
> self = <class 'test.test_bzr.BzrClientLogTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:235: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp5k_y4ys9/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7fa190b13700>) }
> ____________ ERROR at setup of BzrClientLogTest.test_get_log_limit _____________
> 
> self = <class 'test.test_bzr.BzrClientLogTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:235: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp5k_y4ys9/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> _____________ ERROR at setup of BzrClientLogTest.test_get_log_path _____________
> 
> self = <class 'test.test_bzr.BzrClientLogTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:235: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmp5k_y4ys9/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ______ ERROR at setup of BzrClientAffectedFilesTest.test_get_log_defaults ______
> 
> self = <class 'test.test_bzr.BzrClientAffectedFilesTest'>
> 
>     @classmethod
>     def setUpClass(self):
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:266: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmplkw_3i37/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7f2a37c1bac0>) }
> ________ ERROR at setup of BzrDiffStatClientTest.test_export_repository ________
> 
> self = <class 'test.test_bzr.BzrDiffStatClientTest'>
> 
>     @classmethod
>     def setUpClass(self):
>         # setup a local repo once for all diff and status test
> >       BzrClientTestSetups.setUpClass()
> 
> test/test_bzr.py:354: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> test/test_bzr.py:60: in setUpClass
>     subprocess.check_call(["bzr", "init"], cwd=self.remote_path)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> popenargs = (['bzr', 'init'],), kwargs = {'cwd': '/tmp/tmpsc3i_cop/remote'}
> retcode = 1, cmd = ['bzr', 'init']
> 
>     def check_call(*popenargs, **kwargs):
>         """Run command with arguments.  Wait for command to complete.  If
>         the exit code was zero then return, otherwise raise
>         CalledProcessError.  The CalledProcessError object will have the
>         return code in the returncode attribute.
>     
>         The arguments are the same as for the call function.  Example:
>     
>         check_call(["ls", "-l"])
>         """
>         retcode = call(*popenargs, **kwargs)
>         if retcode:
>             cmd = kwargs.get("args")
>             if cmd is None:
>                 cmd = popenargs[0]
> >           raise CalledProcessError(retcode, cmd)
> E           subprocess.CalledProcessError: Command '['bzr', 'init']' returned non-zero exit status 1.
> 
> /usr/lib/python3.11/subprocess.py:413: CalledProcessError
> ---------------------------- Captured stderr setup -----------------------------
> Error: PyErr { type: <class 'ModuleNotFoundError'>, value: ModuleNotFoundError("No module named 'tzlocal'"), traceback: Some(<traceback object at 0x7f2c6b617a00>) }
> =============================== warnings summary ===============================
> test/test_code_format.py:3
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/test_code_format.py:3: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
>     from pkg_resources import parse_version, get_distribution
> 
> test/test_git.py:397
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/test_git.py:397: SyntaxWarning: "is not" with a literal. Did you mean "!="?
>     self.assertTrue(client._get_branch_parent() is not (None, None))
> 
> test/test_git_subm.py:569
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/test_git_subm.py:569: DeprecationWarning: invalid escape sequence '\ '
>     self.assertTrue('''\
> 
> test/test_git_subm.py:577
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/test_git_subm.py:577: DeprecationWarning: invalid escape sequence '\ '
>     self.assertTrue('''
> 
> test/test_svn.py:391
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/test_svn.py:391: DeprecationWarning: invalid escape sequence '\('
>     fixedline = re.sub('\(revision [0-9]+\)', '(working copy)', line)
> 
> test/test_svn.py:393
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/test_svn.py:393: DeprecationWarning: invalid escape sequence '\('
>     fixedline = re.sub('\(nonexistent\)', '(working copy)', fixedline)
> 
> .pybuild/cpython3_3.11/build/test/test_base.py::BaseTest::test_shell_command
> .pybuild/cpython3_3.11/build/test/test_base.py::BaseTest::test_shell_command
> .pybuild/cpython3_3.11/build/test/test_svn.py::SvnClientTest::testDiffClean
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools/common.py:346: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
>     logger.warn(message)
> 
> .pybuild/cpython3_3.11/build/test/test_git.py::GitClientDanglingCommitsTest::test_checkout_untracked_branch_and_update
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/vcstools/git.py:306: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
>     logger.warn("vcstools only handles branches tracking default remote,"
> 
> .pybuild/cpython3_3.11/build/test/test_tar.py::TarClientTest::test_checkout_dir_exists
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/test/mock_server.py:83: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
>     mock_server_thread.setDaemon(True)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR test/test_bzr.py::BzrClientTest::testDiffClean - subprocess.CalledProce...
> ERROR test/test_bzr.py::BzrClientTest::testStatusClean - subprocess.CalledPro...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout - subprocess.CalledProce...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_dir_exists - subprocess....
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_invalid - subprocess.Cal...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_invalid_update - subproc...
> ERROR test/test_bzr.py::BzrClientTest::test_checkout_specific_version_and_update
> ERROR test/test_bzr.py::BzrClientTest::test_get_environment_metadata - subpro...
> ERROR test/test_bzr.py::BzrClientTest::test_get_type_name - subprocess.Called...
> ERROR test/test_bzr.py::BzrClientTest::test_get_url_by_reading - subprocess.C...
> ERROR test/test_bzr.py::BzrClientTest::test_get_url_nonexistant - subprocess....
> ERROR test/test_bzr.py::BzrClientTest::test_url_matches_with_shortcut - subpr...
> ERROR test/test_bzr.py::BzrClientTest::test_url_matches_with_shortcut_strings
> ERROR test/test_bzr.py::BzrClientTest::test_url_matches_with_shortcut_strings_slashes
> ERROR test/test_bzr.py::BzrClientLogTest::test_get_log_defaults - subprocess....
> ERROR test/test_bzr.py::BzrClientLogTest::test_get_log_limit - subprocess.Cal...
> ERROR test/test_bzr.py::BzrClientLogTest::test_get_log_path - subprocess.Call...
> ERROR test/test_bzr.py::BzrClientAffectedFilesTest::test_get_log_defaults - s...
> ERROR test/test_bzr.py::BzrDiffStatClientTest::test_export_repository - subpr...
> =========== 129 passed, 11 warnings, 19 errors in 107.74s (0:01:47) ============
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/02/24/ros-vcstools_0.1.42-9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240224;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240224&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list