[Commented On] D10884: ui: add a context manager for silencing the ui (pushbuffer+popbuffer)
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Tue Jun 22 15:18:31 UTC 2021
martinvonz added a comment.
In D10884#166644 <https://phab.mercurial-scm.org/D10884#166644>, @Alphare wrote:
> In D10884#166613 <https://phab.mercurial-scm.org/D10884#166613>, @martinvonz wrote:
>
>> In D10884#166556 <https://phab.mercurial-scm.org/D10884#166556>, @Alphare wrote:
>>
>>> This revision breaks `test-check-imports.t`, please follow-up.
>>
>> Hmm, sorry about that. I noticed that it was failing, but it has been failing since D10513 <https://phab.mercurial-scm.org/D10513> for me. This is how it fails for me:
>>
>> --- /usr/local/google/home/martinvonz/hg/tests/test-check-module-imports.t
>> +++ /usr/local/google/home/martinvonz/hg/tests/test-check-module-imports.t.err
>> @@ -42,3 +42,10 @@
>> > -X tests/test-imports-checker.t \
>> > -X tests/test-verify-repo-operations.py \
>> > | sed 's-\\-/-g' | "$PYTHON" "$import_checker" -
>> + tests/test-convert-bzr.t:117: imports not lexically sorted: breezy.bzr.bzrdir < sys
>> + tests/test-convert-bzr.t:117: stdlib import "breezy.bzr.bzrdir" follows local import: breezy
>> + tests/test-convert-bzr-ghosts.t:7: imports not lexically sorted: breezy.bzr.bzrdir < sys
>> + tests/test-convert-bzr-ghosts.t:7: stdlib import "breezy.bzr.bzrdir" follows local import: breezy
>> + tests/test-convert-bzr-treeroot.t:7: imports not lexically sorted: breezy.bzr.bzrdir < sys
>> + tests/test-convert-bzr-treeroot.t:7: stdlib import "breezy.bzr.bzrdir" follows local import: breezy
>> + [1]
>> ERROR: test-check-module-imports.t output changed
>>
>> Does it fail in some other way for you?
>
> Sorry, I was thinking about `test-check-pyflakes.t`, I got mixed up.
Ohh, turns out I didn't have pyflakes installed. I feel like I must have had that installed at some point after switching to Python 3. Ah, they're installed per minor version, so I must have lost it when I upgraded to Python 3.9. Anyway, I see the failure now, so I'll send a patch.
> However `test-check-imports.t` does not fail for me either locally or on the CI, that's weird, I'll look at the test a little to see what could be happening.
> Don't hesitate to mention new failures like these as soon as you see them so we can improve the CI, I'm always interested.
I'm used to having some tests fail so it doesn't bother me much :) FWIW, I also have this failure (I've seen it for months):
--- /usr/local/google/home/martinvonz/hg/tests/test-fuzz-targets.t
+++ /usr/local/google/home/martinvonz/hg/tests/test-fuzz-targets.t.err
@@ -43,6 +43,9 @@
#if no-clang-libfuzzer clang-6.0
$ CXX=clang++-6.0 havefuzz || exit 80
$ $MAKE -s clean all CC=clang-6.0 CXX=clang++-6.0 PYTHON_CONFIG="$PYTHON_CONFIG"
+ clang: error: unknown argument: '-ffile-prefix-map=/build/python3.9-TR50zI/python3.9-3.9.2=.'
+ gmake: *** [Makefile:35: pyutil.o] Error 1
+ [2]
#endif
#if no-clang-libfuzzer no-clang-6.0
$ exit 80
@@ -59,14 +62,7 @@
> ./$fuzzer dummy.cc > /dev/null 2>&1
> done
run bdiff_fuzzer...
- run dirs_fuzzer...
- run dirstate_fuzzer...
- run fm1readmarkers_fuzzer...
- run fncache_fuzzer...
- run jsonescapeu8fast_fuzzer...
- run manifest_fuzzer...
run mpatch_fuzzer...
- run revlog_fuzzer...
run xdiff_fuzzer...
Clean up.
ERROR: test-fuzz-targets.t output changed
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10884/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10884
To: martinvonz, durin42, #hg-reviewers, pulkit
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210622/76c1d8b2/attachment-0002.html>
More information about the Mercurial-patches
mailing list