Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flakey test: src/libvcs/sync/base.py::libvcs.sync.base.BaseSync.__init__ #447

Open
tony opened this issue Oct 22, 2023 · 0 comments
Open

Comments

@tony
Copy link
Member

tony commented Oct 22, 2023

Example job (2023-10-22)

https://github.com/vcs-python/libvcs/actions/runs/6603952048/job/17937582321#step:9:64

=================================== FAILURES ===================================
_________________ [doctest] libvcs.sync.base.BaseSync.__init__ _________________
072             ...         self.run(
073             ...             ['clone', '--progress', self.url, self.dir],
074             ...             log_in_real_time=True
075             ...         )
076             >>> r = Project(
077             ...     url=f'file://{create_git_remote_repo()}',
078             ...     dir=str(tmp_path),
079             ...     progress_callback=progress_cb
080             ... )
081             >>> r.obtain()
Differences (unified diff with -expected +actual):
    @@ -1,8 +1,12 @@
    -Cloning into '...'...
    -remote: Enumerating objects: ...
    -remote: Counting objects: ...% (...)...
    -...
    -remote: Total ... (delta 0), reused 0 (delta 0), pack-reused 0
    -...
    -Receiving objects: ...% (...)...
    -...
    +Cloning into '/tmp/pytest-of-runner/pytest-0/libvcs_sync_base_BaseSync___in0'...
    +remote: Enumerating objects: 3, done.        
    +remote: Counting objects:  33% (1/3)        
+remote: Counting objects:  66% (2/3)        
+remote: Counting objects: 100% (3/3)        
+remote: Counting objects: 100% (3/3), done.        
    +Receiving objects:  33% (1/3)
+Receiving objects:  66% (2/3)
+Receiving objects: 100% (3/3)
+Receiving objects: 100% (3/3), 219 bytes | 219.00 KiB/s, done.
    +remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0        
    +

/home/runner/work/libvcs/libvcs/src/libvcs/sync/base.py:81: DocTestFailure

---------- coverage: platform linux, python 3.9.18-final-0 -----------
Coverage XML written to file coverage.xml

=========================== short test summary info ============================
FAILED src/libvcs/sync/base.py::libvcs.sync.base.BaseSync.__init__
======================== 1 failed, 280 passed in [55](https://github.com/vcs-python/libvcs/actions/runs/6603952048/job/17937582321#step:9:56).[56](https://github.com/vcs-python/libvcs/actions/runs/6603952048/job/17937582321#step:9:57)s ========================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant