Patchwork [Bug,6237] New: test-clone-uncompressed.t race condition

login
register
mail settings
Submitter mercurial-bugs@mercurial-scm.org
Date Dec. 7, 2019, 9:41 a.m.
Message ID <bug-6237-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/43632/
State Not Applicable
Headers show

Comments

mercurial-bugs@mercurial-scm.org - Dec. 7, 2019, 9:41 a.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=6237

            Bug ID: 6237
           Summary: test-clone-uncompressed.t race condition
           Product: Mercurial
           Version: 5.2rc0
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: jcristau@debian.org
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

I got a test-clone-uncompressed.t failure:

   000000000000

I guess that's what the "sleep 1" in there is meant to avoid, but it's not too
reliable.

Full log:
https://buildd.debian.org/status/fetch.php?pkg=mercurial&arch=mipsel&ver=5.2.1-1&stamp=1575682754&raw=0

Patch

--- /<<PKGBUILDDIR>>/tests/test-clone-uncompressed.t
+++ /<<PKGBUILDDIR>>/tests/test-clone-uncompressed.t#stream-bundle2.err
@@ -404,6 +404,8 @@ 
   $ echo >> repo/f1
   $ echo >> repo/f2
   $ hg -R repo ci -m "1"
+  waiting for lock on repository repo held by process '31769' on host
'mipsel-aql-01/effffffc'
+  got lock after 1 seconds
   $ wait
   $ hg -R clone id