Patchwork [Bug,6320] New: 5.4: test-doctest test failure

login
register
mail settings
Submitter mercurial-bugs@mercurial-scm.org
Date May 5, 2020, 8:10 a.m.
Message ID <bug-6320-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/46256/
State Not Applicable
Headers show

Comments

mercurial-bugs@mercurial-scm.org - May 5, 2020, 8:10 a.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=6320

            Bug ID: 6320
           Summary: 5.4: test-doctest test failure
           Product: Mercurial
           Version: 5.4rc0
          Hardware: All
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: tk@giga.or.at
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

I see a new test failure in 5.4 on NetBSD 9.99.59/amd64 with python 3.7.7:

+    output=stdout, stderr=stderr)
+subprocess.CalledProcessError: Command 'hg files --print0 "set:(**.py)"'
returned non-zero exit status 255.

ERROR: test-doctest.py output changed

Patch

--- /scratch/devel/py-mercurial/work/mercurial-5.4/tests/test-doctest.py.out
+++ /scratch/devel/py-mercurial/work/mercurial-5.4/tests/test-doctest.py.err
@@ -0,0 +1,9 @@ 
+abort: no repository found in '/scratch/devel/py-mercurial/work/mercurial-5.4'
(.hg not found)!
+Traceback (most recent call last):
+  File "/scratch/devel/py-mercurial/work/mercurial-5.4/tests/test-doctest.py",
line 76, in <module>
+    "hg files --print0 \"%s\"" % fileset, shell=True, cwd=cwd,
+  File "/usr/pkg/lib/python3.7/subprocess.py", line 411, in check_output
+    **kwargs).stdout
+  File "/usr/pkg/lib/python3.7/subprocess.py", line 512, in run