Submitter | mercurial-bugs@mercurial-scm.org |
---|---|
Date | April 19, 2017, 3:52 p.m. |
Message ID | <bug-5542-285@https.bz.mercurial-scm.org/> |
Download | mbox | patch |
Permalink | /patch/20266/ |
State | Not Applicable |
Headers | show |
Comments
Patch
--- /scratch/devel/py-mercurial/work/mercurial-4.1.2/tests/test-profile.t +++ /scratch/devel/py-mercurial/work/mercurial-4.1.2/tests/test-profile.t.err @@ -90,7 +90,7 @@ $ hg --profile --config profiling.statformat=json sleep 2>../out $ cat ../out - \[\[\d+.* (re) + [[-0.009999999999999995, [["/usr/pkg/lib/python2.7/threading.py", 340, "wait"], ["/usr/pkg/lib/python2.7/threading.py", 614, "wait"], ["/usr/pkg/lib/python2.7/threading.py ", 741, "start"],
https://bz.mercurial-scm.org/show_bug.cgi?id=5542 Bug ID: 5542 Summary: test-profile.t failure Product: Mercurial Version: 4.1.2 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 In 4.1.2, test-profile.t started failing: ```` ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/statprof.py", 312, "start"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/profiling.py", 92, "statp rofile"], ["/usr/pkg/lib/python2.7/contextlib.py", 17, "__enter__"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/profiling.py", 148, "profile"], ["/usr/pkg/lib/python2 .7/contextlib.py", 17, "__enter__"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/profiling.py", 173, "maybeprofile"], ["/usr/pkg/lib/python2.7/contextlib.py", 17, "__e nter__"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 758, "_dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 208, "_runcatch func"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/scmutil.py", 152, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 227, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 219, "_runcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 129, "dispatch"], ["/tmp /hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 63, "run"], ["/tmp/hgtests.6XMALx/install/bin/hg", 45, "<module>"]]], [0.009999999999999995, [["$TESTTMP/a/sleepext .py", 7, "sleep"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/util.py", 1051, "check"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 808, "<lambda >"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 819, "_runcommand"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 563, "runcommand"] , ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 811, "_dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 208, "_runcatchfunc"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/scmutil.py", 152, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 227, "callcatch"], ["/tmp/ hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 219, "_runcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 129, "dispatch"], ["/tmp/hgtests .6XMALx/install/lib/python/mercurial/dispatch.py", 63, "run"], ["/tmp/hgtests.6XMALx/install/bin/hg", 45, "<module>"]]], [0.009999999999999995, [["$TESTTMP/a/sleepext.py", 7, "sleep"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/util.py", 1051, "check"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 808, "<lambda>"], ["/ tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 819, "_runcommand"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 563, "runcommand"], ["/tmp /hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 811, "_dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 208, "_runcatchfunc"], ["/tmp/h gtests.6XMALx/install/lib/python/mercurial/scmutil.py", 152, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 227, "callcatch"], ["/tmp/hgtests. 6XMALx/install/lib/python/mercurial/dispatch.py", 219, "_runcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 129, "dispatch"], ["/tmp/hgtests.6XMALx/ install/lib/python/mercurial/dispatch.py", 63, "run"], ["/tmp/hgtests.6XMALx/install/bin/hg", 45, "<module>"]]], [0.009999999999999995, [["$TESTTMP/a/sleepext.py", 7, "sleep" ], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/util.py", 1051, "check"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 808, "<lambda>"], ["/tmp/hgte sts.6XMALx/install/lib/python/mercurial/dispatch.py", 819, "_runcommand"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 563, "runcommand"], ["/tmp/hgtests .6XMALx/install/lib/python/mercurial/dispatch.py", 811, "_dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 208, "_runcatchfunc"], ["/tmp/hgtests.6 XMALx/install/lib/python/mercurial/scmutil.py", 152, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 227, "callcatch"], ["/tmp/hgtests.6XMALx/i nstall/lib/python/mercurial/dispatch.py", 219, "_runcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 129, "dispatch"], ["/tmp/hgtests.6XMALx/install/ lib/python/mercurial/dispatch.py", 63, "run"], ["/tmp/hgtests.6XMALx/install/bin/hg", 45, "<module>"]]], [0.009999999999999995, [["$TESTTMP/a/sleepext.py", 7, "sleep"], ["/tm p/hgtests.6XMALx/install/lib/python/mercurial/util.py", 1051, "check"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 808, "<lambda>"], ["/tmp/hgtests.6XMA Lx/install/lib/python/mercurial/dispatch.py", 819, "_runcommand"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 563, "runcommand"], ["/tmp/hgtests.6XMALx/ install/lib/python/mercurial/dispatch.py", 811, "_dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 208, "_runcatchfunc"], ["/tmp/hgtests.6XMALx/in stall/lib/python/mercurial/scmutil.py", 152, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 227, "callcatch"], ["/tmp/hgtests.6XMALx/install/l ib/python/mercurial/dispatch.py", 219, "_runcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 129, "dispatch"], ["/tmp/hgtests.6XMALx/install/lib/pyth on/mercurial/dispatch.py", 63, "run"], ["/tmp/hgtests.6XMALx/install/bin/hg", 45, "<module>"]]], [0.009999999999999995, [["$TESTTMP/a/sleepext.py", 7, "sleep"], ["/tmp/hgtest s.6XMALx/install/lib/python/mercurial/util.py", 1051, "check"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 808, "<lambda>"], ["/tmp/hgtests.6XMALx/insta ll/lib/python/mercurial/dispatch.py", 819, "_runcommand"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 563, "runcommand"], ["/tmp/hgtests.6XMALx/install/ lib/python/mercurial/dispatch.py", 811, "_dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 208, "_runcatchfunc"], ["/tmp/hgtests.6XMALx/install/li b/python/mercurial/scmutil.py", 152, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 227, "callcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 219, "_runcatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 129, "dispatch"], ["/tmp/hgtests.6XMALx/install/lib/python/mercurial/dispatch.py", 63, "run"], ["/tmp/hgtests.6XMALx/install/bin/hg", 45, "<module>"]]]] statprof can be used as a standalone module ```` I don't know why a negative number is returned, but '\d' does not match '-' so that's probably one of the problems.