Skip to content

some tests fail on FreeBSD/Hurd due to lack of fsync() #541

Closed
@jelmer

Description

ERROR: test_simple (dulwich.tests.test_porcelain.PushTests)

Traceback (most recent call last):
File "dulwich/tests/test_porcelain.py", line 478, in test_simple
self.assertEqual(r_clone[b'HEAD'].id, self.repo[refs_path].id)
File "dulwich/repo.py", line 456, in getitem
return self.object_store[self.refs[name]]
File "dulwich/object_store.py", line 116, in getitem
type_num, uncomp = self.get_raw(sha)
File "dulwich/object_store.py", line 378, in get_raw
raise KeyError(hexsha)
KeyError: '1a588fa84ea70b3ca8e9d40d6a34c19dfb5a3e07'

======================================================================
ERROR: test_fetch_from_dulwich_issue_88_alternative (dulwich.tests.compat.test_web.DumbWebTestCase)

Traceback (most recent call last):
File "dulwich/tests/compat/server_utils.py", line 269, in test_fetch_from_dulwich_issue_88_alternative
b'02a14da1fc1fc13389bbf32f0af7d8899f2b2323').type_name)
File "dulwich/repo.py", line 337, in get_object
return self.object_store[sha]
File "dulwich/object_store.py", line 116, in getitem
type_num, uncomp = self.get_raw(sha)
File "dulwich/object_store.py", line 378, in get_raw
raise KeyError(hexsha)
KeyError: '02a14da1fc1fc13389bbf32f0af7d8899f2b2323'

(https://buildd.debian.org/status/fetch.php?pkg=dulwich&arch=kfreebsd-i386&ver=0.12.0-1&stamp=1452746352)

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions