Comment 12 for bug 2003950

Revision history for this message
Colin Watson (cjwatson) wrote :

Traceback from brz.log:

Fri 2023-02-03 18:38:38 +0000
0.406 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.568 encoding stdout as sys.stdout encoding 'utf-8'
0.569 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.569 encoding stdout as sys.stdout encoding 'utf-8'
0.569 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.569 encoding stdout as sys.stdout encoding 'utf-8'
0.569 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.587 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.672 breezy version: 3.3.2
0.672 brz arguments: ['branch', 'lp:ubuntu-test-cases/server']
0.672 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.672 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
0.679 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
1.045 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
1.047 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
1.047 encoding stdout as sys.stdout encoding 'utf-8'
1.047 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
1.499 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
2.007 Transferred: 0kB (4.0kB/s r:0kB w:0kB)
2.008 Using Bazaar configuration directory (/home/cjwatson/.bazaar)
2.063 Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 545, in _get_tree_branch
    tree = self.open_workingtree()
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/remote.py", line 624, in open_workingtree
    raise NotLocalUrl(self.transport.base)
breezy.errors.NotLocalUrl: git+ssh://git.launchpad.net/ubuntu-test-cases/server is not a local path.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/git/remote.py", line 487, in fetch_pack
    result = self._client.fetch_pack(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dulwich/client.py", line 1152, in fetch_pack
    refs, server_capabilities = read_pkt_refs(proto.read_pkt_seq())
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dulwich/client.py", line 259, in read_pkt_refs
    raise GitProtocolError(ref.decode("utf-8", "replace"))
dulwich.errors.GitProtocolError: Repository does not exist.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1036, in exception_to_return_code
    return the_callable(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1228, in run_bzr
    ret = run(*run_argv)
          ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 779, in run_argv_aliases
    return self.run(**all_cmd_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/commands.py", line 804, in run
    return class_run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/builtins.py", line 1473, in run
    accelerator_tree, br_from = controldir.ControlDir.open_tree_or_branch(
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 887, in open_tree_or_branch
    return controldir._get_tree_branch(name=name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 548, in _get_tree_branch
    branch = self.open_branch(name=name)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/remote.py", line 612, in open_branch
    ref_chain, sha = self.get_refs_container().follow(ref)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/remote.py", line 635, in get_refs_container
    result = self.fetch_pack(lambda x: None, None,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/breezy/git/remote.py", line 498, in fetch_pack
    raise parse_git_error(self.transport.external_url(), e)
breezy.git.remote.RemoteGitError: Repository does not exist.

2.063 return code 3